josStorer/RWKV-Runner

bad CPU type in executable: ./backend-rust/web-rwkv-converter,macos 14.5 ,AMD Radeon Pro 5700 XT 16 GB,无法使用webgpu转化,请问是不支持吗?

mianayo opened this issue · 5 comments

bad CPU type in executable: ./backend-rust/web-rwkv-converter,macos 14.5 ,3.6 GHz 十核Intel Core i9,AMD Radeon Pro 5700 XT 16 GB,无法使用webgpu转化,请问是不支持吗?

用webGPU(Python) 版转换,普通WebGPU转换器是arm架构的

用webGPU(Python) 版转换,普通WebGPU转换器是arm架构的

您好,用了webGPU(Python)版转换,显示如下,辛苦帮忙解答,感谢。
Last login: Sat Jul 20 14:03:28 on ttys012
cd /Applications/RWKV-Runner.app/Contents/MacOS/../../../ && python3 ./backend-python/convert_safetensors.py --input /Users/mianayo/.ollama/models/RWKV-x060-World-14B-v2.1-20240719-ctx4096.pth --output /Users/mianayo/.ollama/models/RWKV-x060-World-14B-v2.1-20240719-ctx4096.st
(base) mianayo@mianayodeiMac ~ % cd /Applications/RWKV-Runner.app/Contents/MacOS/../../../ && python3 ./backend-python/convert_safetensors.py --input /Users/mianayo/.ollama/models/RWKV-x060-World-14B-v2.1-20240719-ctx4096.pth --output /Users/mianayo/.ollama/models/RWKV-x060-World-14B-v2.1-20240719-ctx4096.st
OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
zsh: abort python3 ./backend-python/convert_safetensors.py --input --output
(base) mianayo@mianayodeiMac /Applications %

RWKV-x060-World-14B-v2.1-20240719-ctx4096.st

大佬可否帮忙转一个:RWKV-x060-World-14B-v2.1-20240719-ctx4096.st格式的。期待~~~

#360

感谢!