IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b539fb9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1104.850944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3982.319616, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06753099060058594 | |
], | |
"count": 1, | |
"total": 0.06753099060058594, | |
"mean": 0.06753099060058594, | |
"p50": 0.06753099060058594, | |
"p90": 0.06753099060058594, | |
"p95": 0.06753099060058594, | |
"p99": 0.06753099060058594, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.73792, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 252050.49344, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00763121223449707, | |
0.0070456118583679195, | |
0.0070184111595153805, | |
0.00700897216796875, | |
0.006979371070861816, | |
0.006948811054229736, | |
0.006952012062072754, | |
0.007012650966644287, | |
0.006941290855407714, | |
0.006997451782226562, | |
0.00700753116607666, | |
0.006963051795959472, | |
0.006978090763092041, | |
0.006973771095275879, | |
0.006949451923370362, | |
0.006971850872039795, | |
0.006941610813140869, | |
0.007002892017364502, | |
0.006974250793457031, | |
0.006992812156677246, | |
0.006951051235198975, | |
0.0069712109565734865, | |
0.007003052234649658, | |
0.007002571105957031, | |
0.0069846510887146, | |
0.006991850852966309, | |
0.00698689079284668, | |
0.0069624118804931644, | |
0.007027370929718018, | |
0.007026251792907715, | |
0.006952810764312744, | |
0.007074091911315918, | |
0.006999210834503174, | |
0.006990890979766845, | |
0.007029612064361573, | |
0.00703105115890503, | |
0.007019052028656006, | |
0.007016651153564453, | |
0.006958571910858155, | |
0.0070372910499572755, | |
0.0070160112380981444, | |
0.00720081090927124, | |
0.007015212059020996, | |
0.00704033088684082, | |
0.006994411945343017, | |
0.007030090808868408, | |
0.007010731220245361, | |
0.0070110511779785155, | |
0.007018731117248535, | |
0.007170732021331787, | |
0.00714113187789917, | |
0.007046730995178223, | |
0.0070139322280883785, | |
0.006992970943450928, | |
0.00696881103515625, | |
0.006990732192993164, | |
0.006984170913696289, | |
0.007003851890563965, | |
0.006986731052398681, | |
0.0069852910041809085, | |
0.006982892036437988, | |
0.007015690803527832, | |
0.006982091903686523, | |
0.007023850917816162, | |
0.00701889181137085, | |
0.0071345710754394534, | |
0.007937613010406495, | |
0.00794001293182373, | |
0.007944172859191894, | |
0.007921292781829833, | |
0.007965932846069336, | |
0.007582891941070557, | |
0.00739281177520752, | |
0.007411212921142578, | |
0.007440651893615723, | |
0.007437131881713867, | |
0.007477612018585205, | |
0.007441611766815186, | |
0.007755373001098633, | |
0.007403851985931397, | |
0.007733451843261719, | |
0.007990892887115478, | |
0.007940331935882568, | |
0.007951372146606446, | |
0.007956491947174073, | |
0.007964491844177246, | |
0.007724973201751709, | |
0.00711057186126709, | |
0.007186730861663818, | |
0.007042731761932373, | |
0.007031210899353027, | |
0.007015212059020996, | |
0.006986411094665528, | |
0.007193451881408692, | |
0.007133932113647461, | |
0.007002410888671875, | |
0.007238091945648194, | |
0.007019371032714844, | |
0.0070596919059753415, | |
0.0070164909362792965, | |
0.007059371948242187, | |
0.007194091796875, | |
0.006981451034545899, | |
0.007037771224975586, | |
0.007005451202392578, | |
0.007026250839233398, | |
0.0070328121185302735, | |
0.007023850917816162, | |
0.0071019320487976075, | |
0.007051530838012695, | |
0.007011531829833984, | |
0.007019371032714844, | |
0.007034731864929199, | |
0.007021131038665772, | |
0.006998571872711181, | |
0.007019371032714844, | |
0.00722625207901001, | |
0.007298731803894043, | |
0.007231691837310791, | |
0.007023691177368164, | |
0.007068171977996827, | |
0.007036170959472656, | |
0.007041612148284912, | |
0.007005130767822266, | |
0.006986570835113525, | |
0.007042572021484375, | |
0.007051210880279541, | |
0.0070377721786499025, | |
0.006991051197052002, | |
0.006975212097167969, | |
0.007026570796966553, | |
0.007067852020263672, | |
0.007035211086273193, | |
0.007012172222137451, | |
0.0070158510208129885, | |
0.0070276899337768555, | |
0.007027370929718018, | |
0.00701521110534668, | |
0.007026412010192871, | |
0.007018731117248535 | |
], | |
"count": 140, | |
"total": 0.9993467369079592, | |
"mean": 0.007138190977913993, | |
"p50": 0.007022411108016968, | |
"p90": 0.007587723970413208, | |
"p95": 0.007940028882026672, | |
"p99": 0.007965370855331421, | |
"stdev": 0.000275822278233018, | |
"stdev_": 3.8640361274506283 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.09151661731414 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |