Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contrib/ASP] sparsity_is_enabled method does not exist #992

Closed
sakaia opened this issue Nov 10, 2020 · 1 comment
Closed

[contrib/ASP] sparsity_is_enabled method does not exist #992

sakaia opened this issue Nov 10, 2020 · 1 comment

Comments

@sakaia
Copy link

sakaia commented Nov 10, 2020

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'

References

@ChongyuNVIDIA
Copy link
Contributor

This issue is already fixed in 89edb81.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants