Skip to content

Fix callable type hint in parallelism helper#1239

Open
GoparapukethaN wants to merge 1 commit into
huggingface:mainfrom
GoparapukethaN:fix/parallelism-callable-type
Open

Fix callable type hint in parallelism helper#1239
GoparapukethaN wants to merge 1 commit into
huggingface:mainfrom
GoparapukethaN:fix/parallelism-callable-type

Conversation

@GoparapukethaN
Copy link
Copy Markdown

Summary

  • replace the invalid builtin callable type annotation with collections.abc.Callable
  • update the related docstring type label

Verification

  • python3 -m py_compile src/lighteval/utils/parallelism.py
  • ruff check src/lighteval/utils/parallelism.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant