IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2dc0a54 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.958656,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.42386669921875,
"mean": 7.42386669921875,
"stdev": 0.0,
"p50": 7.42386669921875,
"p90": 7.42386669921875,
"p95": 7.42386669921875,
"p99": 7.42386669921875,
"values": [
7.42386669921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.994445590274107e-07,
"ram": 4.6538332030494475e-07,
"gpu": 1.6216679639999114e-06,
"total": 2.986495843332267e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.595648,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9990069746971133,
"mean": 0.00786619665115837,
"stdev": 0.0002497856750706014,
"p50": 0.007953407764434815,
"p90": 0.008132608032226561,
"p95": 0.008201215648651122,
"p99": 0.008422882976531983,
"values": [
0.008421343803405762,
0.008423423767089844,
0.0083056640625,
0.008345600128173827,
0.008331232070922852,
0.008204287528991699,
0.008187904357910156,
0.008159232139587403,
0.00801587200164795,
0.008006591796875,
0.00796569585800171,
0.007918591976165772,
0.007907328128814697,
0.007961599826812745,
0.00800972843170166,
0.008034303665161132,
0.008044544219970704,
0.007989247798919678,
0.007987199783325195,
0.007967743873596191,
0.008079360008239746,
0.008052736282348634,
0.00802406406402588,
0.008033280372619628,
0.008053759574890136,
0.007993343830108643,
0.007956480026245117,
0.008038399696350097,
0.00808448028564453,
0.008190976142883302,
0.007953407764434815,
0.007894015789031983,
0.007912447929382324,
0.007974912166595459,
0.007989247798919678,
0.007914495944976807,
0.007972864151000977,
0.008144895553588867,
0.008096768379211425,
0.008194047927856446,
0.008067071914672852,
0.008104960441589355,
0.008011775970458984,
0.007983104228973388,
0.008027135848999023,
0.008124416351318359,
0.00801375961303711,
0.007970816135406494,
0.007964672088623047,
0.007954432010650634,
0.007958528041839599,
0.007953407764434815,
0.008182784080505372,
0.00793497610092163,
0.007929920196533203,
0.007929855823516846,
0.007888895988464355,
0.00797388792037964,
0.007942143917083741,
0.007938047885894776,
0.008028160095214844,
0.008124416351318359,
0.008026111602783203,
0.008048640251159669,
0.00799948787689209,
0.008068096160888672,
0.007958528041839599,
0.00795849609375,
0.007958528041839599,
0.007940095901489258,
0.007962624073028564,
0.007883776187896728,
0.007775296211242675,
0.007964672088623047,
0.007862271785736084,
0.007631872177124023,
0.0075939841270446775,
0.007602176189422607,
0.007741439819335938,
0.007806975841522217,
0.007733215808868408,
0.007770112037658691,
0.008054783821105957,
0.008046591758728027,
0.007642111778259277,
0.007629824161529541,
0.007656447887420655,
0.007800767898559571,
0.007699456214904785,
0.007584767818450928,
0.007672832012176513,
0.007665664196014404,
0.007987199783325195,
0.007508992195129394,
0.007609344005584716,
0.007755775928497314,
0.00807423973083496,
0.008442879676818848,
0.00764521598815918,
0.007631872177124023,
0.007623680114746094,
0.007505919933319092,
0.007543807983398438,
0.007557119846343994,
0.007550975799560547,
0.007552000045776367,
0.007503839969635009,
0.007402495861053467,
0.007579648017883301,
0.007557119846343994,
0.007536640167236328,
0.007529471874237061,
0.007472127914428711,
0.007407616138458252,
0.007431168079376221,
0.007558144092559814,
0.007505919933319092,
0.007565311908721924,
0.007510015964508057,
0.007409664154052734,
0.007434239864349365,
0.007437312126159668,
0.0074332160949707035,
0.00756217622756958,
0.007546879768371582,
0.007541759967803955,
0.007605247974395752
]
},
"throughput": {
"unit": "samples/s",
"value": 127.12623957255644
},
"energy": {
"unit": "kWh",
"cpu": 8.922894705514096e-08,
"ram": 4.878524751923054e-08,
"gpu": 1.63352261007518e-07,
"total": 3.013664555818895e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3318219.3355566496
}
}
}
}