Skip to content

A implementation for AIPowerMeter in a docker container with the alexnet model for example

Notifications You must be signed in to change notification settings

GreenAI-Uppa/docker_AIPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_AIPM

Install and use AIPowerMeter (https://github.com/GreenAI-Uppa/AIPowerMeter) throughout a docker container

Requirements

RAPL and/or nvidia-smi available

A working Docker installation

Build

sudo docker build -t IMAGE_NAME:TAG .

Run

Change path to the docker repository

sudo docker run --gpus all -it --rm --mount type=bind,src=/path/to/docker_repo,dst=/mnt IMAGE_NAME:TAG

Show consumption

Open the PowerConsumption.ipynb and change the path to the docker repository

All the requirements you need for the notebook and the alexnet model are in the requirements.txt file, you can easily add it to your virtual env with

pip install -r requirements.txt

About

A implementation for AIPowerMeter in a docker container with the alexnet model for example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published