pipeline = TextToVideoIFPipeline(
unet=unet,
text_encoder=text_encoder,
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!  
```python
pipeline.push_to_hub("custom-t2v-pipeline")
```  
After the pipeline is successfully pushed, you need to make a few changes: