IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
af23fb7 verified
raw
history blame
11.5 kB
{
"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.252864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 800.415744,
"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.94448291015625,
"mean": 7.94448291015625,
"stdev": 0.0,
"p50": 7.94448291015625,
"p90": 7.94448291015625,
"p95": 7.94448291015625,
"p99": 7.94448291015625,
"values": [
7.94448291015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.272025604183734e-07,
"ram": 4.6887438104472715e-07,
"gpu": 1.641112423999072e-06,
"total": 3.0371893654621727e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1096.503296,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9992975683212276,
"mean": 0.007686904371701753,
"stdev": 0.0002251415241029427,
"p50": 0.00766977596282959,
"p90": 0.00797308464050293,
"p95": 0.008059443187713624,
"p99": 0.008181798315048217,
"values": [
0.007879680156707763,
0.008059904098510743,
0.007849984169006348,
0.008159328460693359,
0.008190976142883302,
0.008096832275390625,
0.007937024116516114,
0.007678976058959961,
0.007646207809448242,
0.007616511821746826,
0.0076267518997192385,
0.007684095859527588,
0.007641088008880615,
0.007624703884124756,
0.007714816093444824,
0.007616511821746826,
0.008044511795043945,
0.007916543960571289,
0.007975935935974121,
0.007993343830108643,
0.0077454719543457035,
0.007643136024475097,
0.007620607852935791,
0.007665664196014404,
0.0077199358940124516,
0.007730144023895264,
0.00791756820678711,
0.007931903839111328,
0.008111104011535645,
0.007906367778778076,
0.007897088050842285,
0.0078438401222229,
0.007673855781555176,
0.007654399871826172,
0.00769536018371582,
0.007612415790557861,
0.007570464134216309,
0.007638016223907471,
0.007629824161529541,
0.0075970559120178225,
0.007592959880828858,
0.007639039993286132,
0.007682015895843506,
0.007682047843933106,
0.00789414405822754,
0.007729152202606201,
0.007693312168121338,
0.0077003521919250485,
0.007808000087738037,
0.007946239948272706,
0.00790015983581543,
0.007958528041839599,
0.008078271865844727,
0.007769087791442871,
0.007714816093444824,
0.007819263935089112,
0.007628799915313721,
0.007535615921020508,
0.007605247974395752,
0.007624703884124756,
0.007607295989990235,
0.007959551811218261,
0.007737343788146973,
0.007605247974395752,
0.007603231906890869,
0.007625728130340576,
0.007599103927612305,
0.0076308479309082035,
0.007638016223907471,
0.0076656961441040035,
0.0076871681213378906,
0.007889920234680176,
0.008002559661865234,
0.00797276782989502,
0.007918464183807374,
0.00822169589996338,
0.007865344047546387,
0.007789504051208496,
0.007819263935089112,
0.008021023750305176,
0.00795136022567749,
0.007778143882751465,
0.007684224128723145,
0.007712607860565186,
0.007886847972869874,
0.007389120101928711,
0.007260223865509033,
0.007219200134277344,
0.00790835189819336,
0.007857151985168457,
0.007841792106628418,
0.00788479995727539,
0.007928832054138184,
0.008058879852294922,
0.007863296031951903,
0.007512063980102539,
0.007562240123748779,
0.007683072090148926,
0.0075008001327514645,
0.00747219181060791,
0.007477248191833496,
0.0074670081138610836,
0.0075038719177246095,
0.00743936014175415,
0.0075008001327514645,
0.007436287879943848,
0.00733187198638916,
0.007237631797790528,
0.00727347183227539,
0.007310272216796875,
0.007230463981628418,
0.007419936180114746,
0.007552896022796631,
0.007548927783966064,
0.007279615879058838,
0.007342080116271973,
0.0074332160949707035,
0.007742464065551758,
0.007387135982513428,
0.007443520069122314,
0.0074700798988342285,
0.007479296207427978,
0.007468031883239746,
0.007528448104858398,
0.007468031883239746,
0.00740556812286377,
0.007449600219726562,
0.0074065918922424315,
0.007427968025207519,
0.007261184215545655
]
},
"throughput": {
"unit": "samples/s",
"value": 130.0913803066626
},
"energy": {
"unit": "kWh",
"cpu": 8.686091902879709e-08,
"ram": 4.740287641632102e-08,
"gpu": 1.5792794467153687e-07,
"total": 2.9219174011665495e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3422410.2282999475
}
}
}
}