File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55import torch
66
77MODEL_ID = "/raid/engine/dsikka/models--Qwen--Qwen3.5-397B-A17B/snapshots/7cad2bae11cb49ca79f7d6a0954de2e2756f4e27"
8+ MODEL_ID = "Qwen/Qwen3.5-122B-A10B"
89
910# Load model.
1011model = Qwen3_5MoeForConditionalGeneration .from_pretrained (MODEL_ID , dtype = "auto" )
@@ -82,6 +83,6 @@ def data_collator(batch):
8283 moe_calibrate_all_experts = True )
8384
8485# Save to disk in compressed-tensors format.
85- SAVE_DIR = "/raid/engine/ dsikka/" + "Qwen3.5-397B-A17B " + "-NVFP4"
86+ SAVE_DIR = "/mnt/nvme_stripe/playground/ dsikka/" + "Qwen3.5-122B-A10B " + "-NVFP4"
8687model .save_pretrained (SAVE_DIR )
8788processor .save_pretrained (SAVE_DIR )
Original file line number Diff line number Diff line change 44from llmcompressor .modifiers .quantization import QuantizationModifier
55
66MODEL_ID = "/raid/engine/dsikka/models--Qwen--Qwen3.5-397B-A17B/snapshots/7cad2bae11cb49ca79f7d6a0954de2e2756f4e27"
7+ MODEL_ID = "Qwen/Qwen3.5-122B-A10B"
78
89# Load model.
910model = Qwen3_5MoeForConditionalGeneration .from_pretrained (MODEL_ID , dtype = "auto" )
3334oneshot (model = model , recipe = recipe )
3435
3536# Save to disk in compressed-tensors format.
36- SAVE_DIR = "/raid/engine/ dsikka/" + "Qwen3.5-397B-A17B " + "-FP8-Dynamic-NoLinearAttn "
37+ SAVE_DIR = "/mnt/nvme_stripe/playground/ dsikka/" + "Qwen3.5-122B-A10B " + "-FP8_DYNAMIC "
3738model .save_pretrained (SAVE_DIR )
3839processor .save_pretrained (SAVE_DIR )
You can’t perform that action at this time.
0 commit comments