Other
PyTorch
Transformers
English
wheels
python3.10
cuda
machine-learning
deep-learning
dependency-management
Run this model with HF Jobs
Run RDHub/pytorch_python_310 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/RDHub/pytorch_python_310. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/RDHub/pytorch_python_310 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use RDHub/pytorch_python_310 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RDHub/pytorch_python_310 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RDHub/pytorch_python_310", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README with CUDA library setup instructions and correct NumPy version
Browse files24 unmodified lines2526272829303121 unmodified lines53545556575859606162633 unmodified lines676869707172739 unmodified lines838485868788899024 unmodified lines- **Python:** 3.10 compatible- **PyTorch:** 2.7.1 + CUDA 12.6- **Transformers:** 4.52.3- **NumPy:** 1.26.4 (compatible version)- **SciPy:** 1.15.2- **All Dependencies:** 80+ wheels, fully tested together21 unmodified lines# 1. Download repositorygit clone https://huggingface.co/RDHub/pytorch_python_310# 2. Install everythingcd pytorch_python_310pip install lib_wheel/*.whl# 3. Test (optional)python -c "import torch; print(f'PyTorch {torch.__version__} - CUDA: {torch.cuda.is_available()}')"```3 unmodified lines|---------|---------|---------|| PyTorch | 2.7.1 | 3.10 || Transformers | 4.52.3 | 3.10 || NumPy | 1.26.4 | 3.10 || CUDA | 12.6 | - |## 🎯 Use Cases9 unmodified lines- **No dependency conflicts** - all versions tested together- **Offline ready** - no internet needed after download- **CUDA included** - ready for GPU training- **Linux x86_64** compatible---24 unmodified lines2526272829303121 unmodified lines5354555657585960616263646566676869707172737475763 unmodified lines808182838485869 unmodified lines9697989910010110210310424 unmodified lines- **Python:** 3.10 compatible- **PyTorch:** 2.7.1 + CUDA 12.6- **Transformers:** 4.52.3- **NumPy:** 2.0.2 (compatible version)- **SciPy:** 1.15.2- **All Dependencies:** 80+ wheels, fully tested together21 unmodified lines# 1. Download repositorygit clone https://huggingface.co/RDHub/pytorch_python_310# 2. Install everything with requirements file for correct versionscd pytorch_python_310pip install -r lib_wheel/requirements.txt --find-links lib_wheel --no-index# 3. Set up CUDA libraries (for conda environments)# Create activation script for automatic library path setupmkdir -p $CONDA_PREFIX/etc/conda/activate.dcat > $CONDA_PREFIX/etc/conda/activate.d/pytorch_cuda_libs.sh << 'EOF'#!/bin/bash# Set up NVIDIA CUDA library paths for PyTorchNVIDIA_LIB_PATH=$(find $CONDA_PREFIX -path "*/nvidia/*/lib" -type d 2>/dev/null | tr '\n' ':')CUSPARSELT_LIB_PATH=$(find $CONDA_PREFIX -path "*/cusparselt/lib" -type d 2>/dev/null | tr '\n' ':')export LD_LIBRARY_PATH="${NVIDIA_LIB_PATH}${CUSPARSELT_LIB_PATH}${LD_LIBRARY_PATH}"EOFchmod +x $CONDA_PREFIX/etc/conda/activate.d/pytorch_cuda_libs.sh# 4. Reactivate environment and testconda deactivate && conda activate your_env_namepython -c "import torch; print(f'PyTorch {torch.__version__} - CUDA: {torch.cuda.is_available()}')"```3 unmodified lines|---------|---------|---------|| PyTorch | 2.7.1 | 3.10 || Transformers | 4.52.3 | 3.10 || NumPy | 2.0.2 | 3.10 || CUDA | 12.6 | - |## 🎯 Use Cases9 unmodified lines- **No dependency conflicts** - all versions tested together- **Offline ready** - no internet needed after download- **CUDA included** - ready for GPU training with library path setup- **Linux x86_64** compatible- **Requires conda environment** - for automatic CUDA library path management---
README.md+21-7