"examples/pytorch/test_pytorch_examples.py" did not exist on "1381b6d01dca9c84c3cacd3eae5155cda8e03c18"
Restore _init_weights value in no_init_weights (#18504)
* Recover _init_weights value in no_init_weights For potential nested use. In addition, users might modify private no_init_weights as well. * Apply suggestions from code review Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Remove private variable change check Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Showing
Please register or sign in to comment