xformers Docker镜像是适用于NVIDIA Jetson设备的Transformer优化库环境,版本0.0.26,基于L4T 34.1.0+系统,集成CUDA、PyTorch等依赖,支持stable-diffusion-webui、audiocraft等AI应用的运行与开发。
xformers
CONTAINERSIMAGESRUNBUILD
CONTAINERS
xformers:0.0.26 | |
|---|---|
| Aliases | xformers |
| Requires | L4T ['>=34.1.0'] |
| Dependencies | https://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 |
| Dependants | https://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 |
| Dockerfile | https://github.com/dusty-nv/jetson-containers/tree/master/packages/llm/xformers/Dockerfile |
| Notes | https://github.com/***research/xformers |
xformers:0.0.26-builder | |
|---|---|
| Aliases | xformers:builder |
| Requires | L4T ['>=34.1.0'] |
| Dependencies | https://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 |
| Dockerfile | https://github.com/dusty-nv/jetson-containers/tree/master/packages/llm/xformers/Dockerfile |
| Notes | https://github.com/***research/xformers |
CONTAINER IMAGES
| Repository/Tag | Date | Arch | Size |
|---|---|---|---|
| https://hub.docker.com/r/dustynv/xformers/tags | 2023-12-06 | arm64 | 5.8GB |
| https://hub.docker.com/r/dustynv/xformers/tags | 2023-12-14 | arm64 | 5.8GB |
| https://hub.docker.com/r/dustynv/xformers/tags | 2024-01-09 | arm64 | 5.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/datacache, 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:
bashjetson-containers run -v /path/on/host:/path/in/container $(autotag xformers)
To launch the container running a command, as opposed to an interactive shell:
bashjetson-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:
bashjetson-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.
dustynv 命名空间的其他可用镜像:
dustynv/vllm
dustynv/ollama
dustynv/ros
dustynv/jetson-inference
dustynv/l4t-pytorch
dustynv/transformers
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务