Spaces:
Running on Zero
Running on Zero
Commit History
-
fix: the pipeline takes PipelineQuantizationConfig, not BitsAndBytesConfig
Unverified signatureThe Space deploy failed on a type, not on disk and not on RAM: ValueError: `quantization_config` must be an instance of `PipelineQuantizationConfig`. A bare BitsAndBytesConfig is what a COMPONENT's from_pretrained takes; DiffusionPipeline.from_pretrained rejects it. Read at the pinned SHA rather than guessed: quant_backend="bitsandbytes_8bit" is a key in both backend mappings, quantizers/auto.py:45 and :57. This is a rung past the one the last test was built for. reached -> correct argument -> ARGUMENT OF THE RIGHT TYPE FOR THE CALLEE. The kwargs test proved the config arrived and could not tell the two classes apart, because both arrive equally well. Bound B is now an ARGUMENT -- components_to_quantize=["transformer"] -- rather than an intent a source scan had to assert. That is strictly better: widening is a change to a value a test reads, not a change to what a call happens to produce. So test_only_the_transformer_is_quantised is retired, with its reason kept where it lived…b55f9af
-
test: deploy drift, ConfigError, zerogpu boundary, conditioning index trap, audio config
Closes the gaps the lead asked about. - Deploy drift: the gradio pin must EQUAL README sdk_version and be exact, the preload_from_hub entry must equal model_files.preload_from_hub_entry() including the revision SHA (without it the preload and the app resolve different cache keys and the Space re-downloads 72 GB), and every requirement needs a floor and a ceiling. - ConfigError: a misconfiguration is not a generation failure, so it must not live in that family — the UI tells an operator and a user different things. - zerogpu: a CUDA tensor anywhere in the returned structure is refused, since the failure mode is a silent hang; size= is built from the installed spaces signature; a duration= callable must match before schedule time. - conditioning: LTX2VideoCondition.index is a LATENT index. Pixel 9 is latent 2, and an out-of-range index raises instead of being silently skipped. - audio: every mel parameter comes from audio_vae.config, and audio.py may not contain a samp…2655c68