Environment
Apple M1
Describe the bug
Some torch functions e.g. torch.logspace are unsupported on Apple silicon, leading NotImplementedError to errors. Since torch.logspace in particular is used in DPIR, the quickstart therefore does not run end-to-end on Apple M1.
Bug uncovered during ICMS tutorial.
For now, we should include a warning in deepinv.utils.get_device when M1 is selected @samuro95 warning the user of potential problems.
Steps to reproduce
Run the quickstart DPIR example on Apple M1.
Environment
Apple M1
Describe the bug
Some torch functions e.g.
torch.logspaceare unsupported on Apple silicon, leadingNotImplementedErrorto errors. Sincetorch.logspacein particular is used inDPIR, the quickstart therefore does not run end-to-end on Apple M1.Bug uncovered during ICMS tutorial.
For now, we should include a warning in
deepinv.utils.get_devicewhen M1 is selected @samuro95 warning the user of potential problems.Steps to reproduce
Run the quickstart DPIR example on Apple M1.