ncoder,
    tokenizer=tokenizer,
    scheduler=scheduler,
    feature_extractor=feature_extractor
)
pipeline = pipeline.to(device="cuda")
pipeline.torch_dtype = torch.float16 Push the pipeline to the Hub to share with the community!   Copied pipeline.push_to_hub("custom-t2v-pipeline") After the pipeline is successfully pushed, you need a couple of changes: Change the _class_name attribute in model_index.json to "pipeline_t2v_base_pixel" and "Te