Re:Python Best Practices for a New Project in 2021
by karxxm on Monday July 05, 2021 @07:26AM
(#27736783)
Yup, especially when you are working with os-level dependencies like cuda, conda is the way to go. I think every tensorflow user can approve
[ Parent
| on HN ]
Re:Python Best Practices for a New Project in 2021
by dijksterhuis on Monday July 05, 2021 @08:58AM
(#27737467)
Quite confused about this comment as many of the latest tensorflow V2 releases aren't reliably uploaded to conda forge. IIRC there's only like 4 or so of the V2 releases uploaded.
You can conda install the CUDA dependencies and then install the required Tensorflow version via conda pip. But that's not much different to installing CUDA manually and then installing tf from system pip.
It's much faster and easier to pull a tf Docker image as it's their "officially supported" way to get up and running.
So... as a tf user and a sysadmin... Nah. No conda for me thanks.
Re:Python Best Practices for a New Project in 2021
by karxxm on Monday July 05, 2021 @09:06AM
(#27737541)
One project uses tf 2.1, one uses 1.15 and the other 2.4 ... for me it is much more convenient to have 3 envs rather than 3 containers or switching the system cuda as needed...
I especially had problems debugging through docker containers back in the days, therefore i never picked it up again.
Re:Python Best Practices for a New Project in 2021
by codethief on Monday July 05, 2021 @07:44AM
(#27736921)
…unless you're working on a project for arm64-based IoT devices (like Nvidia Jetson), where Conda is not available.
Re:Python Best Practices for a New Project in 2021
by hantusk on Monday July 05, 2021 @07:51AM
(#27736979)
Does it not work with miniforge/mambaforge? (https://github.com/conda-forge/miniforge)
I use this with my m1 mac, and it works great.
Re:Python Best Practices for a New Project in 2021
by wdroz on Monday July 05, 2021 @07:52AM
(#27736981)
conda is now available[1] for arm64 (since March[2]).
[1] -- https://docs.conda.io/en/latest/miniconda.html#linux-install...