Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ For further details, see the project on 💻 [GitHub](https://github.com/mlabonn
|
|
18 |
"""
|
19 |
|
20 |
def autoeval(BENCHMARK, MODEL, GPU, NUMBER_OF_GPUS, CONTAINER_DISK, CLOUD_TYPE, REPO, TRUST_REMOTE_CODE, DEBUG, RUNPOD_TOKEN, GITHUB_API_TOKEN):
|
21 |
-
|
22 |
pod = runpod.create_pod(
|
23 |
name=f"Eval {MODEL.split('/')[-1]} on {BENCHMARK.capitalize()}",
|
24 |
image_name="runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel-ubuntu22.04",
|
|
|
18 |
"""
|
19 |
|
20 |
def autoeval(BENCHMARK, MODEL, GPU, NUMBER_OF_GPUS, CONTAINER_DISK, CLOUD_TYPE, REPO, TRUST_REMOTE_CODE, DEBUG, RUNPOD_TOKEN, GITHUB_API_TOKEN):
|
21 |
+
runpod.api_key = RUNPOD_TOKEN
|
22 |
pod = runpod.create_pod(
|
23 |
name=f"Eval {MODEL.split('/')[-1]} on {BENCHMARK.capitalize()}",
|
24 |
image_name="runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel-ubuntu22.04",
|