IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
17575b8 verified
raw
history blame
10.2 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": "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": {},
"hub_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,
"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.1",
"optimum_benchmark_commit": "2516ce57a5b64eefeb78dc75a171e0cdff88823e",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.00864,
"max_global_vram": 1877.528576,
"max_process_vram": 222345.404416,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.000527513504028,
"mean": 0.007579753890182033,
"stdev": 0.0004245242669204911,
"p50": 0.007688728332519532,
"p90": 0.007763704872131347,
"p95": 0.007870545053482055,
"p99": 0.008343991012573241,
"values": [
0.007955688953399659,
0.00775216817855835,
0.0077526488304138184,
0.007820808887481689,
0.007896328926086426,
0.008017128944396972,
0.0080921688079834,
0.007758088111877441,
0.007687209129333496,
0.007783528804779053,
0.007711688041687012,
0.007218089103698731,
0.007568967819213867,
0.007321767807006836,
0.007552649021148682,
0.007841608047485352,
0.007438248157501221,
0.006845128059387207,
0.006939846992492676,
0.007076007843017578,
0.006936808109283447,
0.006936168193817139,
0.006774406909942627,
0.006796487808227539,
0.006785607814788818,
0.006986886978149414,
0.006776968002319336,
0.007060167789459229,
0.00729312801361084,
0.007473127841949463,
0.007631527900695801,
0.007414087772369384,
0.01066305160522461,
0.007849449157714844,
0.007689448833465576,
0.007665768146514893,
0.007651689052581787,
0.007662407875061035,
0.007656009197235108,
0.007693929195404053,
0.0076691279411315915,
0.007668808937072754,
0.007687368869781494,
0.007668168067932129,
0.007661609172821045,
0.007667208194732666,
0.007708488941192627,
0.007663848876953125,
0.0076665678024291995,
0.0076928091049194335,
0.0077168078422546384,
0.0077331290245056155,
0.007690568923950195,
0.007723368167877197,
0.007694408893585205,
0.00796912908554077,
0.0077064080238342285,
0.007663047790527343,
0.007650249004364014,
0.007741447925567627,
0.007702569007873535,
0.007721609115600586,
0.007682888031005859,
0.0076945691108703616,
0.007700168132781983,
0.007682249069213867,
0.007685608863830566,
0.008457128524780273,
0.007730888843536377,
0.007722727775573731,
0.007691527843475342,
0.007723208904266358,
0.007708968162536621,
0.007734249114990235,
0.0077452888488769535,
0.0076942481994628905,
0.007702408790588379,
0.0077132887840271,
0.007736807823181153,
0.007728488922119141,
0.007692008972167969,
0.00775440788269043,
0.007731849193572998,
0.0077643289566040035,
0.007700007915496826,
0.007696649074554443,
0.007669609069824218,
0.007719687938690186,
0.007734569072723388,
0.007786249160766602,
0.007710087776184082,
0.007712008953094482,
0.0076694488525390625,
0.0076739277839660645,
0.007685129165649414,
0.00770416784286499,
0.007705928802490235,
0.007683369159698486,
0.0076880078315734865,
0.007707048892974853,
0.007690248966217041,
0.007682248115539551,
0.007680169105529785,
0.007721928119659424,
0.00767744779586792,
0.0077710490226745605,
0.00772192907333374,
0.0076953678131103515,
0.007669128894805908,
0.00770416784286499,
0.007705129146575927,
0.007718248844146729,
0.007730728149414063,
0.007722249031066894,
0.007602569103240967,
0.007430727958679199,
0.00738864803314209,
0.007309127807617188,
0.007132328033447265,
0.007307528972625732,
0.00697232723236084,
0.006788968086242676,
0.006782408237457275,
0.007139048099517822,
0.0076851282119750975,
0.007446248054504395,
0.006942087173461914,
0.006806888103485107,
0.00678928804397583,
0.006829607009887695,
0.00681328821182251,
0.006854407787322998
]
},
"throughput": {
"unit": "samples/s",
"value": 131.9304049298076
},
"energy": null,
"efficiency": null
}
}
}