aihwkit
aihwkit copied to clipboard
Fix the support of different dtypes for the torch model
Related issues
Issue #623
Description
Changed the .to function mostly.
Details
- Verification on GPU needed
- A tests needs to be added that verifies the output correctness against pure torch.
Added tests for the torch version and verified that it is working on a A100 GPU.
Also, I added a line in the helper.py to make make mypy pass with a newer mypy version.