nanoGPT icon indicating copy to clipboard operation
nanoGPT copied to clipboard

add requirements file?

Open US579 opened this issue 2 years ago • 4 comments

US579 avatar Feb 04 '23 05:02 US579

Here's what i've been using

blobfile==2.0.1
certifi==2022.12.7
charset-normalizer==3.0.1
filelock==3.9.0
idna==3.4
lxml==4.9.2
numpy==1.24.2
pycryptodomex==3.17
pytz==2022.7.1
regex==2022.10.31
requests==2.28.2
tiktoken==0.2.0
tokenizers==0.13.2
torch==1.13.1
typing_extensions==4.4.0
urllib3==1.26.14

hay avatar Feb 10 '23 15:02 hay

cool @hay . Any PR ?

WilliamTambellini avatar Feb 17 '23 19:02 WilliamTambellini

hum:

compiling the model... (takes a ~minute)
Traceback (most recent call last):
  File "train.py", line 197, in <module>
    model = torch.compile(model) # requires PyTorch 2.0
AttributeError: module 'torch' has no attribute 'compile'

master probably now requires pytorch 2 unless disabling compile ...

WilliamTambellini avatar Feb 17 '23 20:02 WilliamTambellini

@WilliamTambellini i'm not sure if just doing a pip freeze is enough for a requirements.txt. FWIW i'm using Python 3.10 on a Mac M1.

hay avatar Feb 20 '23 09:02 hay