meg-huggingface
commited on
Commit
·
db984f1
1
Parent(s):
1d78c1e
Printing all data it's getting in to debug
Browse files
src/backend/manage_requests.py
CHANGED
@@ -26,6 +26,7 @@ class EvalRequest:
|
|
26 |
params: Optional[int] = None
|
27 |
license: Optional[str] = ""
|
28 |
base_model: Optional[str] = ""
|
|
|
29 |
|
30 |
def get_model_args(self):
|
31 |
"""Edit this function if you want to manage more complex quantization issues. You'll need to map it to
|
@@ -88,7 +89,7 @@ def get_eval_requests(job_status: list, local_dir: str, hf_repo: str) -> list[Ev
|
|
88 |
data = json.load(fp)
|
89 |
if data["status"] in job_status:
|
90 |
data["json_filepath"] = json_filepath
|
91 |
-
print(
|
92 |
eval_request = EvalRequest(**data)
|
93 |
eval_requests.append(eval_request)
|
94 |
|
|
|
26 |
params: Optional[int] = None
|
27 |
license: Optional[str] = ""
|
28 |
base_model: Optional[str] = ""
|
29 |
+
private: Optional[bool] = False
|
30 |
|
31 |
def get_model_args(self):
|
32 |
"""Edit this function if you want to manage more complex quantization issues. You'll need to map it to
|
|
|
89 |
data = json.load(fp)
|
90 |
if data["status"] in job_status:
|
91 |
data["json_filepath"] = json_filepath
|
92 |
+
print(data.items())
|
93 |
eval_request = EvalRequest(**data)
|
94 |
eval_requests.append(eval_request)
|
95 |
|