ROCm / AMDMIGraphX

AMD's graph optimization engine.
https://rocm.docs.amd.com/projects/AMDMIGraphX/en/latest/
MIT License
185 stars 86 forks source link

[BUG] Runtime Error: No HIP GPUs Available when torch imported after migraphx #3488

Open richagadgil opened 1 month ago

richagadgil commented 1 month ago

Description:

tensor.to(device="cuda") results in No HIP GPUs Available when torch imported after migraphx

Steps to Reproduce:

  1. pip install -r torch_requirements.txt
  2. pip install -r requirements.txt
  3. python load_model.py

load_error.zip

Full Error Log: load_error.txt