Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 'Utility process is not defined.' #181

Open
egberts opened this issue Feb 27, 2025 · 4 comments
Open

Error: 'Utility process is not defined.' #181

egberts opened this issue Feb 27, 2025 · 4 comments

Comments

@egberts
Copy link

egberts commented Feb 27, 2025

Crashed when I executed:

(llm) ~/work/llm$ lms get
No exact match found. Please choose a model from the list below.

! Use the arrow keys to navigate, and press enter to select.

? Select a model to download Qwen2.5 7B Instruct 1M
! Use the arrow keys to navigate, and press enter to select.

? Select an option to download Qwen2.5 7B Instruct 1M [Q4_K_M] (4.68 GB)
Downloading Qwen2.5 7B Instruct 1M [Q4_K_M] (4.68 GB)
Finalizing download...
Download completed. You can load the model with: 

    lms load qwen2.5-7b-instruct-1m

(llm) ~/work/llm$ lms load qwen2.5-7b-instruct-1m

Loading model "lmstudio-community/Qwen2.5-7B-Instruct-1M-GGUF/Qwen2.5-7B-Instruct-1M-Q4_K_M.gguf"...
[LMStudioClient][LLM] Start loading model qwen2.5-7b-instruct-1m...
Error: 

   ┌ Error ────────────────────────────────────────────────────────────────────────────────────────────────┐
   │                                                                                                       │
   │    Attempt to pull a snapshot of system resources failed. Error: 'Utility process is not defined.'    │
   │                                                                                                       │
   │                                                                                                       │
   │      </> STACK TRACE                                                                                  │
   │                                                                                                       │
   │       at loadModel (./dist/index.js:96620:83)                                                         │
   │       at Object.handler (./dist/index.js:96568:15)                                                    │
   │       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                   │
   │       at async Object.run (./dist/index.js:3159:23)                                                   │
   │       at async Object.run (./dist/index.js:2920:32)                                                   │
   │       at async runSafely (./dist/index.js:4668:24)                                                    │
   │       at async run (./dist/index.js:4653:20)                                                          │
   │                                                                                                       │
   └───────────────────────────────────────────────────────────────────────────────────────────────────────┘

(llm) ~/work/llm$ 
@yagil
Copy link
Member

yagil commented Feb 27, 2025

hello @egberts which operating system is this on?
and did you run LM Studio at least once?

@egberts
Copy link
Author

egberts commented Feb 27, 2025

lms version --json
{"version":"0.0.36"}

On Debian 12 latest update.

$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

@egberts
Copy link
Author

egberts commented Feb 27, 2025

Downloaded LM-Studio-0.3.10-6-x64.AppImage

@egberts
Copy link
Author

egberts commented Feb 27, 2025

and did you run LM Studio at least once?

Yes. A few times that the LM-Studio GUI comes up over a span of a few days before starting to use lms CLI to open the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants