diff --git a/unsloth_zoo/llama_cpp.py b/unsloth_zoo/llama_cpp.py index 852ce3d71..8d28b2e1b 100644 --- a/unsloth_zoo/llama_cpp.py +++ b/unsloth_zoo/llama_cpp.py @@ -388,7 +388,7 @@ def install_llama_cpp( print_outputs = [] missing_packages, system_type = check_build_requirements() - sudo = do_we_need_sudo() + sudo = do_we_need_sudo(system_type) kwargs = {"sudo" : sudo, "print_output" : print_output, "print_outputs" : print_outputs, "system_type": system_type} if not missing_packages: