
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6196c02
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 908.070912, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.002426496505737, | |
"mean": 0.007652110660349139, | |
"stdev": 0.0004649330239680345, | |
"p50": 0.007493631839752197, | |
"p90": 0.007922688007354736, | |
"p95": 0.008070655822753906, | |
"p99": 0.010048614788055408, | |
"values": [ | |
0.010891263961791992, | |
0.010326016426086425, | |
0.009401344299316406, | |
0.00806604766845703, | |
0.008023039817810058, | |
0.007959551811218261, | |
0.007816192150115966, | |
0.007827455997467042, | |
0.008075263977050781, | |
0.00790937614440918, | |
0.00779366397857666, | |
0.007833600044250488, | |
0.00809881591796875, | |
0.007887872219085693, | |
0.007821311950683594, | |
0.007790592193603516, | |
0.007816192150115966, | |
0.007872543811798095, | |
0.007862271785736084, | |
0.007947264194488525, | |
0.00790015983581543, | |
0.007861248016357422, | |
0.007873536109924317, | |
0.007805952072143555, | |
0.007769087791442871, | |
0.007788544178009033, | |
0.007774208068847656, | |
0.007792640209197998, | |
0.007455743789672851, | |
0.0074629120826721195, | |
0.0075642881393432615, | |
0.007523327827453613, | |
0.007513088226318359, | |
0.007481344223022461, | |
0.007464960098266602, | |
0.007527423858642578, | |
0.0074629120826721195, | |
0.007493631839752197, | |
0.007392255783081054, | |
0.0074106879234313965, | |
0.00744652795791626, | |
0.007556096076965332, | |
0.007409664154052734, | |
0.00743936014175415, | |
0.007426047801971435, | |
0.007388160228729248, | |
0.007452672004699707, | |
0.008489983558654785, | |
0.007890944004058837, | |
0.007887872219085693, | |
0.007905280113220215, | |
0.007831552028656007, | |
0.007863296031951903, | |
0.007922688007354736, | |
0.00773529577255249, | |
0.007418879985809326, | |
0.007331840038299561, | |
0.007226367950439453, | |
0.007370751857757568, | |
0.007346176147460938, | |
0.007154687881469727, | |
0.007078911781311035, | |
0.007165952205657959, | |
0.00710969591140747, | |
0.007180287837982178, | |
0.008287232398986816, | |
0.00790015983581543, | |
0.00790015983581543, | |
0.00793497610092163, | |
0.007768064022064209, | |
0.007692287921905518, | |
0.007610367774963379, | |
0.007688191890716553, | |
0.007574560165405274, | |
0.007374847888946533, | |
0.007459839820861816, | |
0.007508992195129394, | |
0.007457791805267334, | |
0.007461887836456299, | |
0.007436287879943848, | |
0.007436287879943848, | |
0.007469056129455566, | |
0.007448575973510742, | |
0.007498752117156982, | |
0.007465983867645264, | |
0.00753868818283081, | |
0.007458816051483155, | |
0.0074711041450500485, | |
0.007449600219726562, | |
0.007478271961212158, | |
0.007465983867645264, | |
0.007506944179534912, | |
0.007639039993286132, | |
0.007491583824157715, | |
0.007485439777374267, | |
0.007457791805267334, | |
0.007489535808563232, | |
0.007482367992401123, | |
0.0075642881393432615, | |
0.007476255893707275, | |
0.0074629120826721195, | |
0.00744652795791626, | |
0.007479296207427978, | |
0.007449600219726562, | |
0.0074997758865356446, | |
0.007497727870941162, | |
0.0075632638931274416, | |
0.007521279811859131, | |
0.007484416007995606, | |
0.007484416007995606, | |
0.00744652795791626, | |
0.007419904232025146, | |
0.007629824161529541, | |
0.007479296207427978, | |
0.007445504188537597, | |
0.007453695774078369, | |
0.007445504188537597, | |
0.00744649600982666, | |
0.007546879768371582, | |
0.0074403839111328125, | |
0.00743936014175415, | |
0.007456768035888672, | |
0.00743833589553833, | |
0.007473152160644531, | |
0.007475200176239013, | |
0.007486464023590088, | |
0.007937024116516114, | |
0.007502848148345947, | |
0.007416831970214844, | |
0.00749567985534668, | |
0.007464960098266602 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.6828984036639 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.531332992725997e-08, | |
"ram": 4.66439300653709e-08, | |
"gpu": 1.6198054525180163e-07, | |
"total": 2.939378052444325e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3402080.24336448 | |
} | |
} | |
} | |
} |