DongfuJiang commited on
Commit
c668d41
1 Parent(s): 2af380b
Files changed (1) hide show
  1. README.md +28 -1
README.md CHANGED
@@ -10,4 +10,31 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+ ## Installation
14
+
15
+ - for cuda 11.8
16
+ ```bash
17
+ conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
18
+ pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
19
+ pip install -r requirements.txt
20
+ ```
21
+ - for cuda 12.1
22
+ ```bash
23
+ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
24
+ pip install -r requirements.txt
25
+ ```
26
+
27
+ ## Start Hugging Face UI
28
+ ```bash
29
+ python app.py
30
+ ```
31
+
32
+ ## Start Log server
33
+ ```bash
34
+ uvicorn serve.log_server:app --reload --port 22005 --host 0.0.0.0
35
+ ```
36
+
37
+ ## Update leaderboard
38
+ ```bash
39
+ cd arena_elo && bash update_leaderboard.sh
40
+ ```