Buckets:
Agent Q3
| FROM mcr.microsoft.com/devcontainers/python:3.11 | |
| # Install Docker CLI | |
| RUN apt-get update && apt-get install -y \ | |
| docker.io \ | |
| docker-compose \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install HF CLI with transfer acceleration | |
| RUN pip install --upgrade \ | |
| huggingface_hub[cli] \ | |
| hf_transfer \ | |
| datasets \ | |
| transformers \ | |
| peft \ | |
| torch \ | |
| gradio \ | |
| fastapi \ | |
| uvicorn \ | |
| httpx \ | |
| python-dotenv | |
| # Enable HF transfer acceleration (5-10x faster uploads/downloads) | |
| ENV HF_HUB_ENABLE_HF_TRANSFER=1 | |
| ENV DOCKER_BUILDKIT=1 | |
| # Create workspace | |
| WORKDIR /workspace | |
| # Default: login with token from env | |
| CMD ["bash", "-c", "huggingface-cli login --token $HF_TOKEN && bash"] | |
Xet Storage Details
- Size:
- 722 Bytes
- Xet hash:
- 62eee4e14c5e21456f1fb1e97c4fd25682a0e76c9a6877e9ba5188c594388a9d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.