-
Couldn't load subscription status.
- Fork 214
llm-vllm: unify environment variable LLM_MODEL_ID #1089
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
Conversation
Use environment variable LLM_MODEL_ID to replace LLM_MODEL, so all microservices in llm catogory use the same environment variable to reduce the configuration management efforts. Signed-off-by: Lianhao Lu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR replaces only first instance of LLM_MODEL in each file, but several of the files contain multiple instances of it:
$ git grep -c [^_]LLM_MODEL[:=]
comps/llms/text-generation/README.md:5
comps/llms/text-generation/vllm/langchain/README.md:1
comps/llms/text-generation/vllm/langchain/docker_compose_llm.yaml:2
comps/llms/text-generation/vllm/langchain/launch_microservice.sh:1
comps/llms/text-generation/vllm/llama_index/README.md:1
comps/llms/text-generation/vllm/llama_index/docker_compose_llm.yaml:2
comps/llms/text-generation/vllm/llama_index/launch_microservice.sh:1
tests/llms/test_llms_text-generation_vllm_langchain_on_intel_hpu.sh:2
tests/llms/test_llms_text-generation_vllm_llamaindex_on_intel_hpu.sh:2
|
PRs containing workarounds for the bug this PR will fix: |
Already double checked, the remaining bash environment variable |
|
These are not Bash PR changes only first of those? |
Yes, the remaining |
@lianhao |
Sorry, I'm not aware of that |
Sure, but it's given to vLLM with |
|
closed as new llm-textgen doesn't have this issue |
Description
Currently, llm-vllm services use the environment variable
LLM_MODELwhile all other services in llm category are usingLLM_MODEL_ID. This PR unify all the services in llm category to use the same environment variableLLM_MODEL_IDto minimize the configuration management efforts such as docker-compose, helm, etc.Issues
n/a.Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.