- OS: Windows or Linux
- GPU: NVIDIA GPU with CUDA support
- Python: 3.10+
- PyTorch: 2.0+
- CUDA: 11.8+
- OS: Windows, Linux, or macOS
- Python: 3.8+
- Hardware: CPU or GPU
git clone https://github.com/SmallDoges/small-doge.git
cd small-doge
pip install -e .docker pull nvcr.io/nvidia/pytorch:24.12-py3
docker run --privileged --gpus all -it --name SmallDoge \
--shm-size=32g -p 8888:8888 -p 6006:6006 \
--ulimit memlock=-1 --ulimit stack=67108864 \
-v <your_code_path>:/workspace \
-v <your_datasets_path>:/workspace/datasets \
nvcr.io/nvidia/pytorch:24.12-py3For interactive model usage with web interface:
# Install with WebUI support
pip install -e '.[webui]'
# Or install only backend dependencies
pip install -e '.[webui-backend]'
# Or install only frontend dependencies
pip install -e '.[webui-frontend]'The installation will automatically install these core packages:
transformers: Core framework for model operationsdatasets: Dataset handling and processingsentencepiece: Tokenization supportboto3: AWS S3 dataset downloadsaccelerate: Distributed training supporttrl: Reinforcement learning fine-tuningtorch: Deep learning framework
Verify your installation:
import small_doge
from transformers import AutoTokenizer, AutoModelForCausalLM
# Test model loading
model_name = "SmallDoge/Doge-20M"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
print("✅ Installation successful!")-
CUDA Version Mismatch
pip install torch --index-url https://download.pytorch.org/whl/cu118
-
Permission Errors
pip install -e . --user -
Memory Issues
- Ensure adequate RAM (8GB+ recommended)
- For training, 16GB+ GPU memory recommended
- 📖 Check our documentation
- 💬 Join our Discord community
- 🐛 Report issues on GitHub