Downloads · 30 days
22
29% of all-time downloads
Sohailhosseini/Carnice-9b-FP8
Carnice-9b-FP8 is a text generation model from Sohailhosseini. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
kai-os/Carnice-9b quantized to FP8 (8-bit weights).
Downloads · 30 days
22
29% of all-time downloads
All-time downloads
76
Public
Parameters
9B
11 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors11 GB · 100%
How the weights are stored.
F8_E4M36.9B · 77%
From the Hugging Face model README
kai-os/Carnice-9b quantized to FP8 (8-bit weights).
Near-lossless, no calibration data, and it halves every Linear weight. The safe default when you care about quality and have Ada/Hopper or newer.
Caveat. Needs compute capability >= 8.9 (Ada/Hopper+) to run fast.
| Source | kai-os/Carnice-9b |
| Scheme | FP8 (8-bit) |
| Format | compressed-tensors |
| Parameters | 9.0B |
| Size on disk | 11.0 GB |
| Compression | 1.63x smaller than the 17.9 GB source |
| Left unquantized | lm_head |
| Quantized on | A40 |
| Quantized by | Sohailhosseini |
vllm serve Sohailhosseini/Carnice-9b-FP8 \
--max-model-len 32768
from vllm import LLM, SamplingParams
if __name__ == "__main__":
llm = LLM("Sohailhosseini/Carnice-9b-FP8", max_model_len=32768)
out = llm.chat(
[{"role": "user", "content": "What is quantization? Answer in one sentence."}],
SamplingParams(temperature=0.6, max_tokens=512),
)
print(out[0].outputs[0].text)
Produced with HF-quantized. recipe.yaml in this repo is the exact modifier stack that was applied, and the scheme, ignored layers and hardware are in the table above.
Licence is inherited from the source model. Quantization does not change what you are permitted to do with the weights.