diff --git a/Runtime/LLM.cs b/Runtime/LLM.cs index 0d3515d5..e94d3d59 100644 --- a/Runtime/LLM.cs +++ b/Runtime/LLM.cs @@ -254,15 +254,8 @@ private void RunServerCommand(string exe, string args) { string binary = exe; string arguments = args; - - List<(string, string)> environment = null; if (Application.platform == RuntimePlatform.LinuxEditor || Application.platform == RuntimePlatform.LinuxPlayer) { - if (numGPULayers <= 0) - { - // prevent nvcc building if not using GPU - environment = new List<(string, string)> { ("PATH", ""), ("CUDA_PATH", "") }; - } // use APE binary directly if on Linux arguments = $"{EscapeSpaces(binary)} {arguments}"; binary = SelectApeBinary(); @@ -274,7 +267,7 @@ private void RunServerCommand(string exe, string args) binary = "sh"; } Debug.Log($"Server command: {binary} {arguments}"); - process = LLMUnitySetup.CreateProcess(binary, arguments, CheckIfListening, ProcessError, ProcessExited, environment); + process = LLMUnitySetup.CreateProcess(binary, arguments, CheckIfListening, ProcessError, ProcessExited); } private async Task StartLLMServer()