Overview
- Full name
docker.io/huggingface/transformers-pytorch-gpu- Registry
- docker.io
- Namespace
- huggingface
- Repository
- transformers-pytorch-gpu
- Cached tags
- 76
- Last synced
- 07/05/2026, 01:55 PM
Introduction
Hugging Face Transformers PyTorch GPU 镜像,预装 transformers/torch/CUDA,NLP/CV 模型微调与 GPU 推理开发环境。
Details
huggingface/transformers-pytorch-gpu 提供 Hugging Face transformers 与 PyTorch CUDA 预装环境,覆盖主流 NLP/CV 模型加载与训练。定位为 GPU ML 开发/推理基础镜像,需 NVIDIA GPU 与 nvidia-container-runtime;BERT/GPT 微调实验、transformers pipeline 推理或 CI GPU 测试 Job。
快速启动
docker run --rm --gpus all \
docker.io/huggingface/transformers-pytorch-gpu:latest \
python -c "import transformers; print(transformers.__version__)"
推荐实践
docker run -it --gpus all \
-v /data/models:/models \
-v $(pwd):/workspace \
docker.io/huggingface/transformers-pytorch-gpu:4.44.0 \
python train.py
核心参数说明
--gpus all— NVIDIA GPU 必需-v .../models:...— 模型权重缓存- CUDA — 需匹配宿主机驱动版本
- 定位 — 开发/训练 Job 非长期 API
Latest tags (20)
View all 76 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/huggingface/transformers-pytorch-gpu :latest | linux/amd64 | 2025/10/25 08:50 | 12.9 GB | sha256:5273b08b13dd… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.41.2 | linux/amd64 | 2024/05/31 01:51 | 8.8 GB | sha256:dba42187fd78… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.41.3 | linux/amd64 | 2024/05/31 01:32 | 8.8 GB | sha256:dba42187fd78… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.41.1 | linux/amd64 | 2024/05/23 04:41 | 8.8 GB | sha256:dba42187fd78… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.41.0 | linux/amd64 | 2024/05/18 00:08 | 8.8 GB | sha256:dba42187fd78… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.35.2 | linux/amd64 | 2023/11/16 00:44 | 8.3 GB | sha256:a28ec52d9d98… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.35.1 | linux/amd64 | 2023/11/14 23:11 | 8.3 GB | sha256:a28ec52d9d98… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.35.0 | linux/amd64 | 2023/11/03 00:57 | 8.3 GB | sha256:6d4919c771e8… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.29.2 | linux/amd64 | 2023/05/17 03:26 | 8.0 GB | sha256:ef3d8bfb023e… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.29.1 | linux/amd64 | 2023/05/12 04:35 | 8.0 GB | sha256:ef3d8bfb023e… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.29.0 | linux/amd64 | 2023/05/11 00:20 | 8.0 GB | sha256:ef3d8bfb023e… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.28.1 | linux/amd64 | 2023/04/15 01:14 | 8.0 GB | sha256:ef3d8bfb023e… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.27.4 | linux/amd64 | 2023/03/30 01:15 | 8.0 GB | sha256:4bdf9577e500… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.27.3 | linux/amd64 | 2023/03/24 03:06 | 8.0 GB | sha256:4bdf9577e500… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.27.2 | linux/amd64 | 2023/03/21 00:17 | 8.0 GB | sha256:4bdf9577e500… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.27.1 | linux/amd64 | 2023/03/16 03:54 | 8.0 GB | sha256:4bdf9577e500… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.27.0 | linux/amd64 | 2023/03/15 22:04 | 8.0 GB | sha256:4bdf9577e500… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.23.1 | linux/amd64 | 2022/10/11 20:06 | 6.7 GB | sha256:d564ba7b4130… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.23.0 | linux/amd64 | 2022/10/11 04:57 | 6.7 GB | sha256:d564ba7b4130… | |||
docker.io/huggingface/transformers-pytorch-gpu :4.22.2 | linux/amd64 | 2022/09/27 22:58 | 6.7 GB | sha256:d564ba7b4130… |