| 25 Aug 2022 |
Ethan Brooks | pytorch is a very large dependency that I won't be using. I'd like to avoid having all three of the major ML libraries -- tensorflow, torch, and jax -- as dependencies. | 00:13:55 |
Bryan | (I mean...so is tensorflow and you've already got that, but I get it) | 00:14:34 |
Ethan Brooks | Right... unfortunately a lot of jax libraries depend on tensorflow... | 00:15:10 |
Ethan Brooks | But if I could get rid of it I would! | 00:15:15 |
Bryan | So are you sure that the derivation you're building for clu is being used later on? poetry2nix does not actually read that derivation as an input, as far as I know. | 00:17:05 |
Ethan Brooks | Are you wondering if something else introduced the torch dependency? Not sure I understand. | 00:18:09 |
Bryan | No - I'm trying to make sure that I understand the provenance of the dependency itself. the clu derivation in that flake will not have any effect on the poetry2nix environment you're building later, I think? | 00:19:57 |
Bryan | Or maybe that's a "yes" :P | 00:20:13 |
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 |