File tree 6 files changed +13
-4
lines changed
6 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- main
8
8
- dev
9
+ - tweaks
9
10
10
11
jobs :
11
12
build-main-image :
16
17
17
18
build-cuda-image :
18
19
uses : ./.github/workflows/build-docker-image.yaml
20
+ if : false
19
21
with :
20
22
image_name : ${{ github.repository }}
21
23
cache_id : cuda
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ __pycache__
3
3
4
4
/litellm
5
5
6
-
7
6
pipelines /*
8
- ! pipelines /.gitignore
9
7
.DS_Store
10
8
11
9
.venv
Original file line number Diff line number Diff line change 17
17
18
18
from schemas import FilterForm , OpenAIChatCompletionForm
19
19
20
+
20
21
from utils .pipelines .logger import setup_logger
21
22
22
23
logger = setup_logger (__name__ )
40
41
RESET_PIPELINES_DIR ,
41
42
)
42
43
44
+ DEBUG_PIP = os .getenv ("DEBUG_PIP" , "false" ).lower () == "true"
43
45
44
46
PIPELINES = {}
45
47
PIPELINE_MODULES = {}
@@ -112,7 +114,7 @@ def get_all_pipelines():
112
114
113
115
return pipelines
114
116
115
-
117
+
116
118
async def load_module_from_path (module_name , module_path ):
117
119
try :
118
120
await install_requirements_from_file (module_path )
@@ -629,7 +631,7 @@ def job():
629
631
630
632
pipeline = app .state .PIPELINES [form_data .model ]
631
633
pipeline_id = form_data .model
632
-
634
+
633
635
logger .info (f"stream:true:{ res } " )
634
636
635
637
if pipeline ["type" ] == "manifold" :
Original file line number Diff line number Diff line change
1
+ Subproject commit 6ab7c6d1a47be31116166d9cdef359dcd1206189
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
+
3
+ # Check for required commands
4
+ command -v git > /dev/null 2>&1 || { echo >&2 " git is not installed. Aborting." ; exit 1; }
5
+ command -v curl > /dev/null 2>&1 || { echo >&2 " curl is not installed. Aborting." ; exit 1; }
6
+ command -v pip > /dev/null 2>&1 || { echo >&2 " pip is not installed. Aborting." ; exit 1; }
7
+
2
8
PORT=" ${PORT:- 9099} "
3
9
HOST=" ${HOST:- 0.0.0.0} "
4
10
You can’t perform that action at this time.
0 commit comments