Skip to content

LucasGrasso/AIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Integration Time for Neural ODEs

Jax Implementation of the Adaptive Integration Time (AIT) algorithm for Neural ODEs.

Requirements

  • Linux (x86_64)
  • Python 3.11
  • NVIDIA GPU with CUDA 13 (JAX is installed with the cuda13 extra)
  • uv for dependency management

Installation

With uv (recommended):

uv sync

This creates a virtual environment in .venv/ and installs the locked dependencies from uv.lock. Run commands with uv run, e.g.:

uv run python scripts/plot_experiments.py results/ait_mnist_0.001.csv results/node_mnist_0.csv

Alternatively, install into an existing environment with pip:

pip install -e .

Reproduce the experiments:

# Make the scripts executable
chmod +x experiments/run_ait.sh
chmod +x experiments/run_node.sh

# Run the experiments
./experiments/run_ait.sh g2
./experiments/run_node.sh g2

About

Adaptive Integration Time for Neural ODES, a continuous analog of Adaptive Computation Time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors