Skip to content

[PICOTRON] Running create_config.py fails #816

@paragao

Description

@paragao

When following the instructions on README.md, running python create_config.py fails, even after successful login to the HF CLI. The configuration file assumes the Python libraries exists on the system. There is no requirements.txt file to install the missing dependencies.

Action required

  • improve the README.md, explaining all steps required to run create_config.py
  • add a requirements.txt file to install all missing libraries
  • add instructions to run that on a Python Virtual Environment

Output of the failed command

[ec2-user@x picotron]$ python create_config.py
Traceback (most recent call last):
  File "/home/ec2-user/awsome-distributed-training/3.test_cases/pytorch/picotron/create_config.py", line 7, in <module>
    from transformers import AutoConfig
ModuleNotFoundError: No module named 'transformers'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions