You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DISCLAIMER
As explained here pytorch/pytorch#81224, Metal / MPS is not supported via Docker. As such inference will be CPU bound and most likely pretty slow when using this docker image on an M1/M2 ARM CPU.
That dependency was added without much context in Nov 2024 via this PR. There's a separate Intel optimized Dockerfile that is implemented a little differently, so it's a bit unclear why that was brought into a generic CPU image 🤷♂
Presumably the package is no longer available with the version pinned. You could try editing the Dockerfile to remove the =2024.0.0-49656 portion and see if that works.
Version pinning deps can be important, but in doing so for that to work reliably over time other deps including the base image should be pinned with care taken when updating the image (or just building at a later date depending on any deps not version pinned).
Oh right... that dep is probably x86_64 arch only for Intel, so you'd probably need to avoid that entirely (like the Dockerfile prior to that PR, or compare to the current Dockerfile and remove the changes the PR introduced).
System Info
This solution from README doesn't work
It raises error:
Information
Tasks
Reproduction
docker build . -f Dockerfile --platform=linux/arm64
Expected behavior
There should be way to use this project as a part of docker compose (for development).
The text was updated successfully, but these errors were encountered: