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]