
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2e8016e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 786.8416, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3573818359375, | |
"mean": 7.3573818359375, | |
"stdev": 0.0, | |
"p50": 7.3573818359375, | |
"p90": 7.3573818359375, | |
"p95": 7.3573818359375, | |
"p99": 7.3573818359375, | |
"values": [ | |
7.3573818359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.767573861110379e-07, | |
"ram": 4.650195689976092e-07, | |
"gpu": 1.869168161999779e-06, | |
"total": 3.2109451171084263e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.478592, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9962445106506348, | |
"mean": 0.007722825663958409, | |
"stdev": 0.00021743313850862637, | |
"p50": 0.007825407981872558, | |
"p90": 0.007966105461120606, | |
"p95": 0.007998873710632324, | |
"p99": 0.00806440990447998, | |
"values": [ | |
0.008022015571594238, | |
0.007967743873596191, | |
0.0079267840385437, | |
0.00796569585800171, | |
0.008031231880187988, | |
0.007947264194488525, | |
0.007923711776733398, | |
0.007927807807922363, | |
0.007916543960571289, | |
0.007900095939636231, | |
0.007877632141113282, | |
0.007841792106628418, | |
0.007847904205322265, | |
0.00788479995727539, | |
0.007898111820220948, | |
0.007971839904785156, | |
0.00793497610092163, | |
0.007938047885894776, | |
0.00786636781692505, | |
0.00785100793838501, | |
0.007867392063140868, | |
0.00793497610092163, | |
0.007923711776733398, | |
0.007912447929382324, | |
0.007916543960571289, | |
0.007879680156707763, | |
0.007853055953979492, | |
0.00788479995727539, | |
0.00791756820678711, | |
0.007839744091033935, | |
0.007789567947387695, | |
0.007853055953979492, | |
0.007833600044250488, | |
0.007841792106628418, | |
0.007865344047546387, | |
0.007863296031951903, | |
0.007930880069732665, | |
0.007996416091918946, | |
0.007981056213378907, | |
0.00800051212310791, | |
0.007914495944976807, | |
0.007849984169006348, | |
0.007878655910491944, | |
0.007919616222381591, | |
0.0078919677734375, | |
0.007863296031951903, | |
0.00790015983581543, | |
0.007857151985168457, | |
0.007846911907196046, | |
0.007825407981872558, | |
0.007845888137817383, | |
0.00796569585800171, | |
0.007796735763549805, | |
0.007795711994171142, | |
0.007825407981872558, | |
0.007831552028656007, | |
0.007870463848114014, | |
0.00793503999710083, | |
0.008022015571594238, | |
0.008077312469482421, | |
0.007976960182189942, | |
0.007913472175598145, | |
0.007969791889190675, | |
0.007878655910491944, | |
0.007853055953979492, | |
0.008124416351318359, | |
0.007849984169006348, | |
0.007860223770141601, | |
0.00781004810333252, | |
0.0077916159629821775, | |
0.007672832012176513, | |
0.0076360321044921875, | |
0.007822336196899414, | |
0.007654399871826172, | |
0.007477248191833496, | |
0.007511040210723877, | |
0.007616511821746826, | |
0.007824384212493896, | |
0.007740416049957275, | |
0.007704576015472412, | |
0.007762944221496582, | |
0.008019935607910157, | |
0.007732223987579345, | |
0.007575551986694336, | |
0.007485439777374267, | |
0.007461887836456299, | |
0.007455743789672851, | |
0.007466976165771484, | |
0.0074967041015625, | |
0.007539711952209473, | |
0.007486464023590088, | |
0.0075632638931274416, | |
0.007481344223022461, | |
0.0074414081573486324, | |
0.007453695774078369, | |
0.007460864067077637, | |
0.007436287879943848, | |
0.007453695774078369, | |
0.007449600219726562, | |
0.007436287879943848, | |
0.007465983867645264, | |
0.0074404158592224125, | |
0.007455743789672851, | |
0.007468031883239746, | |
0.00744755220413208, | |
0.00743936014175415, | |
0.007460896015167236, | |
0.00743936014175415, | |
0.0074332160949707035, | |
0.007457791805267334, | |
0.007436287879943848, | |
0.007445504188537597, | |
0.0074332160949707035, | |
0.007416863918304443, | |
0.007442431926727295, | |
0.007442431926727295, | |
0.007418879985809326, | |
0.0074301438331604, | |
0.0074700798988342285, | |
0.007437312126159668, | |
0.007418879985809326, | |
0.007524352073669433, | |
0.007459839820861816, | |
0.00742195177078247, | |
0.007408639907836914, | |
0.007445536136627197, | |
0.007453695774078369, | |
0.0074280319213867185, | |
0.007413760185241699 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.48628436180965 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.112627510683592e-08, | |
"ram": 4.982124535271062e-08, | |
"gpu": 1.7709415876923276e-07, | |
"total": 3.180416792287793e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3144241.982449924 | |
} | |
} | |
} | |
} |