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
sparsity_is_enabled method does not exist.
From seeing the code, It should be _is_sparsity_enabled. It works fine.
Error message is follows.
Traceback (most recent call last):
File "checkpointing_test_part2.py", line 80, in <module>
main(checkpoint['step'], args, checkpoint['model_state_dict'], checkpoint['optimizer_state_dict'])
File "checkpointing_test_part2.py", line 54, in main
print("Model sparsity is %s" % ("enabled" if ASP.sparsity_is_enabled() else "disabled"))
AttributeError: type object 'ASP' has no attribute 'sparsity_is_enabled'
sparsity_is_enabled
method does not exist.From seeing the code, It should be
_is_sparsity_enabled
. It works fine.Error message is follows.
References
The text was updated successfully, but these errors were encountered: