Cortex.cpp: CLI #1109
freelerobot
started this conversation in
Architecture Specs
Cortex.cpp: CLI
#1109
Replies: 2 comments 6 replies
-
CLI Syntax
Command Chains
|
Beta Was this translation helpful? Give feedback.
5 replies
-
Example: > cortex
Options:
-h,--help Print this help message and exit
--verbose Verbose logging
-v, —version Cortex version
Shortcuts:
pull Download a model by URL (or HuggingFace Repo ID)
run Start a model and interactive chat shell
Commands:
chat Sends a chat completion request
models Subcommands for managing models
embeddings Subcommands for generating embeddings
engines Subcommands for managing inference engines
API Server Commands:
ps Show running models and their status
start Start the API Server
stop Stop the API server |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal
cortex run
CLI Syntax
cortex models pull
GET
DELETE
LIST
UPDATE
cortex models delete
cortex models remove
method
vsrequired parameters
cortex engines uninstall <engine_id>
cortex engines <engine_id> uninstall
cortex engines uninstall <engine_id>
cortex engines uninstall -e <engine_id>
cortex engines uninstall <engine_id> -x <OPTIONAL_VAR>
Suggestion:
Command Chains
cortex run <model_id>
: what sequence of calls does it make?Implementation
cortex -v
#1066cortex models get <MODEL_ID>
andcortex models list
#1075cortex models delete
#1064cortex models update <MODEL_ID>
#1060cortex run model(:gguf)
#1076cortex engines list
#1074cortex engines get <engine_id>
#1073cortex engines
commands #1072cortex update
command #1087Beta Was this translation helpful? Give feedback.
All reactions