Using the Ascend NPU card, go to the CUDA branch,props = torch.cuda.get_device_properties(device),AssertionError: Torch not compiled with CUDA enabled #6483
Labels
Potential Bug
User is reporting a bug. This should be tested.
Expected Behavior
Add two lines of code to solve this problem
@statelesshz
Actual Behavior
I installed CANN 8.0.RC3, torch_npu 2.1.0
Steps to Reproduce
ASCEND_LAUNCH_BLOCKING=1 python main.py --fp16-vae
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: