Skip to content

Commit

Permalink
remove test code for PR Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowRoseCx committed Oct 9, 2023
1 parent 7eb8294 commit 5934e9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions koboldcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ def init_library():
os.add_dll_directory(dir_path)
os.add_dll_directory(abs_path)
os.add_dll_directory(os.getcwd())
if libname == lib_hipblas and "HIP_PATH" in os.environ:
os.add_dll_directory(os.path.join(os.environ["HIP_PATH"], "bin"))
if args.debugmode == 1:
print(f"HIP/ROCm SDK at {os.environ['HIP_PATH']} included in .DLL load path")
handle = ctypes.CDLL(os.path.join(dir_path, libname)) #, winmode=0)

handle.load_model.argtypes = [load_model_inputs]
Expand Down

0 comments on commit 5934e9f

Please sign in to comment.