-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
"Unable to locate package conda" on docker compose up
#1315
Comments
|
I got the same issue, running with "colima" on MacOS with k3d + containerd.
And thinking this could be the reason: But according to anaconda's official site, it should already have ARM64 builds, so the reason should be the missing ARM64 builds in the APT repo? |
Disclaimer: I'm a random person, that spent 10 min. looking at this project. Seems like conda package is only available for amd64:
I would recommend replacing https://github.com/mudler/LocalAI/blob/master/Dockerfile#L60-L66 with something like:
Also, I'm not sure if you get the benefits from metal framework with Linux kernel. |
I just went to anaconda.com, downloaded, installed, removed https://github.com/mudler/LocalAI/blob/master/Dockerfile#L60-L66 altogether and it went through. The build takes forever though. Until (TBC)
|
@i11 I tried it with your suggestion, but then I got the following error: |
services:
api:
...
build:
...
+ platforms:
+ - "linux/amd64" This should help |
With this it goes further, but then the following error is thrown:
seems to be an error while building the "go-ggml-transformers" dependency; more specifically, during the CMake configuration process in the tests/CMakeLists.txt file |
That should be fixed once #1689 is merged |
Conda is still blocking me from completing the build, even after modifying my Dockerfile per @i11 recommendation. Any tips? Here is my docker-compose file:
And here is my modified DockerFile per @i11 quick recommendation (which did get me past the original
|
LocalAI version:
https://github.com/mudler/LocalAI/tree/20d637e7b70cf0e15e6bf255ab2e4c080ddde2b0 (some commits above https://github.com/mudler/LocalAI/tree/v1.40.0)
Environment, CPU architecture, OS, and Version:
I am on a MacBook Pro with macOS Ventura 13.5.2:
Describe the bug
To Reproduce
Run
docker compose up
Expected behavior
I expect
docker compose up
to workLogs
See above
Additional context
docker compose up
works as of https://github.com/mudler/LocalAI/tree/v1.40.0The text was updated successfully, but these errors were encountered: