-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add 'Size' column for models in the list command #1919
base: dev
Are you sure you want to change the base?
Conversation
…nes subcommand in the Cortex CLI
@@ -69,6 +69,24 @@ bool EngineListCmd::Exec(const std::string& host, int port) { | |||
selected_variant_result.value()["version"].asString()); | |||
} | |||
|
|||
std::unordered_map<std::string, std::string> variantSizeMapping; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use snake_case for variables. It would be nice if variantSizeMapping
and releaseData
were in the snake case format as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done Fixes in the latest commit in this PR. Please check
Isn't this just listing the size as downloaded from GitHub? This command ( This way it is showing a ~4.5MB engine installed on my systems as only 1.5MB (compressed inside a zip) |
Hey @ohaiibuzzle . Modified the code to include both download size and size on system |
Describe Your Changes
Fixes Issues
Self Checklist