e the model using safetensors or the traditional PyTorch way with pickle.    Save an attention processor to a directory so that it can be reloaded using the
load_attn_procs() method.  set_adapters  < source > ( adapter_names: typing.Union[typing.List[str], str] weights: typing.Union[typing.List[float], float, NoneType] = None  )   Parameters   adapter_names (List[str] or str) —
The names of the adapters to use.   weights (Union[List[float], flo