
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
41db01c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 822.362112, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07321907043457031 | |
], | |
"count": 1, | |
"total": 0.07321907043457031, | |
"mean": 0.07321907043457031, | |
"p50": 0.07321907043457031, | |
"p90": 0.07321907043457031, | |
"p95": 0.07321907043457031, | |
"p99": 0.07321907043457031, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010575886393194446, | |
"ram": 5.794546980394401e-05, | |
"gpu": 0.00013950177826800017, | |
"total": 0.0003032061120038886 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1099.882496, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006189055919647217, | |
0.005893119812011719, | |
0.005916672229766846, | |
0.0058726401329040525, | |
0.005889023780822754, | |
0.005886975765228271, | |
0.005904384136199951, | |
0.005912576198577881, | |
0.0058757119178771975, | |
0.005888000011444092, | |
0.005853184223175049, | |
0.005874688148498535, | |
0.005858304023742676, | |
0.00587059211730957, | |
0.00586956787109375, | |
0.005924863815307617, | |
0.005911551952362061, | |
0.005955552101135254, | |
0.005879807949066162, | |
0.005940224170684814, | |
0.005897215843200684, | |
0.005916672229766846, | |
0.005884928226470947, | |
0.005952511787414551, | |
0.00587667179107666, | |
0.006561791896820069, | |
0.005888000011444092, | |
0.005897215843200684, | |
0.005881855964660645, | |
0.005886975765228271, | |
0.005846015930175781, | |
0.005890048027038574, | |
0.005859327793121338, | |
0.005901311874389649, | |
0.0058429441452026365, | |
0.005891071796417236, | |
0.005849088191986084, | |
0.00587059211730957, | |
0.005860352039337159, | |
0.0058787841796875, | |
0.005857279777526855, | |
0.005849088191986084, | |
0.005891071796417236, | |
0.00586956787109375, | |
0.005901311874389649, | |
0.00587059211730957, | |
0.005904384136199951, | |
0.006147071838378906, | |
0.0062576642036437985, | |
0.006151167869567871, | |
0.006179840087890625, | |
0.006174719810485839, | |
0.006140927791595459, | |
0.006200319766998291, | |
0.006130688190460205, | |
0.006166528224945069, | |
0.0061296639442443845, | |
0.006246399879455566, | |
0.006168575763702393, | |
0.006196224212646485, | |
0.006379519939422608, | |
0.006163392066955566, | |
0.006302720069885254, | |
0.006184959888458252, | |
0.006189055919647217, | |
0.006138879776000977, | |
0.006177792072296143, | |
0.006109183788299561, | |
0.006162432193756104, | |
0.006277120113372803, | |
0.006148096084594727, | |
0.0061859841346740725, | |
0.00611740779876709, | |
0.006345727920532227, | |
0.006141983985900879, | |
0.006194176197052002, | |
0.006172671794891358, | |
0.0062156801223754886, | |
0.006144000053405762, | |
0.006638591766357422, | |
0.006393856048583985, | |
0.006146048069000244, | |
0.006189055919647217, | |
0.006147071838378906, | |
0.00619212818145752, | |
0.006131711959838867, | |
0.006171648025512695, | |
0.006188000202178955, | |
0.006102015972137451, | |
0.0061511039733886715, | |
0.006144000053405762, | |
0.006150144100189209, | |
0.006108160018920898, | |
0.006130623817443848, | |
0.006120512008666992, | |
0.006141952037811279, | |
0.006128640174865723, | |
0.0061348481178283695, | |
0.006147071838378906, | |
0.006154240131378174, | |
0.006146048069000244, | |
0.006114304065704346, | |
0.006329343795776367, | |
0.006147071838378906, | |
0.006191103935241699, | |
0.0061296639442443845, | |
0.006205440044403076, | |
0.006160384178161621, | |
0.006273024082183838, | |
0.006196224212646485, | |
0.006173696041107178, | |
0.006207488059997559, | |
0.006155263900756836, | |
0.00619212818145752, | |
0.006207488059997559, | |
0.006221824169158936, | |
0.00632422399520874, | |
0.006244351863861084, | |
0.006583295822143555, | |
0.006445055961608887, | |
0.006273983955383301, | |
0.006145023822784424, | |
0.006136832237243653, | |
0.006164480209350586, | |
0.006113279819488526, | |
0.006168575763702393, | |
0.006124544143676758, | |
0.006169600009918213, | |
0.006113279819488526, | |
0.006179840087890625, | |
0.006140927791595459, | |
0.006276095867156982, | |
0.006254591941833496, | |
0.0061224961280822755, | |
0.006166528224945069, | |
0.006121471881866455, | |
0.006188032150268555, | |
0.006196224212646485, | |
0.006159359931945801, | |
0.006086656093597412, | |
0.006153215885162353, | |
0.006147071838378906, | |
0.006149055957794189, | |
0.006128640174865723, | |
0.00611737585067749, | |
0.006164480209350586, | |
0.006113279819488526, | |
0.006130688190460205, | |
0.006096896171569824, | |
0.006141952037811279, | |
0.006098944187164307, | |
0.006169600009918213, | |
0.006139904022216797, | |
0.006273024082183838, | |
0.005895167827606201, | |
0.005790719985961914, | |
0.005795839786529541, | |
0.005797887802124023, | |
0.005790719985961914, | |
0.005785600185394287, | |
0.005785664081573486, | |
0.005801983833312988, | |
0.005773312091827393, | |
0.005803008079528809 | |
], | |
"count": 164, | |
"total": 0.9974884476661686, | |
"mean": 0.006082246632110783, | |
"p50": 0.006139391899108887, | |
"p90": 0.006252134323120117, | |
"p95": 0.0063209984064102175, | |
"p99": 0.006569748349189759, | |
"stdev": 0.0001700891714961609, | |
"stdev_": 2.796485933309369 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 328.82586336455745 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.11162058258482e-08, | |
"ram": 3.877282390499651e-08, | |
"gpu": 1.8703108774850142e-07, | |
"total": 2.9692011747934615e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6735818.431498231 | |
} | |
} | |
} | |
} |