Skip to content
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

fix: require sudo for cortex update #1318

Merged
merged 2 commits into from
Sep 24, 2024
Merged

fix: require sudo for cortex update #1318

merged 2 commits into from
Sep 24, 2024

Conversation

vansangpfiev
Copy link
Contributor

Describe Your Changes

Require user to run cortex update with sudo

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Copy link
Contributor

@hiento09 hiento09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@vansangpfiev vansangpfiev merged commit 623e870 into dev Sep 24, 2024
4 checks passed
@vansangpfiev vansangpfiev deleted the feat/sudo branch September 24, 2024 02:24
nguyenhoangthuan99 added a commit that referenced this pull request Sep 24, 2024
* Model update command/api

* fix: resume download failed

Signed-off-by: James <[email protected]>

* fix: align github syntax for cuda (#1316)

* fix: require sudo for cortex update (#1318)

* fix: require sudo for cortex update

* fix: comment

* refactor code

* Format code

* Add clean up when finish test

* remove model.list after finish test

* Fix windows CI build

---------

Signed-off-by: James <[email protected]>
Co-authored-by: James <[email protected]>
Co-authored-by: vansangpfiev <[email protected]>
nguyenhoangthuan99 added a commit that referenced this pull request Sep 24, 2024
* feat: pulling interact with new model.list

* feat: return model id when download model success

* feat: model delete for new model.list (#1317)

* feat: models delete for new models data folder structure

* feat: delete model

* feat: cortex chat/run/models start with new model data structure (#1301)

* feat: cortex chat/run/models start with new model data structure

* temp

* fix: use model_id from model service and std::get_line

* f:m

* Model update command/api (#1309)

* Model update command/api

* fix: resume download failed

Signed-off-by: James <[email protected]>

* fix: align github syntax for cuda (#1316)

* fix: require sudo for cortex update (#1318)

* fix: require sudo for cortex update

* fix: comment

* refactor code

* Format code

* Add clean up when finish test

* remove model.list after finish test

* Fix windows CI build

---------

Signed-off-by: James <[email protected]>
Co-authored-by: James <[email protected]>
Co-authored-by: vansangpfiev <[email protected]>

* Add more fields to handle when update

---------

Signed-off-by: James <[email protected]>
Co-authored-by: James <[email protected]>
Co-authored-by: vansangpfiev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants