Spaces:
Sleeping
Sleeping
resolving bugs graddio version
Browse files- README.md +1 -1
- requirements.txt +4 -0
- src/ui/form_components.py +15 -0
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🌿
|
|
4 |
colorFrom: red
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.23.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
gradio==5.23.1
|
2 |
+
referencing
|
3 |
+
jsonschema
|
4 |
+
requests
|
src/ui/form_components.py
CHANGED
@@ -251,6 +251,7 @@ def create_task_tab():
|
|
251 |
{
|
252 |
"type": gr.Number,
|
253 |
"label": "Number of parameters",
|
|
|
254 |
"info": "(if applicable, number of billions of total parameters of your model, e.g. 8 for llama3.1-8b)",
|
255 |
},
|
256 |
{
|
@@ -271,11 +272,13 @@ def create_task_tab():
|
|
271 |
{
|
272 |
"type": gr.Number,
|
273 |
"label": "Number of layers in the network",
|
|
|
274 |
"info": "(if deep learning, precise the number of layers in your network)",
|
275 |
},
|
276 |
{
|
277 |
"type": gr.Number,
|
278 |
"label": "Number of epochs",
|
|
|
279 |
"info": "(if training, the number of complete passes through the training dataset)",
|
280 |
},
|
281 |
{
|
@@ -323,11 +326,13 @@ def create_task_tab():
|
|
323 |
{
|
324 |
"type": gr.Number,
|
325 |
"label": "Data Size",
|
|
|
326 |
"info": "(the size of the dataset (in Go), if small quantity just fill the field quantity)",
|
327 |
},
|
328 |
{
|
329 |
"type": gr.Number,
|
330 |
"label": "Data Quantity",
|
|
|
331 |
"info": "(the number of data in the dataset, e.g. 3 (images, audio or tokens))",
|
332 |
},
|
333 |
{
|
@@ -413,6 +418,7 @@ def create_measures_tab():
|
|
413 |
{
|
414 |
"type": gr.Number,
|
415 |
"label": "Average CPU Utilization",
|
|
|
416 |
"info": "(the average percentage of use of the CPU during the task, for example: 0.5 if your CPU load was 50% on average)",
|
417 |
"minimum": 0,
|
418 |
"maximum": 1
|
@@ -420,6 +426,7 @@ def create_measures_tab():
|
|
420 |
{
|
421 |
"type": gr.Number,
|
422 |
"label": "Average GPU Utilization",
|
|
|
423 |
"info": "(the average percentage of use of the GPU during the task, for example: 0.8 if your GPU load was 80% on average)",
|
424 |
"minimum": 0,
|
425 |
"maximum": 1
|
@@ -427,27 +434,32 @@ def create_measures_tab():
|
|
427 |
{
|
428 |
"type": gr.Number,
|
429 |
"label": "Power calibration measurement",
|
|
|
430 |
"info": "(the power consumed (in kWh) during the calibration measure if any (to isolate the initial consumption of the hardware))",
|
431 |
},
|
432 |
{
|
433 |
"type": gr.Number,
|
434 |
"label": "Duration calibration measurement",
|
|
|
435 |
"info": "(the duration of the calibration if any (in seconds))",
|
436 |
},
|
437 |
{
|
438 |
"type": gr.Number,
|
439 |
"label": "Power consumption",
|
|
|
440 |
"info": "Required field<br>(the power consumption measure of the computing task (in kWh))",
|
441 |
"elem_classes": "mandatory_field",
|
442 |
},
|
443 |
{
|
444 |
"type": gr.Number,
|
445 |
"label": "Measurement Duration",
|
|
|
446 |
"info": "(the duration of the measurement (in seconds))",
|
447 |
},
|
448 |
{
|
449 |
"type": gr.Textbox,
|
450 |
"label": "Measurement date time",
|
|
|
451 |
"info": "(the date when the measurement began, in format YYYY-MM-DD HH:MM:SS)",
|
452 |
}
|
453 |
],
|
@@ -521,12 +533,14 @@ def create_infrastructure_tab():
|
|
521 |
{
|
522 |
"type": gr.Number,
|
523 |
"label": "Number of Components",
|
|
|
524 |
"info": "Required field<br>(the number of items of this component in your infrastructure, if you have 1 RAM of 32Go, fill 1 here and 32 inside memorySize)",
|
525 |
"elem_classes": "mandatory_field",
|
526 |
},
|
527 |
{
|
528 |
"type": gr.Number,
|
529 |
"label": "Memory Size",
|
|
|
530 |
"info": "(the size of the memory of the component in Gbytes, useful to detail the memory associated to ONE of your gpus for example (if we want the total memory, we will multiply the memorySize by nbComponent). If the component is CPU do not fill the RAM size here, create another component for RAM, this field is for the embeded memory of a component.)",
|
531 |
},
|
532 |
{
|
@@ -547,6 +561,7 @@ def create_infrastructure_tab():
|
|
547 |
{
|
548 |
"type": gr.Number,
|
549 |
"label": "Share",
|
|
|
550 |
"info": "(the percentage of the physical equipment used by the task, this sharing property should be set to 1 by default (if no share) and otherwise to the correct percentage, e.g. 0.5 if you share half-time.)",
|
551 |
}
|
552 |
],
|
|
|
251 |
{
|
252 |
"type": gr.Number,
|
253 |
"label": "Number of parameters",
|
254 |
+
"value": "",
|
255 |
"info": "(if applicable, number of billions of total parameters of your model, e.g. 8 for llama3.1-8b)",
|
256 |
},
|
257 |
{
|
|
|
272 |
{
|
273 |
"type": gr.Number,
|
274 |
"label": "Number of layers in the network",
|
275 |
+
"value": "",
|
276 |
"info": "(if deep learning, precise the number of layers in your network)",
|
277 |
},
|
278 |
{
|
279 |
"type": gr.Number,
|
280 |
"label": "Number of epochs",
|
281 |
+
"value": "",
|
282 |
"info": "(if training, the number of complete passes through the training dataset)",
|
283 |
},
|
284 |
{
|
|
|
326 |
{
|
327 |
"type": gr.Number,
|
328 |
"label": "Data Size",
|
329 |
+
"value": "",
|
330 |
"info": "(the size of the dataset (in Go), if small quantity just fill the field quantity)",
|
331 |
},
|
332 |
{
|
333 |
"type": gr.Number,
|
334 |
"label": "Data Quantity",
|
335 |
+
"value": "",
|
336 |
"info": "(the number of data in the dataset, e.g. 3 (images, audio or tokens))",
|
337 |
},
|
338 |
{
|
|
|
418 |
{
|
419 |
"type": gr.Number,
|
420 |
"label": "Average CPU Utilization",
|
421 |
+
"value": "",
|
422 |
"info": "(the average percentage of use of the CPU during the task, for example: 0.5 if your CPU load was 50% on average)",
|
423 |
"minimum": 0,
|
424 |
"maximum": 1
|
|
|
426 |
{
|
427 |
"type": gr.Number,
|
428 |
"label": "Average GPU Utilization",
|
429 |
+
"value": "",
|
430 |
"info": "(the average percentage of use of the GPU during the task, for example: 0.8 if your GPU load was 80% on average)",
|
431 |
"minimum": 0,
|
432 |
"maximum": 1
|
|
|
434 |
{
|
435 |
"type": gr.Number,
|
436 |
"label": "Power calibration measurement",
|
437 |
+
"value": "",
|
438 |
"info": "(the power consumed (in kWh) during the calibration measure if any (to isolate the initial consumption of the hardware))",
|
439 |
},
|
440 |
{
|
441 |
"type": gr.Number,
|
442 |
"label": "Duration calibration measurement",
|
443 |
+
"value": "",
|
444 |
"info": "(the duration of the calibration if any (in seconds))",
|
445 |
},
|
446 |
{
|
447 |
"type": gr.Number,
|
448 |
"label": "Power consumption",
|
449 |
+
"value": "",
|
450 |
"info": "Required field<br>(the power consumption measure of the computing task (in kWh))",
|
451 |
"elem_classes": "mandatory_field",
|
452 |
},
|
453 |
{
|
454 |
"type": gr.Number,
|
455 |
"label": "Measurement Duration",
|
456 |
+
"value": "",
|
457 |
"info": "(the duration of the measurement (in seconds))",
|
458 |
},
|
459 |
{
|
460 |
"type": gr.Textbox,
|
461 |
"label": "Measurement date time",
|
462 |
+
"value": "",
|
463 |
"info": "(the date when the measurement began, in format YYYY-MM-DD HH:MM:SS)",
|
464 |
}
|
465 |
],
|
|
|
533 |
{
|
534 |
"type": gr.Number,
|
535 |
"label": "Number of Components",
|
536 |
+
"value": "",
|
537 |
"info": "Required field<br>(the number of items of this component in your infrastructure, if you have 1 RAM of 32Go, fill 1 here and 32 inside memorySize)",
|
538 |
"elem_classes": "mandatory_field",
|
539 |
},
|
540 |
{
|
541 |
"type": gr.Number,
|
542 |
"label": "Memory Size",
|
543 |
+
"value": "",
|
544 |
"info": "(the size of the memory of the component in Gbytes, useful to detail the memory associated to ONE of your gpus for example (if we want the total memory, we will multiply the memorySize by nbComponent). If the component is CPU do not fill the RAM size here, create another component for RAM, this field is for the embeded memory of a component.)",
|
545 |
},
|
546 |
{
|
|
|
561 |
{
|
562 |
"type": gr.Number,
|
563 |
"label": "Share",
|
564 |
+
"value": "",
|
565 |
"info": "(the percentage of the physical equipment used by the task, this sharing property should be set to 1 by default (if no share) and otherwise to the correct percentage, e.g. 0.5 if you share half-time.)",
|
566 |
}
|
567 |
],
|