Build Libtorch with AMD support

Hey everyone,

Does anyone have advice for building libtorch with AMD support? I am currently poking around the build_amd.py and build_libtorch.py scripts.

1 Like

I am not giving advice but commenting to resurface this post for I am also curious. I have an AMD support GPU and keep getting the following error. I’m working on a Rust backend program using tch-rs (PyTorch C++ Rust Bindings).

note: “cc” “-Wl,–as-needed” “-Wl,-z,noexecstack” “-m64” “-Wl,–eh-frame-hdr” “-L” "