
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f16af4d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.224-212.876.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 798.0032, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.97606298828125, | |
"mean": 7.97606298828125, | |
"stdev": 0.0, | |
"p50": 7.97606298828125, | |
"p90": 7.97606298828125, | |
"p95": 7.97606298828125, | |
"p99": 7.97606298828125, | |
"values": [ | |
7.97606298828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.493791506938376e-06, | |
"ram": 1.3321339689976321e-06, | |
"gpu": 3.228613694006288e-06, | |
"total": 7.054539169942296e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.73792, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.000404926776886, | |
"mean": 0.00741040686501397, | |
"stdev": 0.00023198974645552233, | |
"p50": 0.007465983867645264, | |
"p90": 0.007603590488433838, | |
"p95": 0.007784959983825683, | |
"p99": 0.007907635250091553, | |
"values": [ | |
0.007667712211608887, | |
0.007788544178009033, | |
0.007746560096740723, | |
0.007783423900604248, | |
0.007682047843933106, | |
0.0076113600730896, | |
0.007575551986694336, | |
0.007591936111450195, | |
0.007515135765075683, | |
0.007484416007995606, | |
0.007482367992401123, | |
0.007486464023590088, | |
0.007498752117156982, | |
0.007419904232025146, | |
0.007367680072784424, | |
0.007472127914428711, | |
0.0074783039093017575, | |
0.007489535808563232, | |
0.007572480201721191, | |
0.007539711952209473, | |
0.007529471874237061, | |
0.007501823902130127, | |
0.007434239864349365, | |
0.007470016002655029, | |
0.007562240123748779, | |
0.007548927783966064, | |
0.007553023815155029, | |
0.007543807983398438, | |
0.007540736198425293, | |
0.007543807983398438, | |
0.007379968166351319, | |
0.007428095817565918, | |
0.007456768035888672, | |
0.007519231796264648, | |
0.007508992195129394, | |
0.0074106879234313965, | |
0.007415808200836181, | |
0.007465983867645264, | |
0.007489535808563232, | |
0.0074035201072692874, | |
0.007443456172943115, | |
0.00753766393661499, | |
0.007480319976806641, | |
0.0075008001327514645, | |
0.007532544136047363, | |
0.007555071830749512, | |
0.007556096076965332, | |
0.0075038719177246095, | |
0.00743833589553833, | |
0.0074700798988342285, | |
0.007486464023590088, | |
0.007560192108154297, | |
0.007544832229614258, | |
0.007483391761779785, | |
0.007489535808563232, | |
0.007521279811859131, | |
0.007401472091674805, | |
0.007420928001403809, | |
0.007453695774078369, | |
0.007520256042480469, | |
0.007512063980102539, | |
0.0075008001327514645, | |
0.007485439777374267, | |
0.007442431926727295, | |
0.00748748779296875, | |
0.00742195177078247, | |
0.007554048061370849, | |
0.007463935852050781, | |
0.007453695774078369, | |
0.00753766393661499, | |
0.007547904014587403, | |
0.007678976058959961, | |
0.007727104187011719, | |
0.007559167861938477, | |
0.007423999786376953, | |
0.007465983867645264, | |
0.007491583824157715, | |
0.007450623989105225, | |
0.007415808200836181, | |
0.007529471874237061, | |
0.007402495861053467, | |
0.007409664154052734, | |
0.00729804801940918, | |
0.00725708818435669, | |
0.007412735939025879, | |
0.007268352031707764, | |
0.007069695949554444, | |
0.007250944137573242, | |
0.007541759967803955, | |
0.00790937614440918, | |
0.00786636781692505, | |
0.007827455997467042, | |
0.008390656471252441, | |
0.007904255867004394, | |
0.007790592193603516, | |
0.007480319976806641, | |
0.007423999786376953, | |
0.0074301438331604, | |
0.007510015964508057, | |
0.007262207984924316, | |
0.007271423816680909, | |
0.00714035177230835, | |
0.007106560230255127, | |
0.007085055828094483, | |
0.007041024208068848, | |
0.007047167778015137, | |
0.007070720195770264, | |
0.00709222412109375, | |
0.007066624164581299, | |
0.007008255958557129, | |
0.007035903930664063, | |
0.007085055828094483, | |
0.007208960056304932, | |
0.007469056129455566, | |
0.007047167778015137, | |
0.007073791980743408, | |
0.007076863765716553, | |
0.00707583999633789, | |
0.007067647933959961, | |
0.007077888011932373, | |
0.007030784130096435, | |
0.007072768211364746, | |
0.0070563840866088865, | |
0.007036928176879883, | |
0.007064576148986816, | |
0.007420928001403809, | |
0.007277567863464355, | |
0.007151616096496582, | |
0.007024640083312988, | |
0.007053311824798584, | |
0.007063551902770996, | |
0.007132160186767578, | |
0.007048192024230957, | |
0.0070522880554199216, | |
0.007054336071014404 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.9453570115296 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.757071493082296e-08, | |
"ram": 4.785373650684572e-08, | |
"gpu": 1.574225115588445e-07, | |
"total": 2.928469629965132e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3414752.84485674 | |
} | |
} | |
} | |
} |