Widen the load request type for the explicit Dtype off value

The Dtype select now sends none through instead of omitting it, so the
request type must accept it (tsc caught the mismatch at the badges tip).
This commit is contained in:
Daniel Han 2026-07-04 09:46:38 +00:00
commit c38ae1cef5

View file

@ -57,7 +57,7 @@ export interface DiffusionLoadRequest {
cpu_offload?: boolean;
// Advanced (load-time) tuning. All optional; omit for the backend's auto defaults.
speed_mode?: "off" | "eager" | "default" | "max";
transformer_quant?: "auto" | "int8" | "fp8" | "nvfp4" | "mxfp8";
transformer_quant?: "auto" | "none" | "off" | "int8" | "fp8" | "nvfp4" | "mxfp8";
attention_backend?:
| "auto"
| "native"