News for hackers. Stuff that matters.
Re:Why not tell people to “simply” use pyenv, poetry or anac... by zaptheimpaler on Friday March 31, 2023 @11:43PM (#35396892)
Python packaging is sooo fun it has given me permanent brain damage and PTSD. Now I have a docker devbox with all my language toolchains and fun unix tools installed. I could install 3 different versions of cuda, 8 different pyenv pythons all sharing parts (but not all) of each others modules with torch compiled for a 4th different version of cuda that is NOT installed, then replace the core system python with a duck. pipx has somehow installed a version of borg backup that depends on a secret hidden 9th python. Then I will simply `docker rm` and `docker compose up -d` and I'm back. Yesterday I ran a random academic paper ML model in python in 5 minutes on my docker machine. HAHAHAHAHAÀÄÄÄÄÄ i am invincible!!!!!!
Re:Why not tell people to “simply” use pyenv, poetry or anac... by jamesralph8555 on Saturday April 01, 2023 @06:21AM (#35399021)
Docker is the only way to do ML. One thing I didn’t think to do before for a while was make separate docker files for each project so all of the deps are installed automatically and that has since helped tremendously.