mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
Merge branch 'main' into adil/add_acm_demo
This commit is contained in:
commit
a8d3abeaf1
15 changed files with 39 additions and 25 deletions
|
|
@ -19,7 +19,7 @@ source venv/bin/activate
|
|||
|
||||
### Step 3: Run the build script
|
||||
```bash
|
||||
pip install archgw==0.2.6
|
||||
pip install archgw==0.2.7
|
||||
```
|
||||
|
||||
## Uninstall Instructions: archgw CLI
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
],
|
||||
|
|
|
|||
14
arch/tools/poetry.lock
generated
14
arch/tools/poetry.lock
generated
|
|
@ -66,13 +66,13 @@ trio = ["trio (>=0.26.1)"]
|
|||
|
||||
[[package]]
|
||||
name = "archgw-modelserver"
|
||||
version = "0.2.6"
|
||||
version = "0.2.7"
|
||||
description = "A model server for serving models"
|
||||
optional = false
|
||||
python-versions = "<4.0,>=3.10"
|
||||
files = [
|
||||
{file = "archgw_modelserver-0.2.6-py3-none-any.whl", hash = "sha256:7b472404734a799aa8847a8a142275bc532c964e76f3db1a6781f84abe92c290"},
|
||||
{file = "archgw_modelserver-0.2.6.tar.gz", hash = "sha256:09186c2e2a4f61bb01366490ac1638ed67f0aa3488cdb1ec57a17c97411b9500"},
|
||||
{file = "archgw_modelserver-0.2.7-py3-none-any.whl", hash = "sha256:23a3bfb8eb172bd729d772f2337630d9143d29fc8e399a4b52e3449cf5ea90f3"},
|
||||
{file = "archgw_modelserver-0.2.7.tar.gz", hash = "sha256:828b848a745528ee6b552cd856356315ab7bc83a552404ec4a7d7db5b656709c"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
|
@ -1081,13 +1081,13 @@ files = [
|
|||
|
||||
[[package]]
|
||||
name = "openai"
|
||||
version = "1.74.0"
|
||||
version = "1.75.0"
|
||||
description = "The official Python library for the openai API"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "openai-1.74.0-py3-none-any.whl", hash = "sha256:aff3e0f9fb209836382ec112778667027f4fd6ae38bdb2334bc9e173598b092a"},
|
||||
{file = "openai-1.74.0.tar.gz", hash = "sha256:592c25b8747a7cad33a841958f5eb859a785caea9ee22b9e4f4a2ec062236526"},
|
||||
{file = "openai-1.75.0-py3-none-any.whl", hash = "sha256:fe6f932d2ded3b429ff67cc9ad118c71327db32eb9d32dd723de3acfca337125"},
|
||||
{file = "openai-1.75.0.tar.gz", hash = "sha256:fb3ea907efbdb1bcfd0c44507ad9c961afd7dce3147292b54505ecfd17be8fd1"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
|
@ -2508,4 +2508,4 @@ type = ["pytest-mypy"]
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "5cc1d766ed43530c15dfbde7710346e1b157be450bf4736eb4eed2b091efef47"
|
||||
content-hash = "59e54acc202d697a35636d5ec58b8865e6bc8d6797526df024ea93610198157f"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "archgw"
|
||||
version = "0.2.6"
|
||||
version = "0.2.7"
|
||||
description = "Python-based CLI tool to manage Arch Gateway."
|
||||
authors = ["Katanemo Labs, Inc."]
|
||||
packages = [
|
||||
|
|
@ -10,7 +10,7 @@ readme = "README.md"
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
archgw_modelserver = "^0.2.6"
|
||||
archgw_modelserver = "^0.2.7"
|
||||
click = "^8.1.7"
|
||||
jinja2 = "^3.1.4"
|
||||
jsonschema = "^4.23.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue