News for hackers. Stuff that matters.
Re:Show HN: Tabby – A Self-Hosted GitHub Copilot by simonw on Thursday April 06, 2023 @02:41PM (#35472574)
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

Re:Show HN: Tabby – A Self-Hosted GitHub Copilot by markng on Thursday April 06, 2023 @03:04PM (#35472901)
(that said, I am currently downloading this image, and I've had problems running x86-64 stuff in docker sometimes)
Re:Show HN: Tabby – A Self-Hosted GitHub Copilot by markng on Thursday April 06, 2023 @02:57PM (#35472793)
On 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.)
Re:Show HN: Tabby – A Self-Hosted GitHub Copilot by andrewmunsell on Thursday April 06, 2023 @03:12PM (#35473010)
It doesn't seem to work for me on an M1, even with that flag

> OSError: [Errno 38] Function not implemented