Skip to content

Commit

Permalink
Add prometheus fastai dependency for all microservices (#231)
Browse files Browse the repository at this point in the history
* add preload env in run.sh

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

* Add prometheus fastai dependency for all microservices

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

---------

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
  • Loading branch information
lvliang-intel authored Jun 21, 2024
1 parent 88a147d commit 9001783
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions comps/asr/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
optimum[habana]
prometheus-fastapi-instrumentator
pydantic==2.7.2
pydub
shortuuid
Expand Down
1 change: 1 addition & 0 deletions comps/dataprep/milvus/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ opentelemetry-exporter-otlp
opentelemetry-sdk
pandas
Pillow
prometheus-fastapi-instrumentator
pydantic==2.7.3
pymilvus==2.4.3
pymupdf==1.24.5
Expand Down
1 change: 1 addition & 0 deletions comps/dataprep/qdrant/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ opentelemetry-exporter-otlp
opentelemetry-sdk
pandas
Pillow
prometheus-fastapi-instrumentator
pymupdf
python-docx
qdrant-client
Expand Down
1 change: 1 addition & 0 deletions comps/dataprep/redis/langchain/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ opentelemetry-exporter-otlp
opentelemetry-sdk
pandas
Pillow
prometheus-fastapi-instrumentator
pymupdf
python-docx
redis
Expand Down
1 change: 1 addition & 0 deletions comps/dataprep/redis/langchain_ray/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ opentelemetry-exporter-otlp
opentelemetry-sdk
pandas
Pillow
prometheus-fastapi-instrumentator
pyarrow
pymupdf
python-docx
Expand Down
1 change: 1 addition & 0 deletions comps/dataprep/redis/llama_index/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ numpy
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
redis
sentence_transformers
shortuuid
1 change: 1 addition & 0 deletions comps/embeddings/langchain-mosec/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ openai
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
1 change: 1 addition & 0 deletions comps/embeddings/langchain/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
sentence_transformers
shortuuid
1 change: 1 addition & 0 deletions comps/embeddings/llama_index/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ llama-index-embeddings-text-embeddings-inference
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
1 change: 1 addition & 0 deletions comps/guardrails/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
1 change: 1 addition & 0 deletions comps/knowledgegraphs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ opentelemetry-sdk
pandas
pandas
Pillow
prometheus-fastapi-instrumentator
pymupdf
python-docx
redis
Expand Down
1 change: 1 addition & 0 deletions comps/llms/summarization/tgi/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/llms/text-generation/native/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/llms/text-generation/ollama/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/llms/text-generation/ray_serve/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ openai
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
ray[serve]>=2.10
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/llms/text-generation/tgi/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/llms/text-generation/vllm-xft/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
shortuuid
vllm-xft
1 change: 1 addition & 0 deletions comps/llms/text-generation/vllm/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ langserve
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
setuptools==69.5.1
shortuuid
transformers
Expand Down
1 change: 1 addition & 0 deletions comps/lvms/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
optimum[habana]
prometheus-fastapi-instrumentator
pydantic==2.7.2
pydub
shortuuid
3 changes: 2 additions & 1 deletion comps/ragas/tgi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
datasets
datasets
docarray[full]
fastapi
huggingface_hub
Expand All @@ -8,6 +8,7 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
ragas
shortuuid
transformers
1 change: 1 addition & 0 deletions comps/reranks/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
sentence_transformers
shortuuid
1 change: 1 addition & 0 deletions comps/retrievers/langchain/milvus/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ opentelemetry-exporter-otlp
opentelemetry-sdk
pandas
Pillow
prometheus-fastapi-instrumentator
pydantic==2.7.3
pymilvus==2.4.3
pymupdf==1.24.5
Expand Down
1 change: 1 addition & 0 deletions comps/retrievers/langchain/redis/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ langsmith
opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
prometheus-fastapi-instrumentator
pymupdf
redis
sentence_transformers
Expand Down
1 change: 1 addition & 0 deletions comps/tts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ opentelemetry-api
opentelemetry-exporter-otlp
opentelemetry-sdk
optimum[habana]
prometheus-fastapi-instrumentator
sentencepiece
shortuuid
torch
Expand Down

0 comments on commit 9001783

Please sign in to comment.