cortex.cpp icon indicating copy to clipboard operation
cortex.cpp copied to clipboard

bug: libengine.dylib not found

Open simboonlong opened this issue 1 year ago • 4 comments

Describe the bug When cortex run llama3, libengine.dylib not found in folder.

To Reproduce Steps to reproduce the behavior:

  1. brew install cortexso
  2. cortex pull llama3
  3. cortex run llama3

Expected behavior Model should run.

Screenshots Log:

logs

Directory: directory

Strange empty Users folder gets created too. Users > <username> > cortex > telemetry.

Desktop (please complete the following information):

  • macOS: 14.2.1

simboonlong avatar Jul 31 '24 14:07 simboonlong

Hey @simboonlong could you please help upgrade to the latest version? I think those have been addressed.

Engine & Users

After installed the latest version, please try cortex engines llamacpp init

louis-jan avatar Aug 02 '24 04:08 louis-jan

This is tested to indeed work with 0.5.0-1 version. it assumes that i do a npm global install of npm i -g cortexso.

However if i do the brew install of brew install cortexso, i seem to always stuck at cortexso 0.1.1 version installed in Cellar.

simboonlong avatar Aug 02 '24 05:08 simboonlong

https://github.com/janhq/homebrew-cortexso/blob/bfcd5a09e37de50ea1bdce235b51cc059038eb79/Formula/cortexso.rb#L6

simboonlong avatar Aug 02 '24 23:08 simboonlong

@simboonlong yeah, we are resolving brew to bump to a newer update.

louis-jan avatar Aug 04 '24 15:08 louis-jan

This should be addressed when we refactoring cortex-cpp.

louis-jan avatar Aug 28 '24 03:08 louis-jan

@simboonlong FYI, we are currently re-writing Cortex to be a full C++ codebase, instead of JS + C++ as before. We will launch v0.1 in coming weeks, so expect some changes.

I'll be closing this ticket, but reference it in our MVP test coverage so we ensure this does not happen in v0.1.

dan-menlo avatar Sep 08 '24 06:09 dan-menlo