61 lines
3.8 KiB
JSON
61 lines
3.8 KiB
JSON
{
|
|
"schema": "issue5-runs-summary-v1",
|
|
"probed_utc": "2026-10-08",
|
|
"host": "cachyos-alexander (RTX 3090 24 GB, sm_86, driver 615.71.09, CUDA 13.4)",
|
|
"stack": {
|
|
"vllm_omni": "ISSUE-5 branch e778d21f..67e17786 over main 8484d85d1",
|
|
"vllm": "0.31.0",
|
|
"torch": "2.13.0+cu130",
|
|
"compressed_tensors": "0.17.0",
|
|
"transformers": "5.14.1",
|
|
"diffusers": "0.41.0.dev0 (git 122b1e11)"
|
|
},
|
|
"artifact": {
|
|
"path": "~/.local/state/multi-model-helper-server/state/image-service/artifacts/qwen-image-2.1-dit-int8wo",
|
|
"quantized_params": 6979321856,
|
|
"bf16_boundary_params": 135802880,
|
|
"weights_file_bytes": 7256783616,
|
|
"mean_rel_l2_quant_error": 0.010959,
|
|
"max_rel_l2_quant_error": 0.017284,
|
|
"roundtrip_verification": "unpack+dequant vs sealed BF16: rel_l2 0.0098-0.0117 per tensor (see artifact-verify.txt)"
|
|
},
|
|
"serve_run": {
|
|
"label": "int8wo",
|
|
"command": "vllm serve <artifact> --omni --port 8091 --served-model-name Qwen/Qwen-Image-2.1 --enforce-eager --enable-cpu-offload",
|
|
"init": "healthy in ~40 s; per-component quantization auto-detected from transformer/config.json (transformer -> compressed-tensors, encoder/VAE BF16); CompressedTensorsWNA16 + MarlinLinearKernel selected on sm_86",
|
|
"failed_precursor_runs": [
|
|
"int8wo (first): init OOM - loader treated the pre-quantized checkpoint as online quantization and loaded all components on the GPU (encoder 17 GiB + VAE + packed DiT skeleton > 24 GiB); fixed by the offline-detection loader change on this branch",
|
|
"int8wo-expandable: same OOM with PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (genuine capacity, not fragmentation); also polluted by a leftover 586 MiB DiffusionWorker from an interrupted test run"
|
|
]
|
|
},
|
|
"capacity_matrix": {
|
|
"fixtures": {"1-ref": "edit-expression-ysolde", "2-ref": "edit-compose-pair", "3-ref": "edit-compose-three", "4-ref": "edit-compose-four"},
|
|
"seeds": [2301, 2302, 2303, 2304],
|
|
"requests": 16,
|
|
"http_200": 16,
|
|
"wall_s_mean": {"1-ref": 31.0, "2-ref": 36.6, "3-ref": 41.4, "4-ref": 46.4},
|
|
"nvidia_smi_peak_mib": 23935,
|
|
"bf16_reference_walls": {"1-ref": 34.2, "2-ref": 36.7, "4-ref": "OOM at BF16 (issue 2)"},
|
|
"fp8_reference_walls": {"1-ref": 29.9, "2-ref": 34.1, "3-ref": 38.9, "4-ref": 44.3}
|
|
},
|
|
"structure_gate": {
|
|
"rule": "opaque_fraction >= 0.99 AND mean(rgb_std) >= 10",
|
|
"result": "FAIL 16/16",
|
|
"signature": "opaque 0.0-0.20 (vs 1.0 at BF16), alpha mean 114-137, rgb_std 3-93; outputs are horizontal-stripe noise, not rendered scenes",
|
|
"detail": "gate-and-psnr-summary.txt; per-request records in matrix.json"
|
|
},
|
|
"psnr_vs_sealed_diffusers_baseline": {
|
|
"edit-expression-ysolde_1ref_mean_db": 7.14,
|
|
"edit-compose-pair_2ref_mean_db": 7.46,
|
|
"edit-compose-four_4ref_mean_db": 7.11,
|
|
"bf16_pair_reference_mean_db": 27.57,
|
|
"fp8_broken_reference_mean_db": 7.11
|
|
},
|
|
"marlin_isolation": {
|
|
"method": "marlin_isolate.py: vLLM QKVParallelLinear/RowParallelLinear/ColumnParallelLinear built exactly as the qwen_image_21 transformer does; artifact tensors loaded through the production weight-loaders; Marlin repack on GPU; layer(x) compared against float32 x @ dequant(W)^T",
|
|
"results_block0_artifact": "NaN output, all four layer kinds, bf16 AND fp16 activations; loaded weight_packed bitwise-equal to artifact (incl. fused q/k/v stacked shards); scales finite pre and post repack (marlin-isolate-block0.json)",
|
|
"results_synthetic_random_int8": "NaN identically - the checkpoint and its quantization are exonerated (marlin-isolate-synthetic.json)",
|
|
"conclusion": "the 8-bit Marlin W8A16 path on this stack (sm_86, vllm 0.31.0, torch 2.13.0+cu130) produces NaN for int8 weight-only layers although query_marlin_supported_quant_types accepts uint8b128 on the card; choose_mp_linear_kernel offers no non-Marlin fallback for W8A16 on sm_86 (Machete is sm90+, ExLlama int4-only)"
|
|
}
|
|
}
|