IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
47c188c verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 787.898368,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4024560546875,
"mean": 7.4024560546875,
"stdev": 0.0,
"p50": 7.4024560546875,
"p90": 7.4024560546875,
"p95": 7.4024560546875,
"p99": 7.4024560546875,
"values": [
7.4024560546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0492274388899623e-06,
"ram": 5.588432046927445e-07,
"gpu": 1.6402790900004773e-06,
"total": 3.2483497335831836e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1076.781056,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 149,
"total": 1.002168002128601,
"mean": 0.006725959745829537,
"stdev": 0.00019861925599107039,
"p50": 0.006675456047058105,
"p90": 0.006778470516204834,
"p95": 0.007131584167480469,
"p99": 0.007345684509277344,
"values": [
0.007345151901245117,
0.007346176147460938,
0.007332863807678222,
0.0072540159225463864,
0.00728985595703125,
0.007172160148620606,
0.00840396785736084,
0.006988800048828125,
0.006793216228485107,
0.006749184131622315,
0.006714367866516113,
0.006738944053649902,
0.006751232147216797,
0.006675456047058105,
0.006716415882110595,
0.006711296081542969,
0.006649856090545654,
0.006668288230895996,
0.007070720195770264,
0.007195583820343018,
0.006842368125915528,
0.006774784088134766,
0.006740992069244385,
0.006652927875518798,
0.006695903778076172,
0.006672383785247803,
0.006636544227600098,
0.006645760059356689,
0.006658048152923584,
0.006606847763061524,
0.006677504062652588,
0.006662144184112549,
0.006652863979339599,
0.006650879859924317,
0.006665215969085693,
0.006643775939941406,
0.0067051520347595215,
0.006938623905181885,
0.006970367908477783,
0.006677504062652588,
0.006681600093841553,
0.006688767910003662,
0.006652927875518798,
0.00669593620300293,
0.0067051520347595215,
0.006636544227600098,
0.006723584175109864,
0.006659071922302246,
0.006639616012573242,
0.0067123198509216305,
0.006665215969085693,
0.006602752208709717,
0.006665215969085693,
0.006643712043762207,
0.006623231887817383,
0.006633471965789795,
0.006657023906707763,
0.006604800224304199,
0.006653952121734619,
0.006662144184112549,
0.006615039825439453,
0.0066447358131408694,
0.006667263984680176,
0.00662937593460083,
0.0066641921997070315,
0.006643712043762207,
0.0066109437942504885,
0.006660096168518067,
0.006658048152923584,
0.006625279903411865,
0.006657023906707763,
0.006650815963745118,
0.006619135856628418,
0.006653952121734619,
0.006662144184112549,
0.006620192050933838,
0.006657023906707763,
0.006692863941192627,
0.006617087841033936,
0.006662144184112549,
0.006687744140625,
0.006615039825439453,
0.006659103870391846,
0.00667852783203125,
0.006632448196411133,
0.006652927875518798,
0.006669312000274658,
0.006609920024871826,
0.0066304001808166506,
0.006636544227600098,
0.006605823993682861,
0.006642623901367188,
0.0066713600158691405,
0.006602752208709717,
0.006643712043762207,
0.006686719894409179,
0.006595583915710449,
0.006685696125030518,
0.006731776237487793,
0.0066744318008422855,
0.006658048152923584,
0.006657023906707763,
0.00693555212020874,
0.00667955207824707,
0.006724544048309326,
0.0067010560035705566,
0.006653952121734619,
0.0067010560035705566,
0.0067051520347595215,
0.006669312000274658,
0.0067235522270202635,
0.006731776237487793,
0.006689792156219483,
0.0067358717918396,
0.006719488143920899,
0.006667263984680176,
0.006729728221893311,
0.00667955207824707,
0.006646783828735352,
0.006718463897705078,
0.00676966381072998,
0.006667263984680176,
0.006667263984680176,
0.006677504062652588,
0.006684671878814697,
0.006668288230895996,
0.006748159885406494,
0.0067041277885437015,
0.006675456047058105,
0.006718463897705078,
0.006722559928894043,
0.006669312000274658,
0.006713280200958252,
0.0067358717918396,
0.006669312000274658,
0.006690815925598144,
0.006721536159515381,
0.006661119937896728,
0.0067051520347595215,
0.006690815925598144,
0.006690815925598144,
0.006700032234191895,
0.0067123198509216305,
0.006658048152923584,
0.006680575847625733,
0.006703104019165039,
0.006689792156219483,
0.006681536197662354,
0.006694911956787109
]
},
"throughput": {
"unit": "samples/s",
"value": 148.67766650254705
},
"energy": {
"unit": "kWh",
"cpu": 7.603432993678774e-08,
"ram": 4.149979139958574e-08,
"gpu": 1.404470496794875e-07,
"total": 2.57981171015861e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3876251.883276081
}
}
}
}