Views
No views yet
trust_remote_code=True) whose Int8GroupLinear modules keep
the int8 weights RESIDENT in VRAM and dequantize one layer at a time inside forward.compressed-tensors checkpoints to bf16 in VRAM (lazily, at first
forward) and keeps the bf16, so the stock format saves download but not resident memory. This
packaging saves both.| bf16 | this repo | |
|---|---|---|
| Resident weights (transformers, both after forwards) | 1136 MiB | 740 MiB |
Infinity 0.0.77, --batch-size 8, process VRAM | 2490 MiB | 2102 MiB (-16%) |
| Latency in-process, batch 1 / batch 32 | 17.2 / 23.3 ms | 23.0 / 29.8 ms |
1from sentence_transformers import SentenceTransformer
2model = SentenceTransformer("Nicolassuez/Qwen3-Embedding-0.6B-W8A16-g128-resident",
3 trust_remote_code=True)AutoModel.from_pretrained(..., trust_remote_code=True) with last-token pooling + L2 normalize.
Works in Infinity:infinity_emb v2 --model-id Nicolassuez/Qwen3-Embedding-0.6B-W8A16-g128-resident \
--trust-remote-code --no-bettertransformer --device cuda--no-bettertransformer is required: Infinity 0.0.77's BetterTransformer probe crashes when
optimum is absent or >= 2.0.)nn.Module.to(dtype) only casts floating-point tensors, so the int8 buffers survive the
.to(float16/bfloat16) calls sentence-transformers and Infinity make.