You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
With deepspeed==0.15.4, mypy==1.14.1 reports deepspeed is untyped:
error: Skipping analyzing "deepspeed.utils": module is installed, but missing library stubs or py.typed marker [import-untyped]
from deepspeed.utils import logger
^
Skipping analyzing "deepspeed.checkpoint.constants": module is installed, but missing library stubs or py.typed marker [import-untyped]
from deepspeed.checkpoint.constants import (
^
This is because deepspeed doesn't have either type hints or a py.typed marker file.
Describe the solution you'd like
Adding type hints and a py.typed marker file so type checkers can inspect deepspeed to prevent TypeError-related bugs.
Describe alternatives you've considered
A workaround is to disable this error via mypy configuration:
Hi @jamesbraza - we can add this to our backlog of items, this seems like a reasonable thing for us to provide. If you have any interest in contributing on this, we can provide PR review as well.
Is your feature request related to a problem? Please describe.
With
deepspeed==0.15.4
,mypy==1.14.1
reportsdeepspeed
is untyped:This is because
deepspeed
doesn't have either type hints or apy.typed
marker file.Describe the solution you'd like
Adding type hints and a
py.typed
marker file so type checkers can inspectdeepspeed
to preventTypeError
-related bugs.Describe alternatives you've considered
A workaround is to disable this error via
mypy
configuration:Additional context
N/a
The text was updated successfully, but these errors were encountered: