IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
117deb5 verified
raw
history blame
10.3 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": "3e2eebdc0f80ae6deeb2e1faad3e889ed5a4df2d",
"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": 1002.672128,
"max_global_vram": 898.461696,
"max_process_vram": 212847.214592,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9953043928146366,
"mean": 0.007372625131960269,
"stdev": 0.0002775897221710371,
"p50": 0.007234007835388184,
"p90": 0.007742258644104004,
"p95": 0.00789737606048584,
"p99": 0.008220768394470215,
"values": [
0.007573363780975342,
0.007371604919433594,
0.007414485931396484,
0.007681522846221924,
0.007745203018188477,
0.007781842231750488,
0.007726643085479736,
0.007690962791442871,
0.007676723003387451,
0.007592563152313232,
0.007554803848266602,
0.0074733648300170895,
0.007425685882568359,
0.007451125144958496,
0.007515923976898193,
0.007493844985961914,
0.007355286121368408,
0.007338965892791748,
0.007334486007690429,
0.007331126213073731,
0.007349047183990478,
0.007341365814208984,
0.007369525909423828,
0.007382006168365479,
0.007417204856872558,
0.007338325977325439,
0.00881879234313965,
0.007507444858551026,
0.007210807800292969,
0.0071824870109558105,
0.007553524017333985,
0.007258007049560547,
0.00720360803604126,
0.007156888008117676,
0.007173367977142334,
0.007167448043823242,
0.007160088062286377,
0.00717352819442749,
0.007171446800231933,
0.007380246162414551,
0.007350966930389404,
0.007216087818145752,
0.007368725776672363,
0.007415444850921631,
0.00718888807296753,
0.007505364894866943,
0.0072140078544616695,
0.007185526847839355,
0.007193048000335694,
0.007164087772369385,
0.007160568237304687,
0.007184566974639893,
0.007192247867584228,
0.007160568237304687,
0.007182007789611817,
0.007202328205108643,
0.007208406925201416,
0.007180247783660889,
0.007200088024139404,
0.007195127010345459,
0.007226326942443848,
0.007204407215118408,
0.0071919279098510746,
0.0071484088897705075,
0.007174967765808105,
0.007215287208557129,
0.0072202467918396,
0.007285206794738769,
0.007209368228912353,
0.007194326877593994,
0.007194007873535156,
0.007231447219848633,
0.007208407878875733,
0.0071919279098510746,
0.007226326942443848,
0.007217526912689209,
0.007189527034759522,
0.007163447856903076,
0.007223126888275147,
0.007239127159118652,
0.007218647003173828,
0.007192727088928223,
0.007189047813415527,
0.007239448070526123,
0.007219927787780762,
0.007238967895507813,
0.00723656702041626,
0.00719976806640625,
0.007233687877655029,
0.0072183279991149905,
0.007199128150939941,
0.007192407131195068,
0.007218966960906983,
0.007157368183135986,
0.007204886913299561,
0.007219286918640136,
0.007225846767425537,
0.007198488235473633,
0.007234007835388184,
0.007188087940216065,
0.007185047149658203,
0.007220567226409912,
0.007210648059844971,
0.007207608222961426,
0.007195927143096924,
0.007233366966247558,
0.007248726844787598,
0.007704562187194825,
0.008220876693725586,
0.00812919807434082,
0.007870161056518554,
0.007768561840057373,
0.00819751739501953,
0.00817127799987793,
0.008220558166503905,
0.007939599990844726,
0.007663763046264648,
0.007737842082977295,
0.0077632818222045895,
0.007756562232971192,
0.00787928009033203,
0.007720081806182861,
0.007459444999694824,
0.007413845062255859,
0.007419284820556641,
0.007229687213897705,
0.007282647132873535,
0.007280247211456299,
0.007341365814208984,
0.007198008060455322,
0.007263607025146485,
0.0073151268959045414,
0.007330166816711426,
0.0073029670715332035,
0.0073290448188781734
]
},
"throughput": {
"unit": "samples/s",
"value": 135.6368975909284
},
"energy": null,
"efficiency": null
}
}
}