File size: 892 Bytes
e368cec
 
 
 
 
 
ce13047
 
e368cec
 
 
f2194c2
aba991b
 
 
e368cec
 
c668d41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a40414f
 
 
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
39
40
41
42
43
44
45
46
47
---
title: GenAI Arena
emoji: πŸ“ˆ
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.41.0
python_version: 3.12
app_file: app.py
pinned: false
license: mit
tags:
- arena
- leaderboard
short_description: Realtime Image/Video Gen AI Arena
---

## Installation

- for cuda 11.8
```bash
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
```
- for cuda 12.1
```bash
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
pip install -r requirements.txt
```

## Start Hugging Face UI
```bash
python app.py
```

## Start Log server
```bash
uvicorn serve.log_server:app --reload --port 22005 --host 0.0.0.0
```

## Update leaderboard
```bash
cd arena_elo && bash update_leaderboard.sh
```

Paper: arxiv.org/abs/2406.04485