Re:Run Stable Diffusion on Your M1 Mac’s GPU
by rattray on Friday September 02, 2022 @06:12AM
(#32688890)
JS isn't perfect, but it's so much easier to deal with than Python in these regards.
[ Parent
| on HN ]
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by jeroenhd on Friday September 02, 2022 @07:09AM
(#32689237)
I've had the exact same issues with the JS ecosystem (ran into a problem where npm wouldn't work but yarn did, still haven't figured out why).
Both are easy and reliable with a few months of experience. Both are terrible if you rarely ever use them.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by rattray on Friday September 02, 2022 @11:54AM
(#32692276)
That's probably fair. I've found pyenv/venv/poetry/pipenv/pip/conda/etc more frustrating than ESM/CJS/yarn/npm/PNP/etc, but then I just do a lot less Python stuff than JS these days.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by Tenoke on Friday September 02, 2022 @06:57AM
(#32689172)
Js libs don't need to care for things like system packages and drivers as much as Python ML does.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by slumpa on Friday September 02, 2022 @08:00AM
(#32689568)
Ever tried running JS libs with C bindings? You're going to run into the exact same problems as you have running python code with C bindings.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by LudwigNagasena on Friday September 02, 2022 @07:07AM
(#32689225)
CommonJS vs ES6 module loading is already a nightmare.