Updated package to build with skbuild

This commit is contained in:
Andrei Betlen
2023-03-23 13:54:14 -04:00
parent 5bd6efb18a
commit 465238b179
5 changed files with 25 additions and 37 deletions

View File

@@ -5,7 +5,7 @@ from ctypes import c_int, c_float, c_double, c_char_p, c_void_p, c_bool, POINTER
import pathlib
# Load the library
libfile = pathlib.Path(__file__).parent.parent / "libllama.so"
libfile = pathlib.Path(__file__).parent / "libllama.so"
lib = ctypes.CDLL(str(libfile))