IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dcd83b6 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": 786.853888,
"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.34580419921875,
"mean": 7.34580419921875,
"stdev": 0.0,
"p50": 7.34580419921875,
"p90": 7.34580419921875,
"p95": 7.34580419921875,
"p99": 7.34580419921875,
"values": [
7.34580419921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.20166059722326e-07,
"ram": 4.882760095084967e-07,
"gpu": 1.7475013979998018e-06,
"total": 3.155943467230624e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.765312,
"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.9984489588737487,
"mean": 0.00786180282577755,
"stdev": 0.0002277998337143358,
"p50": 0.00795750379562378,
"p90": 0.00808673267364502,
"p95": 0.008112787055969238,
"p99": 0.00822700044631958,
"values": [
0.007935999870300293,
0.00795750379562378,
0.007953407764434815,
0.00790937614440918,
0.008157183647155761,
0.008171520233154296,
0.008079360008239746,
0.008079360008239746,
0.008078335762023926,
0.00808448028564453,
0.008020992279052735,
0.007996416091918946,
0.00795750379562378,
0.00800767993927002,
0.008030207633972167,
0.008118335723876952,
0.008089599609375,
0.008045568466186523,
0.008431615829467774,
0.007987167835235596,
0.008076288223266602,
0.008060928344726562,
0.008092639923095703,
0.008073216438293456,
0.00809055995941162,
0.008068096160888672,
0.008060928344726562,
0.008034303665161132,
0.008067071914672852,
0.007962624073028564,
0.007937024116516114,
0.007969791889190675,
0.007985087871551513,
0.008035327911376953,
0.008004608154296875,
0.008054783821105957,
0.008085503578186035,
0.008099840164184571,
0.008070143699645996,
0.008094719886779785,
0.008047616004943848,
0.007971839904785156,
0.008060928344726562,
0.008085503578186035,
0.00799129581451416,
0.008011775970458984,
0.008043519973754883,
0.007990272045135497,
0.007964672088623047,
0.007979008197784423,
0.008012800216674805,
0.008078335762023926,
0.007961599826812745,
0.007953407764434815,
0.007952383995056152,
0.007976960182189942,
0.008005632400512695,
0.00796569585800171,
0.008043519973754883,
0.008242176055908204,
0.00818380832672119,
0.008088576316833495,
0.008075200080871581,
0.007993343830108643,
0.008011775970458984,
0.007988255977630615,
0.00797388792037964,
0.008085503578186035,
0.007911488056182862,
0.007938047885894776,
0.007782400131225586,
0.007873536109924317,
0.007886847972869874,
0.0077281599044799806,
0.007551968097686768,
0.007613440036773681,
0.007875584125518798,
0.007971839904785156,
0.007954432010650634,
0.007952383995056152,
0.008023039817810058,
0.008145919799804687,
0.007858176231384278,
0.007803936004638672,
0.007715839862823487,
0.007704576015472412,
0.0077844481468200685,
0.007786464214324951,
0.007615488052368164,
0.0076308479309082035,
0.0075939841270446775,
0.007634943962097168,
0.007615488052368164,
0.007562240123748779,
0.007525375843048096,
0.007540736198425293,
0.0075335679054260255,
0.007572415828704834,
0.007581696033477783,
0.00754585599899292,
0.007517183780670166,
0.007553023815155029,
0.007580671787261963,
0.007529471874237061,
0.007556096076965332,
0.007553023815155029,
0.00754585599899292,
0.007540736198425293,
0.007544832229614258,
0.007601151943206787,
0.007554048061370849,
0.007625728130340576,
0.007562240123748779,
0.007539711952209473,
0.007532544136047363,
0.007550975799560547,
0.007589824199676513,
0.007519231796264648,
0.007556096076965332,
0.007558176040649414,
0.007557119846343994,
0.0075632638931274416,
0.007524352073669433,
0.007535615921020508,
0.0075335679054260255,
0.007528448104858398,
0.007526400089263916
]
},
"throughput": {
"unit": "samples/s",
"value": 127.19728822518489
},
"energy": {
"unit": "kWh",
"cpu": 8.949392701023232e-08,
"ram": 4.893069689124809e-08,
"gpu": 1.7079378742857128e-07,
"total": 3.0921841133005165e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3233960.0856839865
}
}
}
}