-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
dev: fix docker setup #460
base: main
Are you sure you want to change the base?
Conversation
noice! It fails to install dependencies on my machine though. Maybe because of linux with aarch64?
|
Without using the |
ugh, why does that break here now? It should be the same in docker and outside, no? I think we are using it, because the non cpu variant pulls in cuda, etc, which are super large and quite unnecessary for the models we are running via torch, even if one would have a cuda compatible GPU. Which setup did you use? The dev or the non dev setup? I think some problems with the dev setup are expected, because then you bind mount the venv's create by the host into the container, if those exist. I had to delete them manually to make it work, but I think this was always the case, even with the old docker setup. |
Deleting the .venv folders or using the non-dev setup sadly does not fix the problem.
In docker it should be linux-aarch64 (or linux-arm64?) outside it is darwin-aarch64, for which the version without
|
torch 2.6.0 seems to have a |
right that makes sense. I just did not expect torch to just not have a aarch64 Well I guess the easiest option is to just also not use the |
Yeah, but what does decide to use the non cpu-only variant on darwin? We are not explicitly specifying that |
Seems like we can make uv care about linux aarch64 by adding:
Then it uses more specific resolution marker in uv.lock and adds the non cpu-only torch for linux aarch64 |
dafuq... shouldn't that be |
1 similar comment
dafuq... shouldn't that be |
Hmm good question, I dont really get why adding things to |
That was what I tried first, but when I use |
to bump uv, so `required-environments` works
So bumping |
Lets see whats pyproject-nix/uv2nix#132 brings |
No description provided.