facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.46k stars 932 forks source link

Is current pytorch-lightning version requirement needed? #1218

Closed HireTheHero closed 2 years ago

HireTheHero commented 2 years ago

❓ Questions and Help

Question

ShiyaoMa commented 2 years ago

I also encountered this problem, could you tell me how to solve this problem?

HireTheHero commented 2 years ago

In my case I just modified requirements.txt like this

torch>=1.6.0, <=1.9.0
torchvision>=0.7.0, <=0.10.0
numpy>=1.16.6, <=1.21.4
tqdm>=4.43.0,<4.50.0
torchtext==0.5.0
GitPython==3.1.0
requests==2.23.0
fasttext==0.9.1
nltk==3.4.5
editdistance==0.5.3
transformers>=3.4.0, <=4.10.1
sklearn==0.0
omegaconf>=2.0.6, <=2.1
lmdb==0.98
termcolor==1.1.0
iopath==0.1.8
datasets==1.2.1
matplotlib==3.3.4
pycocotools==2.0.2
ftfy==5.8
pytorch-lightning
# @ git+https://github.com/PyTorchLightning/pytorch-lightning@86b177ebe
torchaudio>=0.6.0, <=0.9.0
psutil
pillow==8.3.1
apsdehal commented 2 years ago

Yeah, feel free to update requirements.txt to latest version of pytorch lightning. It is required by datasets as of now. @ scheme is known to not work with pip install -e ..

HireTheHero commented 2 years ago

Understood, thanks!