healy-hub

Results comments of healy-hub

**ROCm 6.2.3 for WSL2 Ubuntu 24.04.1 is OK now!** #WSL2 release version lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble...

> No description provided. ### MinerU 1.3版本后, 强烈建议不要在anaconda环境直接升级这个项目,两次遇到所有的python环境torch性能掉了60%,而且重新安装anaconda或者ROCm环境都无法修复,不得已重装系统。升级这个项目的话,要么删除这个环境重新安装,要么直接docker ROCm/Pytorch下运行,我不理解为什么会这样,anaconda的ROCm torch隔离了一个寂寞,清理了所有我知道的能清理的,都没有解决问题,反复确认就是这个项目升级导致的。。。。 **AMD ROCm运行了一下,完全可以用,非常正常。** pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com 然后把它默认安装的什么torch,nvidia*XXX 卸载了就行了,占地方。 安装rocm的torch和onnxruntime-rocm。版本随意,用torch 2.8.0都没问题,onnxruntime-rocm是不是必须的我没来得及确认,习惯性看到onnxruntime模型的直接加上了这个。**已经确认,onnxruntime-rocm非必须。因为Rapidtable 作者只识别cuda的onnxruntime**正在尝试修改,有一点bug,table识别后的ocr倒是已经自己成功换成torch了。 PS另外一个ultimatevocalremovergui音频处理项目同理也可以这样直接用,套用cuda完美。 #为了方便卸载包,我直接贴出来 pip uninstall torch nvidia-cublas-cu12 nvidia-cuda-cupti-cu12...

Successfully built CTranslate2 for python 3.12.7 using arlo-phoneix's repo with ROCm 6.3.0.(7900xtx) Referring to the steps in README_ROCM.md, I just modified CLANG_CMAKE_CXX_COMPILER=clang++ CXX=clang++ HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" cmake -S ....

Solved this issue, I have removed the content related to DirectML from the branch v5.6.0_roformer_add+directml. Ubuntu 24.04.2, ROCm 6.4, Pytorch 2.6, onnxruntime-rocm 1.21.0 melband_roformer_instvox_duality_v2 model works OK, 5.6GB GPU memory.

> [@healy-hub](https://github.com/healy-hub) What did you remove precisely? I am trying to do the same. I'm using anaconda environment: conda create -n uvr python=3.10 conda activate uvr git clone -b v5.6.0_roformer_add+directml...

To make it more visible to people using ROCm, I shared it in the discussion.

I solved this issue by replacing the libstdc++.so.6 library. 1.Backed up libstdc++.so.6 in the Anaconda environment. cp /home/'XXX'/anaconda3/envs/'XXX'/lib/libstdc++.so.6 /home/'XXX'/anaconda3/envs/'XXX'/lib/libstdc++.so.6.back 2.Copied the libstdc++.so.6 from the AMD GPU library to the Anaconda...

> I solved this issue by replacing the libstdc++.so.6 library. > > 1.Backed up libstdc++.so.6 in the Anaconda environment. > cp /home/'XXX'/anaconda3/envs/'XXX'/lib/libstdc++.so.6 /home/'XXX'/anaconda3/envs/'XXX'/lib/libstdc++.so.6.back > 2.Copied the libstdc++.so.6 from the AMD...

> > ROCM_HOME=/opt/rocm > > Also 7900xtx with ROCm 6.1.3 > > I already > > exported ROCM_HOME=/opt/rocm > > I also use 7900xtx with ROCm 6.1.3 I suspect that...

> Issue solved, my bad. I forget to install `pytorch` in the same environment, so `import cupy` results in error. > > This solution work with ROCM 6.1.3: > >...