When pruning a pruned model,It would be better if not ctreate a new wrapper #4216
-
at beginning:
it works.butafter pruned twice:
it would stucked at apply mask to weight, bias
solvement?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Maybe you can call |
Beta Was this translation helpful? Give feedback.
-
yes,i have use this method already,that works fine |
Beta Was this translation helpful? Give feedback.
Maybe you can call
_unwrap_model
method (defined in the classCompressor
) before pruning the same model again. The_unwrap_model
method will take the module out of the wrapper for each wrapped module in the model being pruned. @trotsky1997