InferBench / README.md
davidberenstein1957's picture
chore: update .gitignore, environment.yml, and README; remove nils_installs.txt
199a7d9
|
raw
history blame
646 Bytes

InferBench

Evaluate the quality and efficiency of image gen api's.

Installation

Install dependencies

Install dependencies with conda like that:

conda env create -f environment.yml

Install uv

Install uv with pip like that:

uv venv --python 3.12
uv sync --all-groups

Usage

Create .env file with all the credentials you will need.

This is how you can generate the images.

python sample.py replicate draw_bench genai_bench geneval hps parti

This is how you would evaluate the benchmarks once you have all images:

python evaluate.py replicate draw_bench genai_bench geneval hps parti