xformers

Xformers Docker Image

xformers Docker镜像是适用于NVIDIA Jetson设备的Transformer优化库环境,版本0.0.26,基于L4T 34.1.0+系统,集成CUDA、PyTorch等依赖,支持stable-diffusion-webui、audiocraft等AI应用的运行与开发。

下载次数: 0状态:社区镜像维护者:dustynv仓库类型:镜像最近更新:
下载命令
点击查看

xformers

CONTAINERS IMAGES RUN BUILD

CONTAINERS
xformers:0.0.26
   Aliasesxformers
   RequiresL4T ['>=34.1.0']
   Dependencieshttps://github.com/dusty-nv/jetson-containers/tree/master/packages/build/build-essential https://github.com/dusty-nv/jetson-containers/tree/master/packages/cuda/cuda https://github.com/dusty-nv/jetson-containers/tree/master/packages/cuda/cudnn https://github.com/dusty-nv/jetson-containers/tree/master/packages/build/python https://github.com/dusty-nv/jetson-containers/tree/master/packages/numpy https://github.com/dusty-nv/jetson-containers/tree/master/packages/build/cmake/cmake_pip https://github.com/dusty-nv/jetson-containers/tree/master/packages/onnx https://github.com/dusty-nv/jetson-containers/tree/master/packages/pytorch
   Dependantshttps://github.com/dusty-nv/jetson-containers/tree/master/packages/audio/audiocraft https://github.com/dusty-nv/jetson-containers/tree/master/packages/l4t/l4t-diffusion https://github.com/dusty-nv/jetson-containers/tree/master/packages/diffusion/stable-diffusion-webui https://github.com/dusty-nv/jetson-containers/tree/master/packages/audio/voicecraft
   Dockerfilehttps://github.com/dusty-nv/jetson-containers/tree/master/packages/llm/xformers/Dockerfile
   Noteshttps://github.com/***research/xformers
xformers:0.0.26-builder
   Aliasesxformers:builder
   RequiresL4T ['>=34.1.0']
   Dependencieshttps://github.com/dusty-nv/jetson-containers/tree/master/packages/build/build-essential https://github.com/dusty-nv/jetson-containers/tree/master/packages/cuda/cuda https://github.com/dusty-nv/jetson-containers/tree/master/packages/cuda/cudnn https://github.com/dusty-nv/jetson-containers/tree/master/packages/build/python https://github.com/dusty-nv/jetson-containers/tree/master/packages/numpy https://github.com/dusty-nv/jetson-containers/tree/master/packages/build/cmake/cmake_pip https://github.com/dusty-nv/jetson-containers/tree/master/packages/onnx https://github.com/dusty-nv/jetson-containers/tree/master/packages/pytorch
   Dockerfilehttps://github.com/dusty-nv/jetson-containers/tree/master/packages/llm/xformers/Dockerfile
   Noteshttps://github.com/***research/xformers
CONTAINER IMAGES
Repository/TagDateArchSize
  https://hub.docker.com/r/dustynv/xformers/tags2023-12-06arm645.8GB
  https://hub.docker.com/r/dustynv/xformers/tags2023-12-14arm645.8GB
  https://hub.docker.com/r/dustynv/xformers/tags2024-01-09arm645.9GB

Container images are compatible with other minor versions of JetPack/L4T:
    • L4T R32.7 containers can run on other versions of L4T R32.7 (JetPack 4.6+)
    • L4T R35.x containers can run on other versions of L4T R35.x (JetPack 5.1+)

RUN CONTAINER

To start the container, you can use https://github.com/dusty-nv/jetson-containers/tree/master/docs/run.md and https://github.com/dusty-nv/jetson-containers/tree/master/docs/run.md#autotag, or manually put together a https://docs.docker.com/engine/reference/commandline/run/ command:

bash
# automatically pull or build a compatible container image
jetson-containers run $(autotag xformers)

# or explicitly specify one of the container images above
jetson-containers run dustynv/xformers:r35.4.1

# or if using 'docker run' (specify image and mounts/ect)
sudo docker run --runtime nvidia -it --rm --network=host dustynv/xformers:r35.4.1

https://github.com/dusty-nv/jetson-containers/tree/master/docs/run.md forwards arguments to https://docs.docker.com/engine/reference/commandline/run/ with some defaults added (like --runtime nvidia, mounts a /data cache, and detects devices)
https://github.com/dusty-nv/jetson-containers/tree/master/docs/run.md#autotag finds a container image that's compatible with your version of JetPack/L4T - either locally, pulled from a registry, or by building it.

To mount your own directories into the container, use the https://docs.docker.com/engine/reference/commandline/run/#volume or https://docs.docker.com/engine/reference/commandline/run/#volume flags:

bash
jetson-containers run -v /path/on/host:/path/in/container $(autotag xformers)

To launch the container running a command, as opposed to an interactive shell:

bash
jetson-containers run $(autotag xformers) my_app --abc xyz

You can pass any options to it that you would to https://docs.docker.com/engine/reference/commandline/run/, and it'll print out the full command that it constructs before executing it.

BUILD CONTAINER

If you use https://github.com/dusty-nv/jetson-containers/tree/master/docs/run.md#autotag as shown above, it'll ask to build the container for you if needed. To manually build it, first do the https://github.com/dusty-nv/jetson-containers/tree/master/docs/setup.md, then run:

bash
jetson-containers build xformers

The dependencies from above will be built into the container, and it'll be tested during. Run it with https://github.com/dusty-nv/jetson-containers/tree/master/jetson_containers/build.py for build options.

镜像拉取方式

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

轩辕镜像加速拉取命令点我查看更多 xformers 镜像标签

docker pull docker.xuanyuan.run/dustynv/xformers:<标签>

DockerHub 原生拉取命令

docker pull dustynv/xformers:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告