
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4923501
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.3.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": 909.234176, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9967043881416324, | |
"mean": 0.007550790819254788, | |
"stdev": 0.00039066262786691163, | |
"p50": 0.007399935960769653, | |
"p90": 0.007946441793441773, | |
"p95": 0.00820218915939331, | |
"p99": 0.009102910022735597, | |
"values": [ | |
0.008187904357910156, | |
0.007863296031951903, | |
0.007641088008880615, | |
0.007639039993286132, | |
0.007591936111450195, | |
0.007610367774963379, | |
0.007608320236206055, | |
0.007510015964508057, | |
0.007512063980102539, | |
0.007531519889831543, | |
0.0074301438331604, | |
0.007363584041595459, | |
0.007360511779785156, | |
0.007463935852050781, | |
0.007468095779418945, | |
0.007458816051483155, | |
0.007442431926727295, | |
0.007402495861053467, | |
0.007441343784332276, | |
0.0074997758865356446, | |
0.007501823902130127, | |
0.007994368076324462, | |
0.007751679897308349, | |
0.009129983901977539, | |
0.009035776138305664, | |
0.007783423900604248, | |
0.007953407764434815, | |
0.00800153636932373, | |
0.007920639991760254, | |
0.007939040184020996, | |
0.00769536018371582, | |
0.008093695640563964, | |
0.007947264194488525, | |
0.008126463890075684, | |
0.007861248016357422, | |
0.00779366397857666, | |
0.007816192150115966, | |
0.00786636781692505, | |
0.007861311912536622, | |
0.007787519931793213, | |
0.0077547521591186525, | |
0.007802944183349609, | |
0.007862271785736084, | |
0.007759871959686279, | |
0.007729152202606201, | |
0.00744755220413208, | |
0.007417856216430664, | |
0.00738918399810791, | |
0.007431168079376221, | |
0.007514143943786621, | |
0.007511040210723877, | |
0.0074670081138610836, | |
0.00743936014175415, | |
0.007480319976806641, | |
0.0074414081573486324, | |
0.007422976016998291, | |
0.00739737606048584, | |
0.007354368209838867, | |
0.007211008071899414, | |
0.007609344005584716, | |
0.0077608962059021, | |
0.007602176189422607, | |
0.007475200176239013, | |
0.007409664154052734, | |
0.007457791805267334, | |
0.008219648361206054, | |
0.008985600471496581, | |
0.00906544017791748, | |
0.009119744300842286, | |
0.00860364818572998, | |
0.0075447998046875, | |
0.007415808200836181, | |
0.007353343963623047, | |
0.007336959838867187, | |
0.007360511779785156, | |
0.007293951988220215, | |
0.007352320194244385, | |
0.0073134078979492185, | |
0.007322624206542969, | |
0.007363584041595459, | |
0.007308288097381592, | |
0.007309311866760254, | |
0.0073051838874816895, | |
0.007346176147460938, | |
0.0073400321006774905, | |
0.0072765440940856935, | |
0.007329792022705078, | |
0.007278592109680176, | |
0.007314432144165039, | |
0.007346176147460938, | |
0.007301119804382325, | |
0.007341055870056152, | |
0.007290880203247071, | |
0.007268352031707764, | |
0.007331840038299561, | |
0.007343135833740235, | |
0.0073697280883789065, | |
0.007310336112976074, | |
0.007312384128570557, | |
0.007333888053894043, | |
0.007277567863464355, | |
0.007341055870056152, | |
0.0073175039291381834, | |
0.00729804801940918, | |
0.0073062400817871095, | |
0.007265344142913819, | |
0.007305215835571289, | |
0.007311359882354736, | |
0.007293951988220215, | |
0.007290880203247071, | |
0.00728985595703125, | |
0.007302144050598145, | |
0.007259136199951172, | |
0.007282688140869141, | |
0.00725708818435669, | |
0.007311359882354736, | |
0.0073697280883789065, | |
0.007301119804382325, | |
0.007268352031707764, | |
0.007333888053894043, | |
0.007334911823272705, | |
0.0073359360694885255, | |
0.007308288097381592, | |
0.007299071788787842, | |
0.00724070405960083, | |
0.007326720237731933, | |
0.007334911823272705, | |
0.007287807941436767, | |
0.0072765440940856935, | |
0.007284736156463623, | |
0.007328800201416016, | |
0.007318496227264404 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.43645916530545 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.593290900262658e-08, | |
"ram": 4.698677001168787e-08, | |
"gpu": 1.6687010128985796e-07, | |
"total": 2.9978978030417245e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3335670.7456317586 | |
} | |
} | |
} | |
} |