Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: bin/Release/rwkv.so: undefined symbol: max #7

Closed
RedBoxing opened this issue Apr 2, 2023 · 0 comments
Closed

OSError: bin/Release/rwkv.so: undefined symbol: max #7

RedBoxing opened this issue Apr 2, 2023 · 0 comments

Comments

@RedBoxing
Copy link

python3 rwkv/quantize.py ../RWKV-4-Pile-14B-20230313-ctx8192-test1050.bin ../RWKV-4-Pile-14B-20230313-ctx8192-test1050-Q4_1.bin 3

Traceback (most recent call last):
File "/home/redboxing/RWKV/rwkv.cpp/rwkv/quantize.py", line 28, in
main()
File "/home/redboxing/RWKV/rwkv.cpp/rwkv/quantize.py", line 17, in main
library = rwkv_cpp_shared_library.load_rwkv_shared_library()
File "/home/redboxing/RWKV/rwkv.cpp/rwkv/rwkv_cpp_shared_library.py", line 202, in load_rwkv_shared_library
return RWKVSharedLibrary(path)
File "/home/redboxing/RWKV/rwkv.cpp/rwkv/rwkv_cpp_shared_library.py", line 29, in init
self.library = ctypes.cdll.LoadLibrary(shared_library_path)
File "/usr/lib/python3.10/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: bin/Release/rwkv.so: undefined symbol: max

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant