Comments (3)
@Anto79-ops from your logs looks like you are actually building the image rather then pulling it.
Can you share your docker-compose file?
from localai.
Good day, @mudler it might have been a server error, i tried to again and it finished the download and it is now working. My docker compose file is below, if you wanted to see it anyways.
version: '3.9'
services:
api:
# See https://localai.io/basics/getting_started/#container-images for
# a list of available container images (or build your own with the provided Dockerfile)
# Available images with CUDA, ROCm, SYCL
# Image list (quay.io): https://quay.io/repository/go-skynet/local-ai?tab=tags
# Image list (dockerhub): https://hub.docker.com/r/localai/localai
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 2
capabilities: ["gpu"]
image: quay.io/go-skynet/local-ai:master-cublas-cuda12-ffmpeg
build:
context: .
dockerfile: Dockerfile
args:
- IMAGE_TYPE=core
- BASE_IMAGE=ubuntu:22.04
ports:
- 8080:8080
env_file:
- .env
environment:
- MODELS_PATH=/models
- DEBUG=true
volumes:
- /home/antonio/scratch/localai_models:/models
- ./images/:/tmp/generated/images/
command:
# Here we can specify a list of models to run (see quickstart https://localai.io/basics/getting_started/#running-models )
# or an URL pointing to a YAML configuration file, for example:
# - https://gist.githubusercontent.com/mudler/ad601a0488b497b69ec549150d9edd18/raw/a8a8869ef1bb7e3830bf5c0bae29a0cce991ff8d/phi-2.yaml
- phi-2
there is one (maybe unrelated) error in the log about failled authority 509, which could be my firewall. Is there a way to make downloads for LocalAI ignore these certificate requiremets etc? thanks
3:04PM INF loading environment variables from file envFile=.env
3:04PM INF Setting logging to debug
3:04PM INF Starting LocalAI using 2 threads, with models path: /models
3:04PM INF LocalAI version: 0e54942 (0e549424e782e315ee166efdb1cba77a1a4a750b)
3:04PM DBG [startup] resolved model to download: github://mudler/LocalAI/examples/configurations/phi-2.yaml@master
3:04PM INF Downloading "https://raw.githubusercontent.com/mudler/LocalAI/master/examples/configurations/phi-2.yaml"
3:04PM ERR error downloading model error="failed to download file \"/models/1701d57f28d47552516c2b6ecc3cc719.yaml\": Get \"https://raw.githubusercontent.com/mudler/LocalAI/master/examples/configurations/phi-2.yaml\": tls: failed to verify certificate: x509: certificate signed by unknown authority" filepath=/models/1701d57f28d47552516c2b6ecc3cc719.yaml url=github://mudler/LocalAI/examples/configurations/phi-2.yaml@master
3:04PM INF Preloading models from /models
from localai.
Good day, @Anto79-ops. Thank you for providing the additional information. It seems that the issue you encountered was indeed a server error, as you were able to successfully pull the image after a few attempts.
Regarding your question about ignoring certificate requirements during downloads for LocalAI, you can disable certificate verification by adding --insecure-registry
flag when pulling the Docker image. In your case, if you are pulling from Quay.io, you can use the following command:
docker pull --insecure-registry quay.io/go-skynet/local-ai:master-cublas-cuda12-ffmpeg
This command will bypass the certificate verification for the specified registry during the image pull process.
As for the 4fadada67c94
failure during the download of the v2.12.4-cublas-cuda12-ffmpeg
image, it appears to be a networking or connectivity issue. The error message indicates that the download stopped and started repeatedly before eventually failing at 100%. This could be due to network congestion, intermittent connectivity issues, or a temporary server problem. I would recommend trying again after some time or contacting the Quay.io support if the issue persists.
If you have any further questions or issues, please let me know.
from localai.
Related Issues (20)
- Absolute paths not being respected in model configs HOT 2
- Templates cannot be outside models directory, models can HOT 2
- Support Rockchip RK3588 / NPU / Mali-G610 GPU HOT 4
- wired and missing api calls in /metrics HOT 2
- Fail to select GPU when OpenVINO returns multiple GPUs HOT 4
- OpenVINO on Arc A770 exception `Check 'written_size == size' ` HOT 3
- Italian ramblings? HOT 1
- Italian ramblings... HOT 4
- OpenVINO A770 segfaults after some number of tokens HOT 6
- GRPC Service Not Ready HOT 10
- Response needs to process functions [panic: Unrecognized schema: map[]] HOT 28
- WebUI: 'Authorization header missing' HOT 8
- docker compose up start failure HOT 1
- UI: Model Gallery: indicate trust_remote_code HOT 6
- Loading UI produces an error on M3 MBP HOT 3
- Mode tts, gpt4 or vision frozes from time to time without timeout HOT 5
- New `gpt-4-vision-preview` is pretty bad compared with older versions HOT 1
- Go versioning HOT 1
- Error running transcriptions on M2 MacBook Pro HOT 1
- Image Generation: ModuleNotFoundError: No module named 'PIL' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from localai.