Views
No views yet
to_gate_compress, SPARSE_FP4_COMPRESS_ATTN, and NVFP4 fake-quant linear
wrappers. Use the matching FastVideo code or the included custom_code/ files.model_index.json, scheduler/, text_encoder/, tokenizer/, vae/:
copied from FastWan2.1-T2V-1.3B-Diffusers.transformer/diffusion_pytorch_model.safetensors: exported student
transformer weights from checkpoint-2950.custom_code/: standalone source for the attention backend, gate model
structure, NVFP4 fake quant linear, and required registry points.training_metadata/: original checkpoint metadata and launch scripts.dmd2_fastwan_student_sfp4_compress_s08_nvfp4_qat_gatefp4_linear_criticwarm0_32g_batch_short_array/checkpoint-2950models/FastWan2.1-T2V-1.3B-DiffusersSPARSE_FP4_COMPRESS_ATTN0.8FLASH_ATTN config[1000, 757, 522]6.0, flow shift 8scheduler/ entry in
model_index.json. That copied base-model scheduler is
UniPCMultistepScheduler with solver_type=bh2, but it is not the online
validation solver used for this checkpoint.fastvideo.pipelines.basic.wan.wan_dmd_pipeline.WanDMDPipelinefastvideo.pipelines.stages.denoising.DmdDenoisingStageFlowMatchEulerDiscreteScheduler8.0flow_shift: 8[1000, 757, 522]36.0bfloat16SPARSE_FP4_COMPRESS_ATTN0.8FASTVIDEO_SPARSE_FP4_USE_HIGH_PREC_O=1scheduler.step(...) like a normal Euler/UniPC
diffusion loop. For each fixed timestep it predicts noise, converts it to
predicted clean video with pred_noise_to_pred_video(...), and, except for the
last step, re-noises that predicted video to the next fixed timestep with
FlowMatchEulerDiscreteScheduler.add_noise(...).training_metadata/deployment_repro_config.json. The relevant solver source is
also included under custom_code/fastvideo/pipelines/basic/wan/wan_dmd_pipeline.py,
custom_code/fastvideo/pipelines/stages/denoising.py, and
custom_code/fastvideo/models/schedulers/scheduling_flow_match_euler_discrete.py.self.to_gate_compress = ReplicatedLinear(dim, dim, bias=True, ...)1gate_compress, _ = self.to_gate_compress(norm_hidden_states)
2gate_compress = gate_compress.squeeze(1).unflatten(2, (num_heads, -1))
3attn_output, _ = self.attn1(..., gate_compress=gate_compress)SPARSE_FP4_COMPRESS_ATTN computes:output = sparse_fp4_main_branch(q, k, v) + dense_block_mean_branch(q, k, v) * gate_compress