Skip to content

Instantly share code, notes, and snippets.

@jtrive84
Last active March 11, 2026 17:34
Show Gist options
  • Select an option

  • Save jtrive84/bc9dad844ab927357f0c35ea71f33963 to your computer and use it in GitHub Desktop.

Select an option

Save jtrive84/bc9dad844ab927357f0c35ea71f33963 to your computer and use it in GitHub Desktop.
GPU-compatible requirements file
--index-url https://download.pytorch.org/whl/cu124
--extra-index-url https://pypi.org/simple
# Core numeric / ML stack
numpy==2.4.2
pandas==3.0.1
scikit-learn==1.8.0
scipy==1.17.1
# PyTorch (GPU via cu124 index)
torch==2.6.0
torchvision==0.21.0
# Hugging Face stack (Trainer-capable)
transformers==5.1.0
accelerate==1.13.0
datasets==4.6.1
evaluate==0.4.6
# Must match Transformers v5 requirements
tokenizers==0.22.2
huggingface-hub==1.5.0
# Utilities
tqdm==4.67.3
pyarrow==23.0.1
sentencepiece==0.2.1
# Additional
matplotlib==3.10.8
wordcloud==1.9.6
beautifulsoup4==4.14.3
requests==2.32.5
contextily==1.7.0
geopandas==1.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment