| 25 Aug 2022 |
Bryan | In reply to @ethanabrooks:matrix.org I have gone through by hand and edited torch out of my poetry.lock. Where is poetry2nix getting the torch requirement from? I should note that poetry.lock should not be hand edited. Kinda defeats the purpose. | 00:21:11 |
Ethan Brooks | Right I get that I was just trying to see if that would fix it and then I could figure out how to do it the right way | 00:21:40 |
Bryan | Just want to make that clear to everyone playing along at home too :) | 00:22:15 |
Bryan | Can I see the unedited lock file? | 00:22:41 |
Ethan Brooks | sure one sec | 00:22:48 |
Bryan | If you're interested, it might be less onerous to use ix.io rather than gists. I don't mind either one, but I find ix,io easier to use quickly :) | 00:24:16 |
Bryan | * If you're interested, it might be less onerous to use ix.io rather than gists. I don't mind either one, but I find ix.io easier to use quickly :) | 00:24:23 |
Ethan Brooks | That is pretty cool | 00:24:46 |
Ethan Brooks | One sec | 00:24:51 |
Ethan Brooks |
http://ix.io/48xY | 00:25:38 |
Ethan Brooks | Thanks for introducing me to that. | 00:25:51 |
Bryan | This is the pyproject.lock for https://gist.github.com/ethanabrooks/99a420a1fa4ce9e9488c9fc409d02cd4? | 00:27:27 |
Ethan Brooks | That one is the hand-edited one | 00:27:54 |
Ethan Brooks | the ix.io one is the ethanabrooks-edited | 00:28:03 |
Ethan Brooks | * the ix.io one is the un-edited | 00:28:13 |
Bryan | but the pyproject.toml is the same for those? | 00:31:20 |
Ethan Brooks | right | 00:31:32 |
Ethan Brooks | http://ix.io/48xZ | 00:32:01 |
Bryan | oh - you commented out the clu dependency. | 00:32:43 |
Ethan Brooks | Oh! one sec | 00:33:00 |
Ethan Brooks | I forgot that I did that | 00:33:04 |
Ethan Brooks | Let me produce the poetry.lock again | 00:33:10 |
Ethan Brooks | http://ix.io/48y0 | 00:33:42 |
Ethan Brooks | By the way, I unfortunately have to sign off soon. I'll check back in tomorrow morning. | 00:34:40 |
Bryan | I suspect it is coming in from the test extra, maybe? | 00:36:01 |
Ethan Brooks | Looks like both extras depend on torch: https://github.com/google/CommonLoopUtils/blob/ae20d61ace3f8f330a60f1526ac9ceb82a446199/setup.py#L58 | 00:36:38 |
Bryan | Yes - both test and pytorch extras depend on torch. | 00:37:04 |
Bryan | I genuinely have no idea what is happening with this dependency. I'm unsure which extra it is trying to install automatically. | 00:42:23 |
Bryan | But I expect it MUST be attempting to install the extra automatically. Either from clu or from flax (which has a testing extra that depends on pytorch) | 00:43:32 |
Bryan | If you get a chance, I think seeing the full output of the build log would also help. Recognize you need to go though. I can check back in the morning :) | 00:45:29 |