You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pruned model is saved using torch.save and torch.load for loading the model. I was wondering if there is a way to use a similar method such as device_map='auto' similar to the one in .from_pretrained method from Huggingface
The text was updated successfully, but these errors were encountered:
Hi. It would be challenging to do this since the pruned model does not follow a uniform configuration, like different dimensions for different modules and different head numbers for different layers.
The pruned model is saved using torch.save and torch.load for loading the model. I was wondering if there is a way to use a similar method such as device_map='auto' similar to the one in .from_pretrained method from Huggingface
The text was updated successfully, but these errors were encountered: