Comments (5)
Sorry, I got this error from server
not nitro
. The nitro
server will start without a model argument, just make sure to use the absolute path to the file in your request.
from nitro.
@zeozeozeo this is the default model, but you can use other models with -m MODEL_FILE
instead. The server will not start if the path is incorrect.
from nitro.
@zeozeozeo this is the default model, but you can use other models with
-m MODEL_FILE
instead. The server will not start if the path is incorrect.
hm, so to load new models I need to restart the nitro server each time?
from nitro.
I'm seeing the same issue. Regardless of what path I specify with /inferences/llamacpp/loadmodel
it attempts to load the default model.
from nitro.
Hi @zeozeozeo, sorry for the late response.
Since your OS is Windows, the llama_model_path
is a bit difference.
For example, here is my model path: "C:\Users\UserName\Downloads\nitro-win-amd64-avx2-cuda-11-7\llama-2-7b-model.gguf"
Then here is the correct request JSON to load model on Windows:
curl http://localhost:3928/inferences/llamacpp/loadmodel -d '{
"llama_model_path": "C:\\Users\\UserName\\Downloads\\nitro-win-amd64-avx2-cuda-11-7\\llama-2-7b-model.gguf",
"ctx_len": 512,
"ngl": 100,
}'
FYI, the string models/7B/ggml-model-f16.gguf
is the default model alias from llama.cpp
.
from nitro.
Related Issues (20)
- feat: Migration from coupled server to engine - Python Sub System HOT 1
- feat: Migration from coupled server to engine - llamacpp HOT 1
- feat: Migration from coupled server to engine - trt-llm
- feat: /eingines - model engines listing endpoint
- feat: Cortex Backend Auth
- bug: I'm trying to get JAN on avx with ERROR AVX2. HOT 3
- feat: integrate python-runtime as an engine
- bug: Importing Nitro/Cortex OpenAPI Specification (YAML) Files Fails in Postman, While OpenAPI Specification Files Import Successfully HOT 1
- feat: Support for multilingual embedding models and simultaneous hosting of LLM & embedding models HOT 1
- feat: Multible Documents(PDF) for Embedding HOT 1
- feat: Allow transforming sse chunk response
- bug: Cannot able to build in windows HOT 1
- feat: cortex-cpp: endpoint to returns all models HOT 1
- Quickstart setup step 4 (not working) HOT 3
- Discussion: cortex benchmark cli HOT 3
- feat: Corββtex Storage has File System Support with YAML HOT 1
- epic: Cortex supports preset configuration list HOT 1
- bug: Duplicate BOS Token in Hugging Face Chat Templates
- model id required HOT 1
- feat: cortex supports onnx engine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nitro.