nanoGPT
nanoGPT copied to clipboard
add requirements file?
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
cool @hay . Any PR ?
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 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.