Skip to content

talmolab/conda_packages

Repository files navigation

sleap/conda_packages

Build TensorFlow TensorFlow package


This repository contains conda build recipes and GitHub Actions workflows for building some common pip dependencies.

This serves primarily to support SLEAP (talmolab/sleap) by keeping big dependencies in a separate conda package rather than packaging them with SLEAP every time.

The packages can be browsed online at the Anaconda sleap channel.

Note: Packages are built for Python 3.7.

To install the compiled packages, just specify the channel, for example:

  • Create a new environment: conda create -c sleap -n my_env tensorflow=2.10.1
  • Install in existing environment: conda install -c sleap tensorflow=2.10.1
  • Include in a environment.yml dependencies section: sleap::tensorflow=2.10.1

This can be installed with or without GPU support since TensorFlow will now run in CPU mode if the CUDA drivers are not detected.

To enable GPU support, install CUDA Toolkit 11.3.1 and CuDNN 8.2.1. You can install these at the system level, or through existing conda packages:

Quick install with GPU support

conda create -n my_env -c conda-forge -c nvidia -c sleap -c anaconda python=3.7 tensorflow=2.10 cudatoolkit=11.3 cudnn=8.2 cuda-nvcc=11.3

This will create an environment called my_env with TensorFlow and GPU support.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published