Skip to content

nutig/RayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixture of Raytraced Experts

This repository contains the code for the paper Mixture of Raytraced Experts

Repo description

  • moe.py: implementation of the mixture of experts layer;
  • routing_net.py: implementation of the routing network and the activation sequence logic;
  • train.py: main training script, which runs experiments (and stores results) based on the input config file. Requires a Weight and Biases API key to log results online;
  • baselines: contains code for running baseline tests;contains the code that defines and trains the baselines;
  • configs: contains yaml configuration files with hyperparameters for the runs;
  • plots: contains the code for generating relevant plots;
  • utils: contains utils for handling data and backbones of our models.

Setup

Recommended setup

We provide a Dockerfile, with which to create an image containing all the necessary software. CUDA 12 is required to be installed in the machine where the image is run.

Alternative setup

If you prefer to have things running locally, you can run

pip install -r requirements.txt

to install all relevant packages. As usual, using a virtual environment is highly recommended.

Licensing

See the license.

See below for further patenting details:

About

Conditional computing research: hybrid approach for stacked MoE and Early-Exit Neural Networks

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors