Skip to content

Files

Latest commit

7b8edbc · Jul 21, 2024

History

History

benchmarks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 21, 2024
Jan 22, 2024
Jan 22, 2024
Jan 22, 2024
Jan 22, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Dec 15, 2023
Jan 22, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024
Jul 21, 2024

OneDiff Benchmark

Build docker image

python3 -m pip install -r requirements.txt
python3 docker/main.py --yaml ./docker/config/community-default.yaml

Prepare models

sh download_models.sh models

Run OneDiff Benchmark

docker run -it --rm --gpus all --shm-size 12g --ipc=host --security-opt seccomp=unconfined --privileged=true \
  -v `pwd`:/benchmark \
  onediff:benchmark-community-default \
  sh -c "cd /benchmark && sh run_all_benchmarks.sh -m models -o benchmark.md"