Packages necessary for sleap build maintained by the SLEAP team.
There is a Github Actions workflow build_tensorflow.yml
that uses Github runners to build packages for us (and upload them to the sleap-deps/label/dev
channel). But, if you would like to locally build and test the tensorflow package:
-
Create the tensorflow build environment:
mamba env create -f environment.tensorflow.yml -n tf
-
Activate the tensorflow build environment:
mamba activate tf
-
Build the tensorflow conda package:
conda build --debug .conda.tensorflow --output-folder build.tensorflow -c conda-forge
conda build --debug .conda.tensorflow_macos --output-folder build.tensorflow -c conda-forge
-
Test the conda package:
mamba create -n tf_build -c ./build.tensorflow -c conda-forge tensorflow