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

bug: Cant run cortex and cortex-nightly at the same time #1478

Closed
2 of 6 tasks
gabrielle-ong opened this issue Oct 15, 2024 · 3 comments
Closed
2 of 6 tasks

bug: Cant run cortex and cortex-nightly at the same time #1478

gabrielle-ong opened this issue Oct 15, 2024 · 3 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@gabrielle-ong
Copy link
Contributor

gabrielle-ong commented Oct 15, 2024

Cortex version

v1.0.0 Stable and Nightly-168

Describe the Bug

Mac M1 Sillicon, tried with both mac universal network and local installers

Overall: Installed cortex then cortex-nightly -> can only run cortex-nightly

Installation:

  1. Download both cortex and cortex-nightly installers
  2. Install one of them eg cortex, cortex successfully runs
  3. Install cortex-nightly, cortex-nightly successfully runs
  4. try cortex again, no command found

In addition, I notice that in Mac /usr/local/bin (where uninstall scripts are),
Installed cortex then cortex-nightly ->
cortex and cortex-uninstall.sh is removed, replaced with cortex-nightly and cortex-nightly-uninstall.sh
I did not delete any files, just installed cortex then cortex-nightly
I would have expected to see both cortex AND cortex-nightly
image

Steps to Reproduce

No response

Screenshots / Logs

No response

What is your OS?

  • MacOS
  • Windows
  • Linux

What engine are you running?

  • cortex.llamacpp (default)
  • cortex.tensorrt-llm (Nvidia GPUs)
  • cortex.onnx (NPUs, DirectML)
@gabrielle-ong
Copy link
Contributor Author

Hi @hiento09 I upgraded to cortex-nightly-169, then redownloaded cortex-stable but still have the issue
Does cortex-stable need to be updated too?
image

@hiento09
Copy link
Contributor

Hi @gabrielle-ong , you will need to uninstall the old nightly versions and install the new version of Cortex Nightly, but you can keep the stable version as it is.

I want to explain the reason why we encountered this issue. When I created the package file, I mistakenly used the same name for all three versions—stable, beta, and nightly—as 'stable,' which caused the app to have the same name across versions. As a result, macOS automatically removed the old files during installation. Currently, the stable version is fine because its name is correct, but the nightly and beta versions are mislabeled. After my fix, users will need to uninstall the old nightly and beta versions and reinstall them for everything to work properly.

@gabrielle-ong
Copy link
Contributor Author

I see, thanks @hiento09 for explaining and resolving! Marking as Complete - issue is fixed after reinstalling nightly.

@github-project-automation github-project-automation bot moved this from Investigating to Review + QA in Menlo Oct 16, 2024
@gabrielle-ong gabrielle-ong moved this from Review + QA to Completed in Menlo Oct 16, 2024
@gabrielle-ong gabrielle-ong added this to the v1.0.1 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants