josStorer / RWKV-Runner

A RWKV management and startup tool, full automation, only 8MB. And provides an interface compatible with the OpenAI API. RWKV is a large language model that is fully open source and available for commercial use.
https://www.rwkv.com
MIT License
5.05k stars 481 forks source link

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

Open mianayo opened 1 month ago

mianayo commented 1 month ago

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转化,请问是不支持吗?

josStorer commented 1 month ago

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

mianayo commented 1 month ago

用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 %

mianayo commented 1 month ago

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

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

josStorer commented 1 month ago

360

mianayo commented 1 month ago

360

感谢!