Views
No views yet
| This repo (training) | Serving repo (vLLM) |
|---|---|
activation_scale | input_scale |
weight_scale_inv | weight_scale |
TransformersForCausalLM backend registers FP8 parameters as input_scale/weight_scale and errors on other names. Transformers 5 and Unsloth expect activation_scale/weight_scale_inv. Neither tolerates the other's names.1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 "levara/Devstral-Small-2-24B-TextOnly-FP8-Training",
5 max_seq_length=8192,
6 load_in_4bit=False,
7)
8
9model = FastLanguageModel.get_peft_model(model, r=16, target_modules=[
10 "q_proj", "k_proj", "v_proj", "o_proj",
11 "gate_proj", "up_proj", "down_proj",
12])1vllm serve levara/Devstral-Small-2-24B-TextOnly-FP8 \
2 --tensor-parallel-size 2 \
3 --max-model-len 32768 \
4 --enable-lora \
5 --lora-modules my-adapter=path/to/adapter| Property | Value |
|---|---|
| Architecture | Ministral3ForCausalLM |
| Parameters | 23.57B |
| Quantization | FP8 W8A8 static (float8_e4m3fn) |
| Layers | 40 |
| Hidden size | 5120 |
| Context length | 393K tokens (YaRN RoPE) |