File size: 789 Bytes
e368cec
 
 
 
 
 
 
 
 
 
f2194c2
 
 
e368cec
 
c668d41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: GenAI Arena
emoji: 📈
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.21.0
app_file: app.py
pinned: false
license: mit
tags:
  - arena
  - leaderboard
---

## 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
```