Merge pull request #13 from pixelkaiser/rwkv-macos

we actually build a dylib on macos
This commit is contained in:
Alexander 2023-04-04 14:24:21 +05:00 committed by GitHub
commit 77e19980e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ def load_rwkv_shared_library() -> RWKVSharedLibrary:
if 'win32' in sys.platform or 'cygwin' in sys.platform:
file_name = 'rwkv.dll'
elif 'darwin' in sys.platform:
file_name = 'rwkv.o'
file_name = 'librwkv.dylib'
else:
file_name = 'librwkv.so'