Skip to content

Commit

Permalink
Set mkl path on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
LLukas22 committed Oct 23, 2023
1 parent d4895e0 commit 72c6c6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions candle-pyo3/py_src/candle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def locate_mkl_dlls():
oneapi_root, "compiler", "latest", "windows", "redist", "intel64_win", "compiler"
)
else:
# Unsure of this is correct
mkl_path = os.path.join(oneapi_root, "mkl", "latest", "lib")
mkl_path = os.path.join(oneapi_root, "mkl", "latest", "lib", "intel64")

logging.warning(f"Adding {mkl_path} to DLL search path...")
os.add_dll_directory(mkl_path)
Expand Down

0 comments on commit 72c6c6b

Please sign in to comment.