Update namespace references from Vishva007 to OpenTensorLab
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114---license: mitlanguage:- en- zhbase_model: dots-studio/dots.mocrtags:- auto-round- gptq- vllm- multimodal- ocr- document-parse- 4bitpipeline_tag: image-text-to-text---# dots.mocr W4A16 AutoRound QuantizedThis repository provides production-grade **W4A16 quantized weights** for [dots-studio/dots.mocr](https://huggingface.co/dots-studio/dots.mocr) using [Intel AutoRound](https://github.com/intel/auto-round).### Available Variants* **`Vishva007/dots.mocr-W4A16-AutoRound`**: Native AutoRound format.* **`Vishva007/dots.mocr-W4A16-AutoRound-GPTQ`**: Exported GPTQ format optimized for direct serving in **vLLM**.---## Quantization DetailsThe quantization recipe was tuned for high accuracy and long-context multimodal parsing while preventing degradation of visual features:* **Bits / Weight Type:** 4-bit weights, 16-bit activations (W4A16)* **Group Size:** 32 (Symmetric: `True`)* **Vision Tower Preservation:** `quant_nontext_module=False` (vision encoder preserved in full precision to retain document grounding accuracy)* **Tuning Recipe:** 1,500 iterations, 1,024 samples, sequence length 8,192 with `torch.compile` acceleration.---## Deployment with vLLM> [!IMPORTANT]> **KV Cache Precision Warning:** Always keep `--kv-cache-dtype` set to `auto` or `bfloat16`. Do not use low-precision KV cache formats (such as `fp8`), as doing so will cause the model to fail to generate any output or return empty responses.For high-throughput document parsing, serve the **AutoRound variant** directly with vLLM:>```bashvllm serve Vishva007/dots.mocr-W4A16-AutoRound \--host 0.0.0.0 \--port 8000 \--trust-remote-code \--chat-template-content-format string \--dtype bfloat16 \--kv-cache-dtype auto \--max-model-len 32768 \--max-num-seqs 128 \--gpu-memory-utilization 0.90 \--enable-prefix-caching \--enable-chunked-prefill```## Benchmark Highlights (Original Base Model)* **olmOCR-Bench:** 83.9 Overall* **OmniDocBench (v1.5):** 0.031 TextEdit / 0.029 Read OrderEdit* **Native Structured Output:** Direct image-to-Markdown, HTML tables, LaTeX formulas, and SVG generation.---### 🚀 Deploy on RunPodOne-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization.> 🎁 **Need GPU compute?** Sign up via [RunPod](https://runpod.io?ref=iabrlp7z) and get **$5–$500 in free credits** when you add your first $10.#### PyTorch 2.15| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.15 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.15-runpod` | `0rsw686010` | [](https://runpod.io/console/deploy?template=0rsw686010&ref=iabrlp7z) || **PyTorch 2.15 (CUDA 13.4)** | 13.4 | `vishva123/cuda-13.4-pytorch-2.15-runpod` | `0s0rhdfaqy` | [](https://runpod.io/console/deploy?template=0s0rhdfaqy&ref=iabrlp7z) |#### PyTorch 2.14| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.14 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.14-runpod` | `d7lxsa4w9m` | [](https://runpod.io/console/deploy?template=d7lxsa4w9m&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.14-runpod` | `yk0y6j6rpg` | [](https://runpod.io/console/deploy?template=yk0y6j6rpg&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.14-runpod` | `gsp4gwx0nw` | [](https://runpod.io/console/deploy?template=gsp4gwx0nw&ref=iabrlp7z) |#### PyTorch 2.13| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.13 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.13-runpod` | `gmlupxnxfk` | [](https://runpod.io/console/deploy?template=gmlupxnxfk&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.13-runpod` | `y3j8xvk4f4` | [](https://runpod.io/console/deploy?template=y3j8xvk4f4&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.13-runpod` | `vigpissn5w` | [](https://runpod.io/console/deploy?template=vigpissn5w&ref=iabrlp7z) |#### PyTorch 2.12| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.12 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.12-runpod` | `ctmz86zmf0` | [](https://runpod.io/console/deploy?template=ctmz86zmf0&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.12-runpod` | `qjko5yiwzi` | [](https://runpod.io/console/deploy?template=qjko5yiwzi&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.12-runpod` | `ifg6xmye0f` | [](https://runpod.io/console/deploy?template=ifg6xmye0f&ref=iabrlp7z) |---## Acknowledgements* Base model developed by [dots-studio](https://huggingface.co/dots-studio/dots.mocr).* Quantized using [Intel AutoRound](https://github.com/intel/auto-round).123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114---license: mitlanguage:- en- zhbase_model: dots-studio/dots.mocrtags:- auto-round- gptq- vllm- multimodal- ocr- document-parse- 4bitpipeline_tag: image-text-to-text---# dots.mocr W4A16 AutoRound QuantizedThis repository provides production-grade **W4A16 quantized weights** for [dots-studio/dots.mocr](https://huggingface.co/dots-studio/dots.mocr) using [Intel AutoRound](https://github.com/intel/auto-round).### Available Variants* **`OpenTensorLab/dots.mocr-W4A16-AutoRound`**: Native AutoRound format.* **`OpenTensorLab/dots.mocr-W4A16-AutoRound-GPTQ`**: Exported GPTQ format optimized for direct serving in **vLLM**.---## Quantization DetailsThe quantization recipe was tuned for high accuracy and long-context multimodal parsing while preventing degradation of visual features:* **Bits / Weight Type:** 4-bit weights, 16-bit activations (W4A16)* **Group Size:** 32 (Symmetric: `True`)* **Vision Tower Preservation:** `quant_nontext_module=False` (vision encoder preserved in full precision to retain document grounding accuracy)* **Tuning Recipe:** 1,500 iterations, 1,024 samples, sequence length 8,192 with `torch.compile` acceleration.---## Deployment with vLLM> [!IMPORTANT]> **KV Cache Precision Warning:** Always keep `--kv-cache-dtype` set to `auto` or `bfloat16`. Do not use low-precision KV cache formats (such as `fp8`), as doing so will cause the model to fail to generate any output or return empty responses.For high-throughput document parsing, serve the **AutoRound variant** directly with vLLM:>```bashvllm serve OpenTensorLab/dots.mocr-W4A16-AutoRound \--host 0.0.0.0 \--port 8000 \--trust-remote-code \--chat-template-content-format string \--dtype bfloat16 \--kv-cache-dtype auto \--max-model-len 32768 \--max-num-seqs 128 \--gpu-memory-utilization 0.90 \--enable-prefix-caching \--enable-chunked-prefill```## Benchmark Highlights (Original Base Model)* **olmOCR-Bench:** 83.9 Overall* **OmniDocBench (v1.5):** 0.031 TextEdit / 0.029 Read OrderEdit* **Native Structured Output:** Direct image-to-Markdown, HTML tables, LaTeX formulas, and SVG generation.---### 🚀 Deploy on RunPodOne-click launch environments pre-configured with PyTorch, CUDA, and dependencies for fine-tuning or quantization.> 🎁 **Need GPU compute?** Sign up via [RunPod](https://runpod.io?ref=iabrlp7z) and get **$5–$500 in free credits** when you add your first $10.#### PyTorch 2.15| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.15 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.15-runpod` | `0rsw686010` | [](https://runpod.io/console/deploy?template=0rsw686010&ref=iabrlp7z) || **PyTorch 2.15 (CUDA 13.4)** | 13.4 | `vishva123/cuda-13.4-pytorch-2.15-runpod` | `0s0rhdfaqy` | [](https://runpod.io/console/deploy?template=0s0rhdfaqy&ref=iabrlp7z) |#### PyTorch 2.14| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.14 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.14-runpod` | `d7lxsa4w9m` | [](https://runpod.io/console/deploy?template=d7lxsa4w9m&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.14-runpod` | `yk0y6j6rpg` | [](https://runpod.io/console/deploy?template=yk0y6j6rpg&ref=iabrlp7z) || **PyTorch 2.14 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.14-runpod` | `gsp4gwx0nw` | [](https://runpod.io/console/deploy?template=gsp4gwx0nw&ref=iabrlp7z) |#### PyTorch 2.13| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.13 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.13-runpod` | `gmlupxnxfk` | [](https://runpod.io/console/deploy?template=gmlupxnxfk&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.13-runpod` | `y3j8xvk4f4` | [](https://runpod.io/console/deploy?template=y3j8xvk4f4&ref=iabrlp7z) || **PyTorch 2.13 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.13-runpod` | `vigpissn5w` | [](https://runpod.io/console/deploy?template=vigpissn5w&ref=iabrlp7z) |#### PyTorch 2.12| Template | CUDA Version | Docker Image | Template ID | Deploy || :--- | :--- | :--- | :--- | :--- || **PyTorch 2.12 (CUDA 12.6)** | 12.6 | `vishva123/cuda-12.6-pytorch-2.12-runpod` | `ctmz86zmf0` | [](https://runpod.io/console/deploy?template=ctmz86zmf0&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.0)** | 13.0 | `vishva123/cuda-13.0-pytorch-2.12-runpod` | `qjko5yiwzi` | [](https://runpod.io/console/deploy?template=qjko5yiwzi&ref=iabrlp7z) || **PyTorch 2.12 (CUDA 13.2)** | 13.2 | `vishva123/cuda-13.2-pytorch-2.12-runpod` | `ifg6xmye0f` | [](https://runpod.io/console/deploy?template=ifg6xmye0f&ref=iabrlp7z) |---## Acknowledgements* Base model developed by [dots-studio](https://huggingface.co/dots-studio/dots.mocr).* Quantized using [Intel AutoRound](https://github.com/intel/auto-round).
README.md+114-114