llm-vllm: unify environment variable LLM_MODEL_ID#1089
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 <lianhao.lu@intel.com>
There was a problem hiding this comment.
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.