ch.device



The torch device on which the pipeline is located.



to

<
source
>
(
torch_device: typing.Union[str, torch.device, NoneType] = None

)




disable_attention_slicing

<
source
>
(
)



Disable sliced attention computation. If enable_attention_slicing was previously invoked, this method will go
back to computing attention in one step.

disable_xformers_memory_efficient_attention

<
source
>
(
)



Disable memory efficient attention