mirror of
https://github.com/katanemo/plano.git
synced 2026-04-30 03:16:28 +02:00
release 0.2.7 (#469)
This commit is contained in:
parent
6d6c03a7e8
commit
00fb1be8a0
14 changed files with 23 additions and 17 deletions
|
|
@ -1,3 +1,6 @@
|
|||
import os
|
||||
|
||||
|
||||
KATANEMO_DOCKERHUB_REPO = "katanemo/archgw"
|
||||
KATANEMO_LOCAL_MODEL_LIST = [
|
||||
"katanemo/Arch-Guard",
|
||||
|
|
@ -8,4 +11,4 @@ SERVICE_ALL = "all"
|
|||
MODEL_SERVER_LOG_FILE = "~/archgw_logs/modelserver.log"
|
||||
ACCESS_LOG_FILES = "~/archgw_logs/access*"
|
||||
ARCHGW_DOCKER_NAME = "archgw"
|
||||
ARCHGW_DOCKER_IMAGE = "katanemo/archgw:latest"
|
||||
ARCHGW_DOCKER_IMAGE = os.getenv("ARCHGW_DOCKER_IMAGE", "katanemo/archgw:0.2.7")
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ from cli.core import (
|
|||
download_models_from_hf,
|
||||
)
|
||||
from cli.consts import (
|
||||
ARCHGW_DOCKER_IMAGE,
|
||||
KATANEMO_DOCKERHUB_REPO,
|
||||
SERVICE_NAME_ARCHGW,
|
||||
SERVICE_NAME_MODEL_SERVER,
|
||||
|
|
@ -90,6 +91,8 @@ def build(service):
|
|||
ARCHGW_DOCKERFILE,
|
||||
"-t",
|
||||
f"{KATANEMO_DOCKERHUB_REPO}:latest",
|
||||
"-t",
|
||||
f"{ARCHGW_DOCKER_IMAGE}",
|
||||
".",
|
||||
"--add-host=host.docker.internal:host-gateway",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue