mlfoundations / mlfoundations/datacomp

Problems in run train.py

Open
#85 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
792
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hello, I just got a problem.
When I run: [torchrun --nproc_per_node 4 train.py --scale small --data_dir ./Data --output_dir ./Results/ --exp_name clip_score_train_results],
I was told that: [from training.distributed import world_info_from_env
ModuleNotFoundError: No module named 'training'],
But I use pip or conda, I still can not have the module.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with train.py and the training.distributed import, then reproduce the reported torchrun command to confirm the ModuleNotFoundError. Check how this repository expects the training module to be made available. Done means the command can import training and proceed past startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.