IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cfa53ba
verified
{ | |
"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": "d0c0a5c5918412583a4f2490ab7e3d1b48375998", | |
"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": 902.385664, | |
"max_global_vram": 2547.249152, | |
"max_process_vram": 44829.892608, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.43384619140625, | |
"mean": 7.43384619140625, | |
"stdev": 0.0, | |
"p50": 7.43384619140625, | |
"p90": 7.43384619140625, | |
"p95": 7.43384619140625, | |
"p99": 7.43384619140625, | |
"values": [ | |
7.43384619140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.16256, | |
"max_global_vram": 2603.753472, | |
"max_process_vram": 223831.912448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9982874112129212, | |
"mean": 0.00792291596200731, | |
"stdev": 0.00028868911470993335, | |
"p50": 0.007749412059783935, | |
"p90": 0.00832284927368164, | |
"p95": 0.00849412989616394, | |
"p99": 0.008679248332977296, | |
"values": [ | |
0.008306368827819825, | |
0.008188611030578613, | |
0.008471810340881347, | |
0.008501569747924804, | |
0.008302849769592285, | |
0.008188130378723145, | |
0.008151169776916503, | |
0.008289569854736329, | |
0.00809005069732666, | |
0.008091171264648438, | |
0.008016450881958008, | |
0.007997570991516113, | |
0.007978850841522217, | |
0.007931490898132325, | |
0.00820909023284912, | |
0.008031010627746582, | |
0.008141730308532715, | |
0.008098690986633302, | |
0.007939812183380126, | |
0.007867812156677246, | |
0.007852770805358887, | |
0.007875811100006104, | |
0.00796221113204956, | |
0.008326689720153808, | |
0.008253250122070312, | |
0.008415490150451661, | |
0.008398848533630371, | |
0.008318690299987793, | |
0.008359969139099121, | |
0.008214369773864746, | |
0.008142049789428712, | |
0.008110530853271484, | |
0.008112930297851562, | |
0.008059011459350587, | |
0.00818733024597168, | |
0.008230690002441407, | |
0.008191490173339843, | |
0.008235810279846191, | |
0.007789890766143798, | |
0.008007011413574218, | |
0.007640613079071045, | |
0.007711331844329834, | |
0.007685411930084229, | |
0.007688131809234619, | |
0.0077089319229125975, | |
0.007699332237243652, | |
0.007702052116394043, | |
0.0077089319229125975, | |
0.007691011905670166, | |
0.007696931838989258, | |
0.007681892871856689, | |
0.007694052219390869, | |
0.00767661190032959, | |
0.0076802921295166015, | |
0.007703651905059814, | |
0.007696611881256104, | |
0.007747012138366699, | |
0.007695012092590332, | |
0.007730690956115722, | |
0.0076572527885437015, | |
0.007690052032470703, | |
0.007668612003326416, | |
0.007660451889038086, | |
0.007697892189025879, | |
0.007638691902160644, | |
0.007704452037811279, | |
0.0077639718055725095, | |
0.007732451915740967, | |
0.007687332153320313, | |
0.007718371868133545, | |
0.007734851837158203, | |
0.007669732093811035, | |
0.007681252002716065, | |
0.0076857318878173824, | |
0.007694692134857178, | |
0.007672292232513428, | |
0.007671651840209961, | |
0.007689571857452392, | |
0.007766531944274902, | |
0.007684452056884766, | |
0.0077518119812011715, | |
0.007715491771697998, | |
0.007733891963958741, | |
0.007736930847167969, | |
0.007679811954498291, | |
0.007653573036193848, | |
0.00782237195968628, | |
0.007679331779479981, | |
0.00768429183959961, | |
0.007693411827087403, | |
0.007681571960449219, | |
0.00767821216583252, | |
0.007688131809234619, | |
0.007684453010559082, | |
0.007679973125457764, | |
0.007774211883544922, | |
0.0076998119354248044, | |
0.008368609428405761, | |
0.008662368774414063, | |
0.008319008827209472, | |
0.0085631685256958, | |
0.008579169273376465, | |
0.008246210098266602, | |
0.008681088447570802, | |
0.007930211067199707, | |
0.008065569877624511, | |
0.008020610809326171, | |
0.008020931243896485, | |
0.008000930786132813, | |
0.0076705322265625, | |
0.007719811916351319, | |
0.00772573184967041, | |
0.007713091850280762, | |
0.007636931896209717, | |
0.007744771957397461, | |
0.007706851959228516, | |
0.007963971138000488, | |
0.007726051807403564, | |
0.007731011867523193, | |
0.00876492691040039, | |
0.008673727989196777, | |
0.00827964973449707, | |
0.007870370864868165, | |
0.00773005199432373, | |
0.007730852127075196, | |
0.007756452083587647 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.21615637415458 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |