Views
No views yet
llm-compressor model_free_ptq (data-free, streaming PTQ — no calibration data)Note on what is quantized: only the language tower's linear weights are taken to NVFP4 — the 36 Qwen2 decoder layers (self_attn.{q,k,v,o}_proj,mlp.{gate,up,down}_proj}), i.e. 252 modules. The vision encoder (vision_model.*), the vision→LLM connector (mlp1.*), the token embeddings,lm_headand all norms stay at the source dtype (BF16). The headline variant name reflects the LM-tower quantization, while the on-disk size averages the NVFP4 and BF16 parts of the model.
trust_remote_code); the checkpoint was verified at the weight
level:weight_packed (uint8 FP4) + weight_scale (FP8 e4m3,
per group of 16) + weight_global_scale (FP32); the vision tower, connector, embeddings and
lm_head remain BF16 and byte-identical to the source.nvfp4-pack-quantized (compressed-tensors), standard per-module layout.For inference, use the base model's runtime — it ships custom modeling code and (per the upstream repo) expectstransformerspinned for compatibility. NVFP4 weights need a runtime with compressed-tensors support on a Blackwell GPU. Not formally benchmarked for quality.
trust_remote_code (the architecture is defined in the repo's bundled modeling files):1from transformers import AutoModel, AutoProcessor
2
3model = AutoModel.from_pretrained(
4 "sahilchachra/LocateAnything-3B-NVFP4A16",
5 trust_remote_code=True,
6 device_map="cuda",
7)
8processor = AutoProcessor.from_pretrained(
9 "sahilchachra/LocateAnything-3B-NVFP4A16", trust_remote_code=True
10)LICENSE are carried over unchanged.