IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a05a70e verified
raw
history blame
11.3 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": "5",
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 908.644352,
"max_global_vram": 842.080256,
"max_process_vram": 44122.70592,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.11939306640625,
"mean": 8.11939306640625,
"stdev": 0.0,
"p50": 8.11939306640625,
"p90": 8.11939306640625,
"p95": 8.11939306640625,
"p99": 8.11939306640625,
"values": [
8.11939306640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.44704,
"max_global_vram": 897.286144,
"max_process_vram": 227228.553216,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9957791504859925,
"mean": 0.00784078071248813,
"stdev": 0.0005451609852022178,
"p50": 0.007669897079467774,
"p90": 0.00810877628326416,
"p95": 0.008329079151153565,
"p99": 0.00893543643951416,
"values": [
0.007962057113647461,
0.007911976814270019,
0.008014056205749511,
0.008107815742492676,
0.008142056465148926,
0.008031657218933105,
0.008110217094421387,
0.00812045669555664,
0.00896605396270752,
0.007992616176605224,
0.008036136627197266,
0.007931336879730225,
0.007945897102355957,
0.00796125602722168,
0.00819101619720459,
0.008299175262451173,
0.007966056823730468,
0.007912456035614013,
0.007942057132720948,
0.007888936042785644,
0.007834696769714355,
0.007809737205505371,
0.007854217052459717,
0.007958055973052979,
0.008002217292785645,
0.00802733612060547,
0.007966856002807617,
0.007947816848754882,
0.007961895942687989,
0.007971177101135254,
0.013213882446289063,
0.008394696235656739,
0.007688137054443359,
0.007669096946716309,
0.0076716580390930175,
0.0076458978652954104,
0.007624456882476807,
0.007603017807006836,
0.007662217140197754,
0.007642697811126709,
0.007691017150878906,
0.007630218029022217,
0.0076492571830749515,
0.007669897079467774,
0.007658857822418213,
0.007769736766815185,
0.00791869592666626,
0.007698217868804932,
0.007723977088928222,
0.007651017189025879,
0.007634538173675537,
0.007643977165222168,
0.007772296905517578,
0.007693576812744141,
0.007687337875366211,
0.00834189510345459,
0.008848294258117676,
0.008709733963012695,
0.007863496780395508,
0.008063495635986328,
0.008162055969238281,
0.007638216972351074,
0.00809709644317627,
0.00765837812423706,
0.0076785368919372555,
0.00766893720626831,
0.007682377815246582,
0.007682218074798584,
0.007706216812133789,
0.00772909688949585,
0.007694377899169922,
0.007746057987213135,
0.0076764578819274905,
0.007699656963348389,
0.007746696949005127,
0.0076697378158569335,
0.007596457958221435,
0.007645576953887939,
0.007663817882537842,
0.007638216972351074,
0.007625897884368896,
0.007656297206878662,
0.00766029691696167,
0.007644937992095947,
0.0076406168937683105,
0.007604618072509766,
0.007629257202148437,
0.007616777896881103,
0.007609257221221924,
0.007586217880249023,
0.007603656768798828,
0.007628458023071289,
0.007601256847381592,
0.007619977951049805,
0.007626856803894043,
0.007637578010559082,
0.007638378143310547,
0.0076590170860290525,
0.007668138027191162,
0.007645417213439942,
0.007599338054656983,
0.0075929369926452635,
0.007625418186187744,
0.007615177154541015,
0.007661256790161133,
0.007618698120117187,
0.007625257015228272,
0.007605257987976074,
0.008090057373046876,
0.008715333938598633,
0.007975815773010254,
0.007629578113555908,
0.0077946968078613284,
0.007594377994537354,
0.007599177837371826,
0.007552297115325928,
0.007624938011169434,
0.00762749719619751,
0.007587337970733642,
0.007629415988922119,
0.007664137840270996,
0.007622377872467041,
0.0076430168151855465,
0.007621737957000732,
0.007634216785430908,
0.007605418205261231,
0.007638697147369385
]
},
"throughput": {
"unit": "samples/s",
"value": 127.53832005622667
},
"energy": null,
"efficiency": null
}
}
}