pretrained(), e.g., ./my_pipeline_directory/.



torch_dtype (str or torch.dtype, optional) —
Override the default torch.dtype and load the model under this dtype. If "auto" is passed the dtype
will be automatically derived from the model’s weights.


custom_pipeline (str, optional) —

This is an experimental feature and is likely to change in the future.

Can be either:


A string, the repo id of a custom pipeline hosted inside a model repo on