cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
715 stars 41 forks source link

Add homebrew #165

Closed veritas9872 closed 10 months ago

veritas9872 commented 11 months ago

Add support for homebrew in the final image. It is often easier to use than apt and also allows for additional parallelism.

veritas9872 commented 11 months ago

Brew should probably be installed as user? -> Installation probably does require sudo. https://docs.brew.sh/Installation#unattended-installation

veritas9872 commented 10 months ago

Use HomeBrew's own shell environment activation for path setting.