IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
71dfb77 verified
raw
history blame
11.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",
"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 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.3.1",
"optimum_benchmark_commit": "25912a6d02929e242ccb030ce6895e556366bb93",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 901.464064,
"max_global_vram": 3128.377344,
"max_process_vram": 41897.51296,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3310107421875,
"mean": 7.3310107421875,
"stdev": 0.0,
"p50": 7.3310107421875,
"p90": 7.3310107421875,
"p95": 7.3310107421875,
"p99": 7.3310107421875,
"values": [
7.3310107421875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.970048,
"max_global_vram": 3185.016832,
"max_process_vram": 201973.559296,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9970527296066279,
"mean": 0.007331270070636974,
"stdev": 0.0001946936417600469,
"p50": 0.007267821073532105,
"p90": 0.007519740104675293,
"p95": 0.007712299942970276,
"p99": 0.008143883037567138,
"values": [
0.00805181884765625,
0.007616300106048584,
0.007579659938812256,
0.007503499984741211,
0.007391339778900147,
0.007337740898132324,
0.007254220008850097,
0.007469100952148438,
0.007294380187988282,
0.007503980159759521,
0.0072875008583068845,
0.007286380767822265,
0.007281421184539795,
0.007307981014251709,
0.007291821002960205,
0.007269580841064453,
0.007283501148223877,
0.007261900901794433,
0.007299500942230225,
0.007271501064300537,
0.007288300991058349,
0.007278380870819091,
0.007276939868927002,
0.007286701202392578,
0.0073444609642028804,
0.007286699771881103,
0.007344301223754883,
0.007391180038452148,
0.007587820053100586,
0.007213740825653076,
0.0072398209571838375,
0.007223021030426025,
0.007240940093994141,
0.00723150110244751,
0.007214221000671386,
0.007209421157836914,
0.007259820938110352,
0.007191020965576172,
0.00724574089050293,
0.007224620819091797,
0.0072129411697387695,
0.00740093994140625,
0.00725662088394165,
0.007262701034545898,
0.0072694201469421385,
0.0072177410125732425,
0.0072159810066223145,
0.007209580898284912,
0.007259820938110352,
0.007423180103302002,
0.007463339805603027,
0.007163821220397949,
0.007193100929260254,
0.007208301067352295,
0.0072515010833740234,
0.007246060848236084,
0.007458380222320557,
0.007243021011352539,
0.007264141082763672,
0.007228940963745117,
0.007239020824432373,
0.0074718198776245115,
0.007266541004180908,
0.007268301010131836,
0.0072372608184814455,
0.007224299907684326,
0.007292780876159668,
0.0072343811988830565,
0.007243660926818848,
0.007211660861968994,
0.007235980033874512,
0.007226861000061035,
0.007244461059570313,
0.007236300945281982,
0.007261900901794433,
0.007236300945281982,
0.007252301216125488,
0.0072270212173461915,
0.007300460815429687,
0.007245420932769775,
0.007263980865478516,
0.007226221084594727,
0.007274220943450928,
0.007278060913085938,
0.007285580158233642,
0.007213581085205078,
0.0072447810173034664,
0.007243340969085694,
0.007250700950622559,
0.007273740768432617,
0.007240301132202149,
0.007235180854797363,
0.007226541042327881,
0.00721998119354248,
0.00728734016418457,
0.00786733913421631,
0.008033578872680663,
0.008131818771362305,
0.008150379180908203,
0.008159817695617676,
0.007660620212554932,
0.007651340007781982,
0.007541419982910157,
0.00798077917098999,
0.0073891010284423825,
0.007446060180664063,
0.007535500049591064,
0.007424779891967773,
0.0072140607833862305,
0.007197421073913574,
0.007284780979156494,
0.007263501167297363,
0.007270541191101074,
0.007236781120300293,
0.007285100936889648,
0.007255180835723877,
0.007284300804138184,
0.007278060913085938,
0.007290380954742432,
0.0072611007690429686,
0.007258861064910888,
0.007275821208953858,
0.00727198076248169,
0.007204620838165283,
0.007241421222686768,
0.007259661197662353,
0.007267341136932373,
0.007270380020141602,
0.00726862096786499,
0.007208140850067138,
0.007254061222076416,
0.007281580924987793,
0.007245581150054931,
0.007303980827331543,
0.007286701202392578,
0.007268619060516357
]
},
"throughput": {
"unit": "samples/s",
"value": 136.40201361632768
},
"energy": null,
"efficiency": null
}
}
}