Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reliable cache on M-chip Macs #2050

Open
enzokro opened this issue Nov 8, 2024 · 1 comment
Open

Reliable cache on M-chip Macs #2050

enzokro opened this issue Nov 8, 2024 · 1 comment

Comments

@enzokro
Copy link

enzokro commented Nov 8, 2024

Hi all,
Hoping someone here has come up with a solution to the eternal, annoying problem of image caches not working properly on M-chip macs. Specifically, a step like this will never properly cache, and it reruns every single time:

RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt

Has anyone come up with a patch, or best-practice way of fixing this issue? Given the large and bulky deps of ML libraries, this step makes development much slower.

Thanks in advance!

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@evilstreak evilstreak reopened this Nov 11, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@evilstreak evilstreak reopened this Nov 11, 2024
@evilstreak
Copy link
Member

Sorry, don't mind me over here fighting with our automated systems 🙄 I don't have an answer for you, but I'm happy to leave this open for a while in case someone else has one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants