
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
67732e3
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.45.0", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.127872, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 0.07625011444091796, | |
"mean": 0.07625011444091796, | |
"stdev": 0.0, | |
"p50": 0.07625011444091796, | |
"p90": 0.07625011444091796, | |
"p95": 0.07625011444091796, | |
"p99": 0.07625011444091796, | |
"values": [ | |
0.07625011444091796 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.894828896296126e-07, | |
"ram": 4.6878957181086536e-07, | |
"gpu": 1.7450013959918742e-06, | |
"total": 3.1032738574323522e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1087.676416, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 171, | |
"total": 0.999962625980378, | |
"mean": 0.005847734654856007, | |
"stdev": 0.000295203308999227, | |
"p50": 0.005900288105010986, | |
"p90": 0.006209536075592041, | |
"p95": 0.006243328094482422, | |
"p99": 0.006381568145751954, | |
"values": [ | |
0.006053887844085694, | |
0.0059996161460876465, | |
0.005979135990142822, | |
0.005996543884277344, | |
0.005960703849792481, | |
0.005992447853088379, | |
0.0059054079055786135, | |
0.0059054079055786135, | |
0.005891071796417236, | |
0.006100992202758789, | |
0.006209536075592041, | |
0.006230016231536865, | |
0.006217728137969971, | |
0.006223840236663818, | |
0.0061562881469726565, | |
0.006247424125671387, | |
0.00617574405670166, | |
0.0061634559631347655, | |
0.006204383850097656, | |
0.005934080123901367, | |
0.005955584049224853, | |
0.005929984092712402, | |
0.006121568202972412, | |
0.005899263858795166, | |
0.006087679862976075, | |
0.005940224170684814, | |
0.0061634559631347655, | |
0.006176767826080322, | |
0.006228991985321045, | |
0.006141952037811279, | |
0.0062156801223754886, | |
0.0061634559631347655, | |
0.006172671794891358, | |
0.006207488059997559, | |
0.006239232063293457, | |
0.006078464031219482, | |
0.005966879844665527, | |
0.005966847896575928, | |
0.005902304172515869, | |
0.005910528182983398, | |
0.005857279777526855, | |
0.0058716158866882326, | |
0.006004735946655273, | |
0.006102015972137451, | |
0.006200319766998291, | |
0.00617574405670166, | |
0.005900288105010986, | |
0.005948416233062744, | |
0.005880767822265625, | |
0.005880864143371582, | |
0.005857279777526855, | |
0.00588595199584961, | |
0.005879807949066162, | |
0.006164480209350586, | |
0.00602726411819458, | |
0.0061224961280822755, | |
0.006108096122741699, | |
0.006120448112487793, | |
0.0061265921592712404, | |
0.006136832237243653, | |
0.006161407947540283, | |
0.0060999679565429685, | |
0.006130688190460205, | |
0.006153215885162353, | |
0.006194176197052002, | |
0.006575104236602783, | |
0.0063508481979370115, | |
0.006273024082183838, | |
0.006259712219238281, | |
0.006275072097778321, | |
0.006258687973022461, | |
0.006195199966430664, | |
0.005981184005737304, | |
0.006178815841674804, | |
0.006199295997619629, | |
0.006112287998199463, | |
0.0062197761535644535, | |
0.006209536075592041, | |
0.006088704109191895, | |
0.00601804780960083, | |
0.006072319984436035, | |
0.0058757119178771975, | |
0.0059770879745483394, | |
0.006142975807189942, | |
0.005981184005737304, | |
0.005839871883392334, | |
0.005783552169799804, | |
0.005796864032745362, | |
0.006011903762817383, | |
0.005901311874389649, | |
0.006334464073181153, | |
0.0060067839622497555, | |
0.006055903911590576, | |
0.006055935859680176, | |
0.006158336162567139, | |
0.006214655876159668, | |
0.0059688959121704105, | |
0.0058419198989868165, | |
0.005746687889099121, | |
0.005590015888214111, | |
0.0056145920753479005, | |
0.006453248023986816, | |
0.005925888061523437, | |
0.005607423782348633, | |
0.005559296131134033, | |
0.0056145920753479005, | |
0.005545983791351319, | |
0.005611519813537597, | |
0.005549056053161621, | |
0.005497856140136719, | |
0.00551526403427124, | |
0.005492735862731934, | |
0.0055552000999450684, | |
0.005502975940704345, | |
0.00551526403427124, | |
0.005526527881622314, | |
0.005507008075714111, | |
0.005517312049865723, | |
0.005518335819244385, | |
0.005504000186920166, | |
0.005526527881622314, | |
0.005516287803649903, | |
0.005499904155731201, | |
0.0055244798660278325, | |
0.005506048202514649, | |
0.005525568008422852, | |
0.005493760108947754, | |
0.005488639831542969, | |
0.005527552127838135, | |
0.005512191772460938, | |
0.005517248153686523, | |
0.005516287803649903, | |
0.0055285758972167965, | |
0.005533696174621582, | |
0.00551526403427124, | |
0.005483520030975342, | |
0.005544960021972656, | |
0.005505023956298828, | |
0.0055296320915222165, | |
0.005483520030975342, | |
0.005511168003082275, | |
0.005508096218109131, | |
0.005504000186920166, | |
0.005531712055206299, | |
0.00552243185043335, | |
0.005486591815948487, | |
0.00551526403427124, | |
0.0054876160621643065, | |
0.0054906878471374515, | |
0.005504000186920166, | |
0.005538815975189209, | |
0.0055511040687561035, | |
0.0054906878471374515, | |
0.00546611213684082, | |
0.00551635217666626, | |
0.0054906878471374515, | |
0.005540863990783691, | |
0.005504000186920166, | |
0.005509119987487793, | |
0.0055101442337036136, | |
0.005504000186920166, | |
0.005588992118835449, | |
0.0055428800582885745, | |
0.005500927925109863, | |
0.005512191772460938, | |
0.005502975940704345, | |
0.005517312049865723, | |
0.005525504112243652, | |
0.00553984022140503, | |
0.005549056053161621, | |
0.005527552127838135 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 171.0063911962202 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.765438706191512e-08, | |
"ram": 3.6971588577081737e-08, | |
"gpu": 1.4049569320471644e-07, | |
"total": 2.451216688437133e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4079606.6896786196 | |
} | |
} | |
} | |
} |