Skip to content

LLama 3.1 toml package missing #821

@sean-smith

Description

@sean-smith

The Dockerfile is missing toml package, here's a stack trace when I try and run run_llama31.sh:

$ bash run_llama31.sh
Traceback (most recent call last):
  File "/workspace/llama31/pretrain_llama31.py", line 18, in <module>
    from nemo.collections import llm
  File "/opt/NeMo/nemo/collections/llm/__init__.py", line 42, in <module>
    from nemo.collections.llm.gpt.data.api import dolly, hf_dataset, mock, squad
  File "/opt/NeMo/nemo/collections/llm/gpt/data/api.py", line 16, in <module>
    import nemo_run as run
  File "/root/.local/lib/python3.10/site-packages/nemo_run/__init__.py", line 28, in <module>
    from nemo_run.help import help
  File "/root/.local/lib/python3.10/site-packages/nemo_run/help.py", line 30, in <module>
    from nemo_run.cli.api import _load_entrypoints, _load_workspace
  File "/root/.local/lib/python3.10/site-packages/nemo_run/cli/__init__.py", line 16, in <module>
    from nemo_run.cli.api import (
  File "/root/.local/lib/python3.10/site-packages/nemo_run/cli/api.py", line 70, in <module>
    from nemo_run.cli.config import ConfigSerializer
  File "/root/.local/lib/python3.10/site-packages/nemo_run/cli/config.py", line 18, in <module>
    import toml
ModuleNotFoundError: No module named 'toml'

I'll submit a PR to fix. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions