IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bd88970 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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.4.0",
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 902.995968,
"max_global_vram": 841.760768,
"max_process_vram": 42341.568512,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.63034033203125,
"mean": 6.63034033203125,
"stdev": 0.0,
"p50": 6.63034033203125,
"p90": 6.63034033203125,
"p95": 6.63034033203125,
"p99": 6.63034033203125,
"values": [
6.63034033203125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.594432,
"max_global_vram": 896.323584,
"max_process_vram": 211693.416448,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9979547963142389,
"mean": 0.006608972161021454,
"stdev": 0.0007668117789284451,
"p50": 0.006461946964263916,
"p90": 0.00680722713470459,
"p95": 0.007045548915863037,
"p99": 0.007343710422515869,
"values": [
0.006998748779296875,
0.0068968281745910645,
0.0071233887672424315,
0.007261950016021729,
0.00742547082901001,
0.0071870689392089845,
0.007152988910675049,
0.007167068958282471,
0.007092349052429199,
0.0069089879989624025,
0.006819867134094239,
0.006805468082427979,
0.006777627944946289,
0.006695387840270996,
0.00667730712890625,
0.0066896271705627446,
0.006717146873474121,
0.00669538688659668,
0.006671707153320313,
0.006690587043762207,
0.015692864418029785,
0.006131704807281494,
0.006961147785186767,
0.006461627006530761,
0.0064433860778808595,
0.0064366660118103025,
0.006442105770111084,
0.006429946899414062,
0.006444345951080322,
0.006449946880340576,
0.006416185855865479,
0.006427226066589356,
0.006452507019042969,
0.006504346847534179,
0.006522106170654297,
0.006464827060699463,
0.006437786102294922,
0.0064608268737792966,
0.006462746143341065,
0.006418746948242187,
0.0064297871589660644,
0.006439226150512695,
0.00643186616897583,
0.0064347457885742185,
0.006429945945739746,
0.006441466808319092,
0.0064347457885742185,
0.006448826789855957,
0.006443545818328857,
0.006432186126708985,
0.006416346073150635,
0.00641938591003418,
0.006461787223815918,
0.0064457859992980955,
0.006428027153015136,
0.006448026180267334,
0.006422266006469727,
0.006487546920776367,
0.006472826957702637,
0.006443706035614014,
0.006469147205352783,
0.006445305824279785,
0.006461946964263916,
0.006460986137390137,
0.006456186771392822,
0.006488346099853516,
0.006484507083892822,
0.006453465938568115,
0.006475707054138183,
0.006488827228546143,
0.0064984259605407714,
0.006476027011871338,
0.0064769859313964845,
0.006460825920104981,
0.006470107078552246,
0.006483866214752197,
0.006484986782073975,
0.006464186191558838,
0.006444986820220947,
0.006447546005249024,
0.006452826976776123,
0.006448185920715332,
0.00646002721786499,
0.006484025955200195,
0.006457305908203125,
0.006480186939239502,
0.0064598660469055175,
0.006446746826171875,
0.006433145999908447,
0.00645138692855835,
0.006442105770111084,
0.006435386180877686,
0.006444826126098633,
0.00642210578918457,
0.006426907062530517,
0.006497786045074463,
0.006499546051025391,
0.006418906211853028,
0.0064384260177612306,
0.00646578598022461,
0.006502265930175781,
0.00645522689819336,
0.0067062668800354,
0.006820668220520019,
0.00680722713470459,
0.006750267028808593,
0.006765148162841797,
0.006594747066497803,
0.006540506839752197,
0.006594266891479492,
0.006618267059326172,
0.006780667781829834,
0.006822907924652099,
0.006792027950286866,
0.006761787891387939,
0.006572826862335205,
0.006640186786651611,
0.00660802698135376,
0.006641147136688233,
0.006640666961669922,
0.006523705959320068,
0.006468505859375,
0.0064638671875,
0.006425625801086425,
0.006454747200012207,
0.006436985969543457,
0.0064525060653686525,
0.006468986034393311,
0.006440505981445312,
0.006422266006469727,
0.006442105770111084,
0.006456186771392822,
0.006430585861206054,
0.006449626922607422,
0.006450265884399414,
0.0064608268737792966,
0.0064505858421325685,
0.006454747200012207,
0.006451226234436035,
0.006497947216033936,
0.0065385870933532715,
0.006459226131439209,
0.006498266220092774,
0.0065673871040344235,
0.006485627174377441,
0.006439065933227539,
0.006444507122039795,
0.006466105937957763,
0.006467706203460694,
0.006446745872497559,
0.006438746929168702
]
},
"throughput": {
"unit": "samples/s",
"value": 151.30945866254706
},
"energy": null,
"efficiency": null
}
}
}