From 5934e9f29ca59f368d952d99fd101ec65e2fa69e Mon Sep 17 00:00:00 2001 From: YellowRoseCx <80486540+YellowRoseCx@users.noreply.github.com> Date: Mon, 9 Oct 2023 00:30:03 -0500 Subject: [PATCH] remove test code for PR Merge --- koboldcpp.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index d99da7edae78d..b1ba8a8462a3d 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -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]