Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:AttributeError: module 'torchtune.utils' has no attribute 'metric_logging' #579

Open
zhoufy20 opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zhoufy20
Copy link

zhoufy20 commented Nov 17, 2024

AttributeError: module 'torchtune.utils' has no attribute 'metric_logging'

How can I solve this problem? Thanks a lot.

DEBUG:torchtune.utils._logging:Setting manual seed to local seed 3979603101. Local seed is seed + rank = 3979603101 + 0
Traceback (most recent call last):
  File "/home/deroot/miniconda3/envs/llama/lib/python3.12/site-packages/torchtune/config/_utils.py", line 83, in _get_component_from_path
    obj = getattr(obj, part)
          ^^^^^^^^^^^^^^^^^^
AttributeError: module 'torchtune.utils' has no attribute 'metric_logging'

site-packages/torchtune/config/_utils.py", line 94, in _get_component_from_path
    raise InstantiationError(
torchtune.config._errors.InstantiationError: Error loading 'torchtune.utils.metric_logging.WandBLogger':
ModuleNotFoundError("No module named 'torchtune.utils.metric_logging'")
Are you sure that 'metric_logging' is importable from module 'torchtune.utils'?
@zhoufy20 zhoufy20 added the bug Something isn't working label Nov 17, 2024
@zhoufy20 zhoufy20 changed the title [Bug]: [Bug]:AttributeError: module 'torchtune.utils' has no attribute 'metric_logging' Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants