专属
文档
插件
助手
邀请
顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像

交易
充值流量我的订单

文档

工具

功能
提交工单页面收录

帮助
轩辕镜像免费版

其他
关于我们网站地图
热门搜索:
intel-extension-for-pytorch

intel/intel-extension-for-pytorch

intel

Intel® Extension for PyTorch*扩展PyTorch,通过最新功能优化在Intel硬件上提供额外性能提升,CPU利用AMX、AVX-512及VNNI指令集,GPU支持简易加速。

15 次收藏下载次数: 0状态:社区镜像维护者:intel仓库类型:镜像最近更新:9 个月前
让 AI 帮你使用轩辕镜像? · 展开查看说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

轩辕镜像,让镜像更快,让人生更轻。点击查看
DockerHub 官方简介
轩辕镜像中文简介
标签列表
镜像标签列表与下载命令
轩辕镜像,让镜像更快,让人生更轻。点击查看

Intel® Extension for Pytorch*

https://intel.github.io/intel-extension-for-pytorch/ extends PyTorch* with up-to-date feature optimizations for an extra performance boost on Intel hardware.

On Intel CPUs optimizations take advantage of the following instuction sets:

  • Intel® Advanced Matrix Extensions (Intel® AMX)
  • Intel® Advanced Vector Extensions 512 (Intel® AVX-512)
  • Vector Neural Network Instructions (VNNI)

On Intel GPUs Intel® Extension for PyTorch* provides easy GPU acceleration through the PyTorch* xpu device. The following Intel GPUs are supported:

  • Intel® Arc™ A-Series Graphics
  • Intel® Data Center GPU Flex Series
  • Intel® Data Center GPU Max Series

Images available here start with the https://hub.docker.com/_/ubuntu base image with https://intel.github.io/intel-extension-for-pytorch/ built for different use cases as well as some additional software. The https://github.com/intel/ai-containers/blob/main/python/Dockerfile is used to generate The images below at https://github.com/intel/ai-containers.

Note: There are two dockerhub repositories (intel/intel-extension-for-pytorch and intel/intel-optimized-pytorch) that are routinely updated with the latest images, however, some legacy images have not be published to both repositories.

XPU images

The images below include support for both CPU and GPU optimizations:

Tag(s)PytorchIPEXDriverDockerfile
2.8.10-xpu-pip-base,2.8.10-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.8.10%2Bxpu[1099]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.10-xpu-pip-base,2.7.10-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.7.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.10-xpu-pip-base,2.6.10-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.6.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.10-xpu-pip-base,2.5.10-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.5.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.10%2Bxpu[1057]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.110-xpu-pip-base,2.3.110-xpuhttps://github.com/pytorch/pytorch/tree/v2.3.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.3.110%2Bxpu[950]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.40-xpu-pip-base,2.1.40-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.40%2Bxpu[914]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.30-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.30%2Bxpu[803]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.20-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.20%2Bxpu[803]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.10-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.10%2Bxpu[736]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
xpu-flex-2.0.110-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.0.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.0.110%2Bxpu[647]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile

bash
docker run -it --rm \
    --device /dev/dri \
    -v /dev/dri/by-path:/dev/dri/by-path \
    --ipc=host \
    intel/intel-extension-for-pytorch:2.8.10-xpu

The images below additionally include Jupyter Notebook server:

Tag(s)PytorchIPEXDriverJupyter PortDockerfile
2.8.10-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.8.10%2Bxpu[1099]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.10-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.7.10%2Bxpu[1077]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.10-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.6.10%2Bxpu[1077]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.10-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.5.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.10%2Bxpu[1057]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.110-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/tree/v2.3.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.3.110%2Bxpu[950]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.40-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.40%2Bxpu[914]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.20-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.20%2Bxpu[803]8888https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.10-xpu-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.10%2Bxpu[736]8888https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile

Run the XPU Jupyter Container

bash
docker run -it --rm \
    -p 8888:8888 \
    --device /dev/dri \
    -v /dev/dri/by-path:/dev/dri/by-path \
    intel/intel-extension-for-pytorch:2.8.10-xpu-pip-jupyter

After running the command above, copy the URL (something like http://127.0.0.1:$PORT/?token=***) into your browser to access the notebook server.

CPU only images

The images below are built only with CPU optimizations (GPU acceleration support was deliberately excluded):

Tag(s)PytorchIPEXDockerfile
2.8.0-pip-base, latesthttps://github.com/pytorch/pytorch/releases/tag/v2.8.0[v2.8.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.6.0[v2.6.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.5.0[v2.5.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.4.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0[v2.1.0+cpu]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
2.0.0-pip-basehttps://github.com/pytorch/pytorch/releases/tag/v2.0.0[v2.0.0+cpu]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile

Run the CPU Container

bash
docker run -it --rm intel/intel-extension-for-pytorch:latest

The images below additionally include Jupyter Notebook server:

Tag(s)PytorchIPEXDockerfile
2.8.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0[v2.8.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0[v2.6.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.5.0[v2.5.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.4.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0[v2.1.0+cpu]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
2.0.0-pip-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.0.0[v2.0.0+cpu]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile
bash
docker run -it --rm \
    -p 8888:8888 \
    -v $PWD/workspace:/workspace \
    -w /workspace \
    intel/intel-extension-for-pytorch:2.8.0-pip-jupyter

After running the command above, copy the URL (something like http://127.0.0.1:$PORT/?token=***) into your browser to access the notebook server.


The images below additionally include Intel® oneAPI Collective Communications Library (oneCCL) and Neural Compressor (https://github.com/intel/neural-compressor):

Tag(s)PytorchIPEXoneCCLINCDockerfile
2.4.0-pip-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu][v2.4.0][ccl-v2.4.0]https://github.com/https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-pip-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu][v2.3.0][ccl-v2.3.0][v2.6]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-pip-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.2.2[v2.2.0+cpu][v2.2.0][ccl-v2.2.0][v2.6]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.100-pip-mulitnodehttps://github.com/pytorch/pytorch/releases/tag/v2.1.2[v2.1.100+cpu][v2.1.0][ccl-v2.1.0][v2.6]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.0.100-pip-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.0.1[v2.0.100+cpu][v2.0.0][ccl-v2.0.0][v2.6]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile

[!NOTE] Passwordless SSH connection is also enabled in the image, but the container does not contain any SSH ID keys. The user needs to mount those keys at /root/.ssh/id_rsa and /etc/ssh/authorized_keys.

[!TIP] Before mounting any keys, modify the permissions of those files with chmod 600 authorized_keys; chmod 600 id_rsa to grant read access for the default user account.

Setup and Run IPEX Multi-Node Container

[!IMPORTANT] Maintainence, Bug Fixes, and Releases of https://intel.github.io/intel-extension-for-pytorch/ Multi-Node Container for Xeon Processors have ceased development. The last supported version is 2.4.0. For future releases, please use the https://intel.github.io/intel-extension-for-pytorch/ Multi-Node Container for XPU.

Some additional assembly is required to utilize this container with OpenSSH. To perform any kind of DDP (Distributed Data Parallel) execution, containers are assigned the roles of launcher and worker respectively:

SSH Server (Worker)

  1. Authorized Keys : /etc/ssh/authorized_keys

SSH Client (Launcher)

  1. Private User Key : /root/.ssh/id_rsa

To add these files correctly please follow the steps described below.

  1. Setup ID Keys

    You can use the commands provided below to generate the identity keys for OpenSSH.

    bash
    ssh-keygen -q -N "" -t rsa -b 4096 -f ./id_rsa
    touch authorized_keys
    cat id_rsa.pub >> authorized_keys
    
  2. Configure the permissions and ownership for all of the files you have created so far

    bash
    chmod 600 id_rsa config authorized_keys
    chown root:root id_rsa.pub id_rsa config authorized_keys
    
  3. Create a hostfile for torchrun or ipexrun. (Optional)

    txt
    Host host1
        HostName <Hostname of host1>
        IdentitiesOnly yes
        IdentityFile ~/.root/id_rsa
        Port <SSH Port>
    Host host2
        HostName <Hostname of host2>
        IdentitiesOnly yes
        IdentityFile ~/.root/id_rsa
        Port <SSH Port>
    ...
    
  4. Configure Intel® oneAPI Collective Communications Library in your python script

    python
    import oneccl_bindings_for_pytorch
    import os
    
    dist.init_process_group(
        backend="ccl",
        init_method="tcp://127.0.0.1:3022",
        world_size=int(os.environ.get("WORLD_SIZE")),
        rank=int(os.environ.get("RANK")),
    )
    
  5. Now start the workers and execute DDP on the launcher

    1. Worker run command:

      bash
      docker run -it --rm \
          --net=host \
          -v $PWD/authorized_keys:/etc/ssh/authorized_keys \
          -v $PWD/tests:/workspace/tests \
          -w /workspace \
          intel/intel-extension-for-pytorch:2.4.0-pip-multinode \
          bash -c '/usr/sbin/sshd -D'
      
    2. Launcher run command:

      bash
      docker run -it --rm \
          --net=host \
          -v $PWD/id_rsa:/root/.ssh/id_rsa \
          -v $PWD/tests:/workspace/tests \
          -v $PWD/hostfile:/workspace/hostfile \
          -w /workspace \
          intel/intel-extension-for-pytorch:2.4.0-pip-multinode \
          bash -c 'ipexrun cpu  --nnodes 2 --nprocs-per-node 1 --master-addr 127.0.0.1 --master-port 3022 /workspace/tests/ipex-resnet50.py --ipex --device cpu --backend ccl'
      

[!NOTE] Intel® MPI can be configured based on your machine settings. If the above commands do not work for you, see the documentation for how to configure based on your network.

Enable https://github.com/microsoft/DeepSpeed optimizations

To enable https://github.com/microsoft/DeepSpeed optimizations with Intel® oneAPI Collective Communications Library, add the following to your python script:

python
import deepspeed

# Rather than dist.init_process_group(), use deepspeed.init_distributed()
deepspeed.init_distributed(backend="ccl")

Additionally, if you have a DeepSpeed* configuration you can use the below command as your launcher to run your script with that configuration:

bash
    docker run -it --rm \
    --net=host \
    -v $PWD/id_rsa:/root/.ssh/id_rsa \
    -v $PWD/tests:/workspace/tests \
    -v $PWD/hostfile:/workspace/hostfile \
    -v $PWD/ds_config.json:/workspace/ds_config.json \
    -w /workspace \
    intel/intel-extension-for-pytorch:2.4.0-pip-multinode \
    bash -c 'deepspeed --launcher IMPI \
    --master_addr 127.0.0.1 --master_port 3022 \
    --deepspeed_config ds_config.json --hostfile /workspace/hostfile \
    /workspace/tests/ipex-resnet50.py --ipex --device cpu --backend ccl --deepspeed'

The image below is an extension of the IPEX Multi-Node Container designed to run Hugging Face Generative AI scripts. The container has the typical installations needed to run and fine tune PyTorch generative text models from Hugging Face. It can be used to run multinode jobs using the same instructions from the IPEX Multi-Node container.

Tag(s)PytorchIPEXoneCCLHF TransformersDockerfile
2.4.0-pip-multinode-hf-4.44.0-genaihttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu][v2.4.0][ccl-v2.4.0][v4.44.0]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile

Below is an example that shows single node job with a finetune.py script.

bash
# Change into home directory first and run the command
docker run -it \
    -v $PWD/workflows/charts/huggingface-llm/scripts:/workspace/scripts \
    -w /workspace/scripts \
    intel/intel-extension-for-pytorch:2.4.0-pip-multinode-hf-4.44.0-genai \
    bash -c 'python finetune.py <script-args>'

The images below are https://github.com/pytorch/serve with CPU Optimizations:

Tag(s)PytorchIPEXDockerfile
2.8.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0[v2.8.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0[v2.6.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.5.0[v2.5.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.4.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-serving-cpuhttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile

For more details, follow the procedure in the https://github.com/pytorch/serve/blob/master/examples/intel_extension_for_pytorch/README.md instructions.

The images below are https://github.com/pytorch/serve with XPU Optimizations:

Tag(s)PytorchIPEXDriverDockerfile
2.8.10-serving-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.8.10%2Bxpu[1099]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.10-serving-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.7.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.10-serving-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.6.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.10-serving-xpuhttps://github.com/pytorch/pytorch/releases/tag/v2.5.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.10%2Bxpu[1057]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile

CPU only images with Intel® Distribution for Python*

The images below are built only with CPU optimizations (GPU acceleration support was deliberately excluded) and include Intel® Distribution for Python*:

Tag(s)PytorchIPEXDockerfile
2.8.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.8.0[v2.8.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.6.0[v2.6.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.5.0[v2.5.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.4.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0[v2.1.0+cpu]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
2.0.0-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.0.0[v2.0.0+cpu]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile

The images below additionally include Jupyter Notebook server:

Tag(s)PytorchIPEXDockerfile
2.8.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0[v2.8.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0[v2.7.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0[v2.6.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.5.0[v2.5.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.4.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0[v2.1.0+cpu]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
2.0.0-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.0.0[v2.0.0+cpu]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile

The images below additionally include Intel® oneAPI Collective Communications Library (oneCCL) and Neural Compressor (https://github.com/intel/neural-compressor):

Tag(s)PytorchIPEXoneCCLINCDockerfile
2.4.0-idp-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.4.0[v2.4.0+cpu][v2.4.0][ccl-v2.3.0]https://github.com/https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.0-idp-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.3.0[v2.3.0+cpu][v2.3.0][ccl-v2.3.0][v2.6]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.2.0-idp-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.2.0[v2.2.0+cpu][v2.2.0][ccl-v2.2.0][v2.4.1]https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.0-idp-mulitnodehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0[v2.1.0+cpu][v2.1.0][ccl-v2.1.0][v2.3.1]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile
2.0.0-idp-multinodehttps://github.com/pytorch/pytorch/releases/tag/v2.0.0[v2.0.0+cpu][v2.0.0][ccl-v2.0.0][v2.1.1]https://github.com/intel/ai-containers/blob/v0.1.0/pytorch/Dockerfile

XPU images with Intel® Distribution for Python*

The images below are built only with CPU and GPU optimizations and include Intel® Distribution for Python*:

Tag(s)PytorchIPEXDriverDockerfile
2.8.10-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.8.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.8.10%2Bxpu[1099]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.10-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.7.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.7.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.10-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.6.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.6.10%2Bxpu[1077]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.10-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.5.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.10%2Bxpu[1057]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.110-xpu-idp-basehttps://github.com/pytorch/pytorch/tree/v2.3.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.3.110%2Bxpu[950]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.40-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.40%2Bxpu[914]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.30-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.30%2Bxpu[803]https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.10-xpu-idp-basehttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.10%2Bxpu[736]https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile

The images below additionally include Jupyter Notebook server:

Tag(s)PytorchIPEXDriverJupyter PortDockerfile
2.8.10-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.8.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.8.10%2Bxpu[1099]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.7.10-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.7.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.7.10%2Bxpu[1077]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.6.10-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.6.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.6.10%2Bxpu[1077]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.5.10-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.5.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.10%2Bxpu[1057]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.3.110-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/tree/v2.3.1https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.3.110%2Bxpu[950]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.40-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.40%2Bxpu[914]8888https://github.com/intel/ai-containers/blob/main/pytorch/Dockerfile
2.1.20-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.20%2Bxpu[803]8888https://github.com/intel/ai-containers/blob/v0.3.4/pytorch/Dockerfile
2.1.10-xpu-idp-jupyterhttps://github.com/pytorch/pytorch/releases/tag/v2.1.0https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.10%2Bxpu[736]8888https://github.com/intel/ai-containers/blob/v0.2.3/pytorch/Dockerfile

Build from Source

To build the images from source, clone the https://github.com/intel/ai-containers repository, follow the main README.md file to setup your environment, and run the following command:

bash
cd pytorch
docker compose build ipex-base
docker compose run ipex-base

You can find the list of services below for each container in the group:

Service NameDescription
ipex-baseBase image with https://intel.github.io/intel-extension-for-pytorch/
jupyterAdds Jupyter Notebook server
multinodeAdds Intel® oneAPI Collective Communications Library and https://github.com/intel/neural-compressor
xpuAdds Intel GPU Support
xpu-jupyterAdds Jupyter notebook server to GPU image
servinghttps://github.com/pytorch/serve

MLPerf Optimized Workloads

The following images are available for MLPerf-optimized workloads. Instructions are available at '[Get Started with Intel MLPerf]'.

Tag(s)Base OSMLPerf RoundTarget Platform
mlperf-inference-4.1-resnet50rockylinux:8.7[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+
mlperf-inference-4.1-retinanetubuntu:22.04[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+
mlperf-inference-4.1-gptjubuntu:22.04[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+
mlperf-inference-4.1-bertubuntu:22.04[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+
mlperf-inference-4.1-dlrmv2rockylinux:8.7[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+
mlperf-inference-4.1-3dunetubuntu:22.04[Inference v4.1]Intel(R) Xeon(R) Platinum 8592+

License

View the https://github.com/intel/intel-extension-for-pytorch/blob/main/LICENSE for the https://intel.github.io/intel-extension-for-pytorch/.

The images below also contain other software which may be under other licenses (such as Pytorch*, Jupyter*, Bash, etc. from the base).

It is the image user's responsibility to ensure that any use of The images below comply with any relevant licenses for all software contained within.

* Other names and brands may be claimed as the property of others.

更多相关 Docker 镜像与资源

以下是 intel/intel-extension-for-pytorch 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

  • intel/intel-optimized-pytorch Docker 镜像说明(Intel Optimized PyTorch,适合 Intel 硬件优化深度学习)
  • pytorch/pytorch Docker 镜像说明
  • nvidia/cuda Docker 镜像说明
  • rocker/cuda Docker 镜像说明(CUDA 运行时,Rocker 维护版本,适合 GPU 计算)
  • bitnami/pytorch Docker 镜像说明(PyTorch 深度学习框架,Bitnami 企业级配置)

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 intel-extension-for-pytorch 镜像标签

docker pull docker.xuanyuan.run/intel/intel-extension-for-pytorch:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull intel/intel-extension-for-pytorch:<标签>

更多 intel-extension-for-pytorch 镜像推荐

intel/intel-gpu-plugin logo

intel/intel-gpu-plugin

intel
Intel GPU设备插件是一款为Kubernetes集群开发的组件,旨在实现对Intel GPU资源的识别、管理与高效调度,支持部署GPU加速的工作负载,包括AI模型训练、高性能计算、数据分析等任务,并通过优化资源分配和实时监控,提升集群中GPU资源的利用率及相关工作负载的运行效率。
16 次收藏1000万+ 次下载
20 天前更新
intel/intel-optimized-pytorch logo

intel/intel-optimized-pytorch

intel
用于在英特尔架构上运行PyTorch工作负载的容器
16 次收藏10万+ 次下载
1 个月前更新
intel/intel-gpu-initcontainer logo

intel/intel-gpu-initcontainer

intel
暂无描述
3 次收藏1000万+ 次下载
20 天前更新
intel/intel-sgx-plugin logo

intel/intel-sgx-plugin

intel
暂无描述
1 次收藏10万+ 次下载
20 天前更新
intel/intel-qat-plugin logo

intel/intel-qat-plugin

intel
英特尔QuickAssist Technology (QAT)的Kubernetes设备插件,用于在Kubernetes集群中暴露QAT硬件加速功能,以提升加密、压缩等任务的处理性能。
2 次收藏10万+ 次下载
20 天前更新
intel/intel-fpga-plugin logo

intel/intel-fpga-plugin

intel
适用于Kubernetes的Intel FPGA设备插件,用于在Kubernetes集群中管理和调度Intel FPGA设备资源,支持容器化应用访问FPGA硬件加速。
5万+ 次下载
1 年前更新

查看更多 intel-extension-for-pytorch 相关镜像

轩辕镜像配置手册

按平台快速找到配置文档

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

一键安装

一键安装 Docker

Linux Docker 一键安装

需要其他帮助?请查看我们的 常见问题 Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

免费版与专业版区别

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
intel/intel-extension-for-pytorch
教程轩辕镜像功能与使用教程
价格查看流量套餐与价格
热门查看热门 Docker 镜像推荐
博客Docker 镜像公告与技术博客
官方公众号:源码跳动|官方技术交流群:831623681
官方公众号:源码跳动|官方技术交流群:|问题咨询请:提交工单
商务合作:点击复制邮箱
©2024-2026 源码跳动
商务合作:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.