IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dd2375a verified
raw
history blame
9.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": true,
"energy": false,
"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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "b0a0b933f18d5fa56eadb290a26cc2099f2dd4d8",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1006.788608,
"max_global_vram": 22181.306368,
"max_process_vram": 247817.641984,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 120,
"total": 0.9991381282806401,
"mean": 0.00832615106900533,
"stdev": 0.0014410683361485157,
"p50": 0.00826393985748291,
"p90": 0.009370219516754154,
"p95": 0.010989800262451171,
"p99": 0.013157282791137696,
"values": [
0.008163619995117187,
0.008254819869995118,
0.008191141128540039,
0.008224419593811035,
0.008247300148010254,
0.008249699592590332,
0.008255298614501954,
0.008697695732116699,
0.008008261680603028,
0.008325220108032227,
0.009235293388366698,
0.007345225811004639,
0.008255938529968261,
0.011825674057006836,
0.004592765808105468,
0.008334178924560547,
0.008190660476684571,
0.010376084327697753,
0.006447473049163818,
0.008034340858459473,
0.008231779098510743,
0.013239422798156738,
0.0032324569225311277,
0.00821753978729248,
0.008394179344177246,
0.008145859718322754,
0.008430498123168945,
0.008197540283203126,
0.008236419677734376,
0.008284099578857422,
0.010992079734802247,
0.006565872192382812,
0.007196267127990722,
0.008262499809265137,
0.00843833827972412,
0.008130499839782715,
0.008228580474853515,
0.008279939651489258,
0.009691769599914551,
0.007031629085540772,
0.00824601936340332,
0.008239299774169921,
0.0082121000289917,
0.008256259918212891,
0.008261059761047363,
0.008245219230651855,
0.008239139556884765,
0.008219459533691405,
0.008299460411071777,
0.008254340171813965,
0.008260418891906738,
0.008206660270690919,
0.010989680290222167,
0.0065767521858215335,
0.007452266216278076,
0.008238018989562989,
0.012807106971740723,
0.0039716498851776125,
0.008476577758789062,
0.00839193820953369,
0.008333378791809083,
0.008252099990844726,
0.008256259918212891,
0.008216739654541016,
0.00830345916748047,
0.00831929874420166,
0.011285516738891601,
0.005511000156402588,
0.00834937858581543,
0.008293378829956054,
0.008412097930908203,
0.009118013381958008,
0.007586824893951416,
0.008247939109802246,
0.008246179580688476,
0.008265379905700684,
0.00900201416015625,
0.007626503944396973,
0.008314179420471192,
0.008268259048461913,
0.008295458793640137,
0.008439457893371582,
0.009334491729736329,
0.007706023216247558,
0.008333378791809083,
0.010331283569335938,
0.007882661819458008,
0.006939310073852539,
0.008467778205871582,
0.010894319534301759,
0.006013716220855713,
0.008586176872253418,
0.008470337867736816,
0.008489057540893555,
0.01041848373413086,
0.0065066728591918945,
0.008503937721252441,
0.00837001895904541,
0.008810336112976075,
0.008010181427001953,
0.008370179176330567,
0.00834393882751465,
0.008338178634643555,
0.00843081760406494,
0.008224260330200196,
0.00834089946746826,
0.008304099082946777,
0.008326178550720214,
0.01391221809387207,
0.003995171070098877,
0.007853703022003174,
0.008424098014831544,
0.008334657669067384,
0.00907977294921875,
0.007713223934173584,
0.008310500144958497,
0.00830601978302002,
0.008370179176330567,
0.008237380027770996,
0.008385857582092286
]
},
"throughput": {
"unit": "samples/s",
"value": 120.10351382195897
},
"energy": null,
"efficiency": null
}
}
}