parent
ea9f3f8f94
commit
e6bf16711f
|
|
@ -1,4 +1,5 @@
|
||||||
deployment
|
deployment
|
||||||
|
|
||||||
**/.git
|
**/.git
|
||||||
|
**/node_modules
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,4 @@ services:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8002/metrics"]
|
test: ["CMD", "curl", "-f", "http://localhost:8002/metrics"]
|
||||||
interval: 2s
|
interval: 2s
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
start_period: 2s
|
start_period: 120s
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ services:
|
||||||
init:
|
init:
|
||||||
image: tabbyml/tabby
|
image: tabbyml/tabby
|
||||||
container_name: tabby-init
|
container_name: tabby-init
|
||||||
command: python -m tabby.tools.model_preload --repo_id TabbyML/NeoX-70M --backend python
|
command: python -m tabby.tools.model_preload --repo_id TabbyML/NeoX-70M
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/hf_cache:/root/.cache/huggingface
|
- ./data/hf_cache:/root/.cache/huggingface
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@ def make_badge_markdown(x: ServiceInfo):
|
||||||
return f""
|
return f""
|
||||||
|
|
||||||
|
|
||||||
|
st.set_page_config(page_title="Tabby Admin")
|
||||||
|
|
||||||
st.markdown("## Tabby")
|
st.markdown("## Tabby")
|
||||||
st.markdown(" ".join(map(make_badge_markdown, SERVICES)))
|
st.markdown(" ".join(map(make_badge_markdown, SERVICES)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ class Arguments:
|
||||||
repo_id: str = field(
|
repo_id: str = field(
|
||||||
metadata={"help": "Huggingface model repository id, e.g TabbyML/NeoX-160M"}
|
metadata={"help": "Huggingface model repository id, e.g TabbyML/NeoX-160M"}
|
||||||
)
|
)
|
||||||
backend: str = "python"
|
|
||||||
prefer_local_files: bool = True
|
prefer_local_files: bool = True
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue