Comments (5)
brand new virtualenv 3.10
The langchain I have a upstream PR for it.
from openllm.
Could you please share how you created the virtual environment?
And the url of the PR in langchain to be able to track?
Thanks
from openllm.
venv () {
name="${1:-venv}"
if [[ ! -d "$name" ]]
then
pip freeze | grep "virtualenv" &> /dev/null || pip install virtualenv
python -m virtualenv "$name" --download
source "$name/bin/activate"
pip install "protobuf<3.20"
else
source "$name/bin/activate"
fi
}
from openllm.
Thanks!
Regarding the installation is not working neither, this is the full stack:
It is recommended to specify the backend explicitly. Cascading backend might lead to unexpected behaviour.
Traceback (most recent call last):
File "/home/user/projects/sandbox/test/.venv/bin/openllm", line 8, in <module>
sys.exit(cli())
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/openllm_cli/entrypoint.py", line 160, in wrapper
return_value = func(*args, **attrs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/openllm_cli/entrypoint.py", line 141, in wrapper
return f(*args, **attrs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/openllm_cli/entrypoint.py", line 366, in start_command
llm = openllm.LLM[t.Any, t.Any](
File "/usr/lib/python3.10/typing.py", line 957, in __call__
result = self.__origin__(*args, **kwargs)
File "/home/user/projects/sandbox/test/.venv/lib/python3.10/site-packages/openllm/_llm.py", line 205, in __init__
quantise=getattr(self._Quantise, backend)(self, quantize),
TypeError: getattr(): attribute name must be string
Anyway, I can fix it with:
pip install openllm[vllm]
Apparently this is a problem on my side, so I close the issue.
from openllm.
Related Issues (20)
- bug: Model is not found in BentoML store, you may need to run bentoml models pull first HOT 2
- /v1/chat/completions endpoint not responding - ValueError: The number of required GPUs exceeds the total number of available GPUs in the cluster. HOT 7
- feat: Avoid downloading the same model twice when only backend is different
- bug: Error While loading Mistral and Llama on T4 GPU HOT 6
- bug: Response Payload not generated HOT 3
- feat: Function Calling Support HOT 1
- running openllm start opt or falcon for the first time fails HOT 12
- feat(openai): chat completions logprobs
- RuntimeError: "addmm_impl_cpu_" not implemented for 'Half' HOT 2
- bug: fail to start service in quickstarts HOT 1
- Inference Speed comparison HOT 1
- how to stop generation stream? HOT 3
- bug: TypeError: attribute name must be string, not 'NoneType' HOT 5
- who can give me the openllm request and response format? HOT 1
- bug: cannot load local model by model-id
- bug: Output text from CompletionChunk is different with tokenizer.decode HOT 7
- bug: microsoft/phi-2 hangs on macos i7
- bug: Linux Mint: The Service throws errors when getting model-requests HOT 1
- Docker image for version 0.4.41 not built
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 openllm.