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
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
This line of code executes when someone just import nni.algorithms.compression.pytorch.pruning, I suggest to move it into the constructor function of AMCPruner and reset cudnn.deterministic after training because it changed an import setting but does not tell the user.
The text was updated successfully, but these errors were encountered:
mstczuo
changed the title
cudnn.deterministic being set while import, suggestion to avoid this kind of behavior
cudnn.deterministic been set while import, suggestion to avoid this kind of behavior
Aug 27, 2021
nni/nni/algorithms/compression/pytorch/pruning/amc/amc_pruner.py
Line 17 in e85f029
This line of code executes when someone just import
nni.algorithms.compression.pytorch.pruning
, I suggest to move it into the constructor function ofAMCPruner
and resetcudnn.deterministic
after training because it changed an import setting but does not tell the user.The text was updated successfully, but these errors were encountered: