for consistency
This commit is contained in:
parent
6f3fb01913
commit
0a0cabc4c7
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import ctypes
|
import ctypes
|
||||||
from pathlib import Path
|
import pathlib
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ def load_rwkv_shared_library() -> RWKVSharedLibrary:
|
||||||
# If we are in repo root directory
|
# If we are in repo root directory
|
||||||
f'bin/Release/{file_name}',
|
f'bin/Release/{file_name}',
|
||||||
# Fallback
|
# Fallback
|
||||||
Path(os.path.abspath(__file__)).parent.parent / file_name
|
pathlib.Path(os.path.abspath(__file__)).parent.parent / file_name
|
||||||
]
|
]
|
||||||
|
|
||||||
for path in paths:
|
for path in paths:
|
||||||
|
|
Loading…
Reference in New Issue