mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
ensure that we can call the new api.fc.archgw.com url, logging fixes … (#142)
* ensure that we can call the new api.fc.archgw.com url, logging fixes and minor cli bug fixes * fixed a bug where model_server printed on terminal after start script stopped running * updating the logo and fixing the website styles * updated the branch with feedback from Co and Adil --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
This commit is contained in:
parent
82fc91495e
commit
3ed50e61d2
11 changed files with 70 additions and 47 deletions
|
|
@ -1 +0,0 @@
|
|||
huggingface-cli download TheBloke/Mistral-7B-Instruct-v0.2-GGUF mistral-7b-instruct-v0.2.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
||||
|
|
@ -90,6 +90,7 @@ def up(file, path):
|
|||
|
||||
# Set the ARCH_CONFIG_FILE environment variable
|
||||
env_stage = {}
|
||||
env = os.environ.copy()
|
||||
#check if access_keys are preesnt in the config file
|
||||
access_keys = get_llm_provider_access_keys(arch_config_file=arch_config_file)
|
||||
if access_keys:
|
||||
|
|
@ -118,7 +119,6 @@ def up(file, path):
|
|||
for key, value in env_stage.items():
|
||||
file.write(f"{key}={value}\n")
|
||||
|
||||
env = os.environ.copy()
|
||||
env.update(env_stage)
|
||||
env['ARCH_CONFIG_FILE'] = arch_config_file
|
||||
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ def start_arch_modelserver():
|
|||
subprocess.run(
|
||||
['archgw_modelserver', 'restart'],
|
||||
check=True,
|
||||
start_new_session=True
|
||||
)
|
||||
print("Successfull run the archgw model_server")
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ def run_docker_compose_ps(compose_file, env):
|
|||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
text=True,
|
||||
start_new_session=True,
|
||||
env=env
|
||||
)
|
||||
# Capture the output of `docker-compose ps`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue