File size: 646 Bytes
f5f9b38
61029d0
4f41410
199a7d9
 
 
4f41410
199a7d9
 
4f41410
199a7d9
 
 
 
 
 
 
 
 
 
 
 
 
4f41410
199a7d9
4f41410
5291ba9
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
```