Skip to content

hanlint/algorithmic-efficiency

This branch is 4266 commits behind mlcommons/algorithmic-efficiency:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

effe55a · Apr 21, 2021

History

13 Commits
Feb 15, 2021
Apr 15, 2021
Apr 6, 2021
Feb 18, 2021
Apr 6, 2021
Apr 6, 2021
Apr 15, 2021
Apr 6, 2021
Apr 15, 2021
Apr 15, 2021

Repository files navigation

MLPerf Algorithmic Efficiency

Installation

Install Bazel:

sudo apt install apt-transport-https curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update
sudo apt install bazel
sudo apt-get install python3-venv
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt

Running a workload

python3 submission_runner.py --workload=mnist --submission_path=workloads/mnist/submission.py

Note that the current MNIST example uses tf.data loaders and the Flax library for Jax models, but these may not be required dependencies for other implementations of the spec (e.g. PyTorch).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%