Skip to content

automatic/analytical differentiation benchmark

Notifications You must be signed in to change notification settings

jgallowa07/autodiff-experiments

 
 

Repository files navigation

autodiff-experiments

Docker Image CI

This benchmark compares the efficiency and accuracy of ...

Program Language Framework Gradient BITO
physher C analytic
phylostan Stan Stan autodiff
phylojax python JAX autodiff
torchtree python PyTorch autodiff yes
treeflow python TensorFlow autodiff yes

The gradient of the tree likelihood is optionaly computed by BITO, an efficient C++ library that analytically calculate the gradient using the BEAGLE library. BITO is only available in treeflow and torchtree.

Dependencies

You will need to install nextflow and docker to run this benchmark. Docker is not required but it is highly recommended to use it due to the numerous dependencies.

Installation

git clone 4ment/autodiff-experiments.git

Initialize treetime_validation

git submodule update --init --recursive

Running the pipeline with docker

nextflow run 4ment/autodiff-experiments -profile docker

About

automatic/analytical differentiation benchmark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.8%
  • Other 1.2%