Re:Run Stable Diffusion on Your M1 Mac’s GPU
by mrtksn on Friday September 02, 2022 @03:14AM
(#32687603)
It's not just the python, this is the experience practically everywhere and that's why people create containers etc. It's excruciatingly hard to setup the environment to start doing anything productive these days, you can't just start coding unless you use an IDE like Xcode or PyCharm.
[ Parent
| on HN ]
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.
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.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by konart on Friday September 02, 2022 @05:42AM
(#32688716)
Not sure about that. Golang or Rust have no such problem in my experience.
Re:Run Stable Diffusion on Your M1 Mac’s GPU
by mrtksn on Friday September 02, 2022 @06:04AM
(#32688833)
Maybe the difference is the legacy and the community? Golang and Rust kind of languages are geared toward software engineers and are pretty new, meanwhile things like Python or JS or anything very popular are used as tools by people great at things that are not necessarily in the domain of software engineering but they created very useful libraries and tools regardless which usually means piles and layers of very useful code that has poor engineering.