Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Quentin Gallouédec
commited on
Commit
•
6b9db30
1
Parent(s):
95c19d6
update envs
Browse files- src/envs.py +3 -3
src/envs.py
CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import HfApi
|
|
6 |
# ----------------------------------
|
7 |
TOKEN = os.environ.get("TOKEN") # A read/write token for your org
|
8 |
|
9 |
-
OWNER = "
|
10 |
|
11 |
# For harness evaluations
|
12 |
DEVICE = "cpu" # "cuda:0" if you add compute, for harness evaluations
|
@@ -18,7 +18,7 @@ REGION = "us-east-1"
|
|
18 |
VENDOR = "aws"
|
19 |
# ----------------------------------
|
20 |
|
21 |
-
REPO_ID = f"{OWNER}/
|
22 |
QUEUE_REPO = f"{OWNER}/requests"
|
23 |
RESULTS_REPO = f"{OWNER}/results"
|
24 |
|
@@ -31,7 +31,7 @@ EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
|
|
31 |
EVAL_REQUESTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-queue-bk")
|
32 |
EVAL_RESULTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-results-bk")
|
33 |
|
34 |
-
REFRESH_RATE =
|
35 |
NUM_LINES_VISUALIZE = 300
|
36 |
|
37 |
API = HfApi(token=TOKEN)
|
|
|
6 |
# ----------------------------------
|
7 |
TOKEN = os.environ.get("TOKEN") # A read/write token for your org
|
8 |
|
9 |
+
OWNER = "open-rl-leaderboard" # Change to your org - don't forget to create a results and request file
|
10 |
|
11 |
# For harness evaluations
|
12 |
DEVICE = "cpu" # "cuda:0" if you add compute, for harness evaluations
|
|
|
18 |
VENDOR = "aws"
|
19 |
# ----------------------------------
|
20 |
|
21 |
+
REPO_ID = f"{OWNER}/backend"
|
22 |
QUEUE_REPO = f"{OWNER}/requests"
|
23 |
RESULTS_REPO = f"{OWNER}/results"
|
24 |
|
|
|
31 |
EVAL_REQUESTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-queue-bk")
|
32 |
EVAL_RESULTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-results-bk")
|
33 |
|
34 |
+
REFRESH_RATE = 1 * 60 # 1 min
|
35 |
NUM_LINES_VISUALIZE = 300
|
36 |
|
37 |
API = HfApi(token=TOKEN)
|