training icon indicating copy to clipboard operation
training copied to clipboard

Add MLCube implementation for Graph Neural Network

Open davidjurado opened this issue 1 year ago • 3 comments

MLCube for Graph Neural Network

MLCube™ GitHub repository. MLCube™ wiki.

Project setup

An important requirement is that you must have Docker installed.

# Create Python environment and install MLCube Docker runner 
virtualenv -p python3 ./env && source ./env/bin/activate && pip install pip==24.0 && pip install mlcube-docker
# Fetch the implementation from GitHub
git clone https://github.com/mlcommons/training && cd ./training
git fetch origin pull/762/head:feature/mlcube_graph_nn && git checkout feature/mlcube_graph_nn
cd ./graph_neural_network/mlcube

Inside the mlcube directory run the following command to check implemented tasks.

mlcube describe

MLCube tasks

Download dataset.

mlcube run --task=download_data -Pdocker.build_strategy=always

Process dataset.

mlcube run --task=process_data -Pdocker.build_strategy=always

Train GNN.

mlcube run --task=train -Pdocker.build_strategy=always

Execute the complete pipeline

You can execute the complete pipeline with one single command.

mlcube run --task=download_data,process_data,train -Pdocker.build_strategy=always

davidjurado avatar Aug 09 '24 15:08 davidjurado

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

github-actions[bot] avatar Aug 09 '24 15:08 github-actions[bot]

@drcanchi @LiSu can you please review these changes?

ShriyaRishab avatar Aug 20 '24 16:08 ShriyaRishab

@drcanchi @LiSu can you please review these changes?

LGTM, thanks! @hiwotadese @nv-rborkar could you please check this PR?

LiSu avatar Aug 22 '24 06:08 LiSu