bug: [0.5.11] Model failed to start with error Could not load engine llama-cpp: Default engine variant for cortex.llamacpp is not set yet!
#4331
Labels
Jan version
0.5.11
Describe the Bug
This is my first time running Jan. I downloaded the AppImage, ran it, downloaded the TinyLlama model and then typed hello in the chat, and got the following error message:
Model tinyllama-1.1b failed to start. Model failed to start: Could not load engine llama-cpp: Default engine variant for cortex.llamacpp is not set yet!
All settings are as default. No changes have been made.
I tried importing a local LM Studio model and got the same error. I can't find a setting anywhere to set the default engine variant. I'm new to LLMs so maybe I'm just doing something wrong. I followed the youtube videos and searched the online docs. Searched startpage for the error message and came out empty.
I'm on Ubuntu 22.04 LTS. I have 64GB RAM and an RTX2060 (6GB).
Steps to Reproduce
Screenshots / Logs
2024-12-24T14:24:29.644Z [SPECS]::0, 6144, NVIDIA GeForce RTX 2060
2024-12-24T14:24:29.646Z [APP]::{"notify":true,"run_mode":"gpu","nvidia_driver":{"exist":true,"version":"550.120"},"cuda":{"exist":true,"version":"12"},"gpus":[{"id":"0","vram":"6144","name":"NVIDIA GeForce RTX 2060","arch":"unknown"}],"gpu_highest_vram":"0","gpus_in_use":["0"],"is_initial":false,"vulkan":false}
2024-12-24T14:24:29.668Z [CORTEX]:: Spawning cortex subprocess...
2024-12-24T14:24:29.669Z [CORTEX]:: Cortex engine path: /tmp/.mount_jan-liGvWI8R/resources/app.asar.unpacked/shared
2024-12-24T14:24:29.669Z [CORTEX]:: Spawn cortex at path: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server
2024-12-24T14:24:29.670Z [APP]::Terminating watched process...
2024-12-24T14:24:29.670Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/val/.config/Jan/data
2024-12-24T14:24:29.912Z [APP]::Process error: terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: cannot create directories: Read-only file system [/tmp/.mount_jan-liGvWI8R/resources/app.asar.unpacked/shared/engines/cortex.tensorrt-llm/deps]
2024-12-24T14:24:29.913Z [APP]::Error: Error [ERR_UNHANDLED_ERROR]: Unhandled error. ("terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'\n" +
' what(): filesystem error: cannot create directories: Read-only file system [/tmp/.mount_jan-liGvWI8R/resources/app.asar.unpacked/shared/engines/cortex.tensorrt-llm/deps]\n')
2024-12-24T14:24:34.914Z [APP]::Process output: 20241224 14:24:29.697219 UTC 2418171 INFO Config file not found. Creating one at jan-data-folder/.janrc - file_manager_utils.h:215
20241224 14:24:29.697291 UTC 2418171 INFO Default data folder path: /home/val/.config/Jan/data - file_manager_utils.h:217
Host: 127.0.0.1 Port: 39291
2024-12-24T14:24:34.914Z [APP]::Process error: Could not start server
2024-12-24T14:24:34.915Z [APP]::Error: Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('Could not start server\n')
2024-12-24T14:24:34.916Z [APP]::Process exited with code 0
2024-12-24T14:24:34.916Z [APP]::Restarting process in 5000ms (Attempt 1/5)
2024-12-24T14:24:39.841Z [CORTEX]: CPU instruction: avx2
2024-12-24T14:24:39.842Z [CORTEX]: Engine variant: linux-amd64-avx2-cuda-12-0
2024-12-24T14:24:39.917Z [APP]::Starting process: jan-data-folder/extensions/@janhq/inference-cortex-extension/dist/bin/cortex-server --start-server --port 39291 --config_file_path jan-data-folder/.janrc --data_folder_path /home/val/.config/Jan/data
What is your OS?
The text was updated successfully, but these errors were encountered: