Comments (4)
By default, the mlock parameter defaults to True in this application, but False in oobabuga, which is why I think you're seeing different results.
The reason why mlock fails is probably because mlock is limited on your system. If you are on Linux, consider using the 'ulimit -l unlimited' option. or, pass 'use_mlock=False' to your LlamaCppModel. Actually, you shouldn't have any problems using it without mlock.
from llama-api.
I already set ulimit to unlimited. I will try use_mlock=False. Thanks!
from llama-api.
That worked. I no longer get the error. THANKS!
from llama-api.
how can I use_mlock=False on docker setup please
from llama-api.
Related Issues (20)
- Dumb question: definitions.py model parameters HOT 2
- Is there a way to use this on google Colab and have the url be public? HOT 1
- model_definitions.py HOT 3
- Generation stops at 251 tokens - works fine on oobabooga HOT 3
- Support for ExLlama V2 HOT 2
- Set number of cores being used on cpu? HOT 2
- BUG: I found the model path bug! HOT 2
- Long generations dont return data but server says 200 OK. Swagger screen just says LOADING forever. HOT 5
- Any way to define embeddings model in model_definitions.py? HOT 1
- exllamav2 HOT 2
- exllama GPU split HOT 1
- Zephyr7b gives gobbly gook output but Mistral7b works fine.
- how to run this api in cpu only mode HOT 1
- How can I use a specific prompt template?
- Support min_p sampler
- Usage of embedding through langchain
- High RAM and CPU usage
- Stopped working after enabling CUDA
- Proxy to openAI HOT 2
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 llama-api.