moniker
moniker
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
thanks!
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Oh OK, cool this gives me a lot to work with. I'll debug my setup tomorrow and keep a better eye on the model structures
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
clip, right?
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Kind of interesting behavior. I'll give that approach a try. Kind of interesting that there aren't any exceptions after 6ish hours
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Previously the huggingface library was used I think? It did expect some subdirs, and would first try to serialize relative to the main script before loading from a configured folder
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
And do exceptions not propagate to logs in the container? That's not totally clear to me
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Ok, I need to run the containers offline and can not download them on startup. Bind mounting them directly as noted in the docker compose above worked. How can they be downloaded in an offline manner and mounted into the container?
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Can you share the model cache directory on either a bind mount of the container or from a running container? I think the default now in the container might be /cache? It might be that there is a bug in the loader for at least bison_l where it does not raise an exception with missing files
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
No CPU or IO usage after a few seconds. It's on a pretty large zfs array
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
It seems like some models may have changes today, but in general models haven't changed for a bit: https://github.com/immich-app/immich/commit/165b91b068193db53b07cc4f265d11326530be3c
24 replies
IImmich
Created by moniker on 8/25/2023 in #help-desk-support
connect ECONNREFUSED 172.23.0.6:3003 - ML not starting
Setting the container to development mode did not give any helpful logs here. It seems like it may be a fastapi app, but I am unsure what the correct way to debug/triage is here
24 replies
IImmich
Created by moniker on 4/29/2023 in #help-desk-support
machine learning offline cache
Cool, cwd worked!
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- ./model-cache/yolos-tiny:/usr/src/app/hustvl/yolos-tiny
- ./model-cache/resnet-50:/usr/src/app/microsoft/resnet-50
- ./model-cache/clip-ViT-B-32:/usr/src/app/clip-ViT-B-32
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- ./model-cache/yolos-tiny:/usr/src/app/hustvl/yolos-tiny
- ./model-cache/resnet-50:/usr/src/app/microsoft/resnet-50
- ./model-cache/clip-ViT-B-32:/usr/src/app/clip-ViT-B-32
10 replies
IImmich
Created by moniker on 4/29/2023 in #help-desk-support
machine learning offline cache
Thanks
10 replies
IImmich
Created by moniker on 4/29/2023 in #help-desk-support
machine learning offline cache
OK cool, I'll give it a try. Worst comes to worst it seems like huggingface might fall back to looking for pwd/org/modelname? Definitely interesting way to make downloads easy lol
10 replies
IImmich
Created by moniker on 4/29/2023 in #help-desk-support
machine learning offline cache
It doesn't seem like any of them get loaded from cache, but it could just be erroring on the first one. Hmm would it then be in whatever cache huggingface makes by default?
10 replies
IImmich
Created by moniker on 12/11/2022 in #help-desk-support
Can't connect to api endpoint after docker-compose setup
So within my setup if someone has a nginx reverse proxy in front of the app they should include:
proxy_pass http://127.0.0.1:2283;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_pass http://127.0.0.1:2283;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
in the server block for their subdomain, provided they are running it on the same local IP
60 replies
IImmich
Created by moniker on 12/11/2022 in #help-desk-support
Can't connect to api endpoint after docker-compose setup
the first line there is what I was lacking
60 replies
IImmich
Created by moniker on 12/11/2022 in #help-desk-support
Can't connect to api endpoint after docker-compose setup
Awesome, thanks! I re-enabled the geo_ip filtering (makes sure only certain wg peers can see sites), and the app still works. So it seems like if there is a proxy in front of it there should be a similar clause to that in the immich reverse proxy:
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
60 replies
IImmich
Created by moniker on 12/11/2022 in #help-desk-support
Can't connect to api endpoint after docker-compose setup
cool it seems like it logged in! I'll have to do some debugging on my side, I also downgraded the http version with proxy_http_version 1.1;, but I didn't kill and clear the data of themmobile app
60 replies
IImmich
Created by moniker on 12/11/2022 in #help-desk-support
Can't connect to api endpoint after docker-compose setup
I had a type with the first failure, hmm that's super interesting. That check was with the geo_ip module to see if it's certain IPs
60 replies