Failed to load ZLUDA: Could not find module C:\Program Files\AMD\ROCm\6.2\bin\hiprtc0507.dll #912
-
What happened?Hello everyone! I am using Onetrainer to train Lora for SDXL. I run other GUIs for neural networks through ZLUDA and ROCM 6.2 (ComfyUI, A1111), but as I noticed, Onetrainer defaults to the version for ROCM 5.7. So, I edited the ZLUDAInstaller.py file and added a link to the ZLUDA installation for 6.2. Everything installed without any problems, but when I launch Onetrainer, I get the following error When I try to start training, nothing happens, or rather, it says “training,” but there is no progress (it's definitely not compiling, I waited 2 hours). I have a file called hiprtc0602.dll in the ROCM folder. In general, I would be very grateful if you could help and tell me which file needs to be corrected so that Onetrainer can use ROCM 6.2. I apologize in advance if this is a silly question or has already been answered. I am new to this and have not been able to find the answer online. What did you expect would happen?Onetrainer launches with ROCM 6.2 Relevant log outputGenerate and upload debug_report.logNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
Converted from bug report as its a support question not a bug report (as it contains no repro steps nor system info) |
Beta Was this translation helpful? Give feedback.
-
|
There was already a commit to add Support for ROCm HIP SDK 6.1 and 6.2 and all upcoming versions here: But there is an outdated fork of OneTrainer from lshqqtiger which supports 6.2 just fine. I really wish the OneTrainer devs would just add the fix from the commit or checkout the fork for AMD Support. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Update: Lshqqtiger updated the OneTrainer Zluda fork two weeks ago. Works again! |
Beta Was this translation helpful? Give feedback.


I was able to get Onetrainer up and running on ROCM 6.2, for anyone who might need a solution:
Before running the install.bat file (or if you already installed it just delete the "venv" folder), go to :\OneTrainer\modules\zluda and edit the ZLUDAinstaller.py file
In the HIP TARGETS line, rename 'hiprtc0507.dll' with 'hiprtc0602.dll'
In the urllib.request.urlretrieve line, paste the link to the latest version of ZLUDA from lshqqytiger
ZLUDA
In the same file, replace all references to ROCM 5.7 with 6.2
Here is my version of the ZLUDAinstaller.py file: