gspeter-max

Results 2 issues of gspeter-max

# What does this PR do? Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks...

Fixes #38468 ### Problem Description This PR addresses the `AssertionError: "Torch not compiled with CUDA enabled"` that occurs when attempting to load models using `device_map="auto"` on systems with Ascend NPU...