3 ms·
Anyone know of a quick workaround for this? % docker run \ -it --rm \ -v ./data:/data \ -v ./data/hf_cache:/home/app/.cache/huggingface \
by simonw 4y ago
Anyone know of a quick workaround for this?
% docker run \
-it --rm \
-v ./data:/data \
-v ./data/hf_cache:/home/app/.cache/huggingface \
-p 5000:5000 \
-e MODEL_NAME=TabbyML/J-350M \
tabbyml/tabby
Unable to find image 'tabbyml/tabby:latest' locally
latest: Pulling from tabbyml/tabby
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.
I have an M2 Mac. I believe Docker is capable of running images compiled for different architectures using QEMU style workarounds, but is that something I can do with a one-liner or would I need to build a new image from scratch?
Previous experiments with Docker and QEMU: https://til.simonwillison.net/docker/emulate-s390x-with-qemu https://til.simonwillison.net/docker/emulate-s390x-with-qemu
- markng 4y agoOn my M1, --platform linux/amd64 seems to work (I think I needed to turn rosetta on for this for some other stuff, I don't recall.)
- andrewmunsell 4y agoIt doesn't seem to work for me on an M1, even with that flag > OSError: [Errno 38] Function not implemented
- markng 4y ago(that said, I am currently downloading this image, and I've had problems running x86-64 stuff in docker sometimes)