@@ -43,6 +43,7 @@ length of 512 tokens:
4343 - [ Apple Silicon (Homebrew)] ( #apple-silicon-homebrew )
4444- [ Docker Build] ( #docker-build )
4545 - [ Apple M1/M2 Arm] ( #apple-m1m2-arm64-architectures )
46+ - [ ARM64 / aarch64] ( #arm64--aarch64 )
4647- [ AMD Instinct GPUs (ROCm)] ( #amd-instinct-gpus-rocm-experimental )
4748- [ Examples] ( #examples )
4849
@@ -337,17 +338,19 @@ Options:
337338
338339Text Embeddings Inference ships with multiple Docker images that you can use to target a specific backend:
339340
340- | Architecture | Image |
341- | ----------------------------------------| -------------------------------------------------------------------------|
342- | CPU | ghcr.io/huggingface/text-embeddings-inference: cpu-1 .9 |
343- | Volta | NOT SUPPORTED |
344- | Turing (T4, RTX 2000 series, ...) | ghcr.io/huggingface/text-embeddings-inference: turing-1 .9 (experimental) |
345- | Ampere 8.0 (A100, A30) | ghcr.io/huggingface/text-embeddings-inference:1.9 |
346- | Ampere 8.6 (A10, A40, ...) | ghcr.io/huggingface/text-embeddings-inference:86-1.9 |
347- | Ada Lovelace (RTX 4000 series, ...) | ghcr.io/huggingface/text-embeddings-inference:89-1.9 |
348- | Hopper (H100) | ghcr.io/huggingface/text-embeddings-inference: hopper-1 .9 |
349- | Blackwell 10.0 (B200, GB200, ...) | ghcr.io/huggingface/text-embeddings-inference:100-1.9 (experimental) |
350- | Blackwell 12.0 (GeForce RTX 50X0, ...) | ghcr.io/huggingface/text-embeddings-inference:120-1.9 (experimental) |
341+ | Architecture | Platform | Image |
342+ | ----------------------------------------| ----------| -------------------------------------------------------------------------|
343+ | CPU | x86_64 | ghcr.io/huggingface/text-embeddings-inference: cpu-1 .9 |
344+ | CPU | aarch64 | ghcr.io/huggingface/text-embeddings-inference: cpu-arm64-1 .9 |
345+ | Volta | x86_64 | NOT SUPPORTED |
346+ | Turing (T4, RTX 2000 series, ...) | x86_64 | ghcr.io/huggingface/text-embeddings-inference: turing-1 .9 (experimental) |
347+ | Ampere 8.0 (A100, A30) | x86_64 | ghcr.io/huggingface/text-embeddings-inference:1.9 |
348+ | Ampere 8.6 (A10, A40, ...) | x86_64 | ghcr.io/huggingface/text-embeddings-inference:86-1.9 |
349+ | Ada Lovelace (RTX 4000 series, ...) | x86_64 | ghcr.io/huggingface/text-embeddings-inference:89-1.9 |
350+ | Hopper (H100) | x86_64 | ghcr.io/huggingface/text-embeddings-inference: hopper-1 .9 |
351+ | Blackwell 10.0 (B200, GB200, ...) | x86_64 | ghcr.io/huggingface/text-embeddings-inference:100-1.9 (experimental) |
352+ | Blackwell 12.0 (GeForce RTX 50X0, ...) | x86_64 | ghcr.io/huggingface/text-embeddings-inference:120-1.9 (experimental) |
353+ | Blackwell 12.1 (DGX Spark GB10, ...) | multi | ghcr.io/huggingface/text-embeddings-inference:121-1.9 (experimental) |
351354
352355** Warning** : Flash Attention is turned off by default for the Turing image as it suffers from precision issues.
353356You can turn Flash Attention v1 ON by using the ` USE_FLASH_ATTENTION=True ` environment variable.
@@ -610,21 +613,40 @@ runtime_compute_cap=100
610613# Example for Blackwell (GeForce RTX 50X0, RTX PRO 6000, ...)
611614runtime_compute_cap=120
612615
616+ # Example for Blackwell GB10 (DGX Spark)
617+ runtime_compute_cap=121
618+
613619docker build . -f Dockerfile-cuda --build-arg CUDA_COMPUTE_CAP=$runtime_compute_cap
614620```
615621
616- ### Apple M1/M2 arm64 architectures
622+ ### ARM64 / aarch64
617623
618- #### DISCLAIMER
624+ #### CPU-only (Apple Silicon, Ampere, Graviton)
619625
620- As explained here [ MPS-Ready, ARM64 Docker Image] ( https://github.com/pytorch/pytorch/issues/81224 ) , Metal / MPS is not
621- supported via Docker. As such inference will be CPU bound and most likely pretty slow when using this docker image on an
622- M1/M2 ARM CPU.
626+ For ARM64 hosts without NVIDIA GPUs, use the CPU Dockerfile. Inference runs on CPU cores
627+ only (no Metal/MPS support via Docker).
623628
624- ```
629+ ``` shell
625630docker build . -f Dockerfile-arm64 --platform=linux/arm64
626631```
627632
633+ #### CUDA on ARM64 (DGX Spark, Jetson)
634+
635+ For ARM64 hosts with NVIDIA GPUs, build ` Dockerfile-cuda ` with the appropriate compute
636+ capability and ` --platform linux/arm64 ` :
637+
638+ ``` shell
639+ # DGX Spark (GB10, sm_121)
640+ docker build . -f Dockerfile-cuda \
641+ --build-arg CUDA_COMPUTE_CAP=121 \
642+ --platform linux/arm64
643+
644+ # Future ARM64 + Blackwell devices (sm_120)
645+ docker build . -f Dockerfile-cuda \
646+ --build-arg CUDA_COMPUTE_CAP=120 \
647+ --platform linux/arm64
648+ ```
649+
628650## AMD Instinct GPUs (ROCm) — experimental
629651
630652TEI has experimental support for AMD Instinct GPUs (MI200, MI300 series) via ROCm. You can use the ` rocm/pytorch:latest ` Docker image or a bare-metal ROCm installation. TEI will auto-detect the GPU at startup.
0 commit comments