Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove duplicate EvalRequest.model_type (#13)
Browse files- Remove duplicate EvalRequest.model_type (852d79d442ee0a0e79d974bcabf3d819656a1815)
- Remove trailing blank (7a65083ad69a5fec8af7f15e79bcd8d17e176eda)
- Merge branch 'main' into pr/13 (c0dd17b344d705a0b684c792649e3fc1216e16b9)
src/backend/manage_requests.py
CHANGED
@@ -25,13 +25,12 @@ class EvalRequest:
|
|
25 |
status: str
|
26 |
json_filepath: str
|
27 |
weight_type: str = "Original"
|
28 |
-
model_type: str =
|
29 |
precision: str = "" # float16, bfloat16
|
30 |
revision: str = "main" # commit hash
|
31 |
submitted_time: Optional[str] = (
|
32 |
"2022-05-18T11:40:22.519222" # random date just so that we can still order requests by date
|
33 |
)
|
34 |
-
model_type: Optional[str] = None # pretrained, fine-tuned, etc - define your own categories in
|
35 |
likes: Optional[int] = 0
|
36 |
params: Optional[int] = None
|
37 |
license: Optional[str] = ""
|
|
|
25 |
status: str
|
26 |
json_filepath: str
|
27 |
weight_type: str = "Original"
|
28 |
+
model_type: Optional[str] = None # pretrained, fine-tuned, etc. - define your own categories in
|
29 |
precision: str = "" # float16, bfloat16
|
30 |
revision: str = "main" # commit hash
|
31 |
submitted_time: Optional[str] = (
|
32 |
"2022-05-18T11:40:22.519222" # random date just so that we can still order requests by date
|
33 |
)
|
|
|
34 |
likes: Optional[int] = 0
|
35 |
params: Optional[int] = None
|
36 |
license: Optional[str] = ""
|