Accept custom (layer type:param name) to include in sparse_parameter dictionary
1. Support to include in sparse_parameter_list an user-supplied custom layer type and its parameter name. This is useful when users have their own implementation of nn.Linear or nn.Conv2D. For example, huggingface repo has a custom implementation of nn.Linear called LinearActivation. 2. Print info of layers in the model that are not pruned.
Showing
Please register or sign in to comment