Spaces:
Running
Running
File size: 710 Bytes
4149ca9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
from dataclasses import dataclass
from typing import List
@dataclass
class InputData:
"""
Données d'entrée du calcul d'estimation de l'impact
"""
mode: str
project_duration: int
model_details: str
parameters_count: str
framework: str
quantization: str
stages: List[str]
inference_users: int
inference_requests: int
inference_tokens: int
finetuning_data_size: int
finetuning_epochs_number: int
finetuning_batch_size: int
finetuning_peft: str
infra_type: str
infra_cpu_cores: int
infra_gpu_count: int
infra_gpu_memory: int
infra_memory: int
infra_pue_datacenter: float
infra_pue_machine: float
location: str
|