This release includes the text encoder's weights from openai/clip-vit-base-patch32 prepared for Tenstorrent Tensix NPUs (Wormhole, Blackhole), with the files in text-encoder-fp32/. Visual encoding and the image-text logit scale are excluded.
Folders
| Folder | Contents | Formats | Files (GB) |
|---|---|---|---|
text-encoder-fp32/ | Twelve transformer blocks plus embedding, position, norm, projection and selector operands | FP32 / BF16 | 0.26 |
How to run
hf download Xylolabs/CLIP-ViT-B-32-Tenstorrent-Tensix --include "text-encoder-fp32/*" --local-dir CLIP-ViT-B-32-Tenstorrent-Tensix
Use PyTorch and safetensors. Stream one prepared block:
from pathlib import Path
import importlib.util
folder = Path("CLIP-ViT-B-32-Tenstorrent-Tensix/text-encoder-fp32")
spec = importlib.util.spec_from_file_location("clip_components", folder / "load_components.py")
components = importlib.util.module_from_spec(spec)
spec.loader.exec_module(components)
for name, tensor in components.iter_component(folder, "block_00"):
print(name, tuple(tensor.shape), tensor.dtype)
The existing port uses BF16 dense products with FP32 residuals, normalization, attention scores/softmax and pooling. The embedding path adds high and low BF16 lookups in FP32.
Updates
- 2026-11-27: Renamed from CLIP-ViT-B-32-Text-Tenstorrent-Tensix-Components; files now in text-encoder-fp32/.
License
MIT for the original OpenAI model (LICENSE), with the OmniVLA integration/reference MIT notice retained in
OMNIVLA_MIT_LICENSE. NOTICE records the source identities, prepared representation and excluded
components. The Xylolabs loader alone uses Apache 2.0 (CODE_LICENSE).
Each folder carries its own LICENSE and NOTICE.
Citation
Cite the original OpenAI CLIP project and paper and the OmniVLA integration.