IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a4f64d3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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.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.2", | |
"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": 1389.1584, | |
"max_global_vram": 11.108352, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.90439990234375, | |
"mean": 7.90439990234375, | |
"stdev": 0.0, | |
"p50": 7.90439990234375, | |
"p90": 7.90439990234375, | |
"p95": 7.90439990234375, | |
"p99": 7.90439990234375, | |
"values": [ | |
7.90439990234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1514.51648, | |
"max_global_vram": 11.153408, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9996868262290955, | |
"mean": 0.008061990534105607, | |
"stdev": 0.0002734700041459802, | |
"p50": 0.007913978099823, | |
"p90": 0.008384584522247314, | |
"p95": 0.008605184173583984, | |
"p99": 0.0090198344707489, | |
"values": [ | |
0.008608136177062988, | |
0.008588456153869628, | |
0.00854909610748291, | |
0.008925575256347656, | |
0.008278057098388672, | |
0.008232296943664551, | |
0.008192136764526367, | |
0.008106058120727538, | |
0.00804189682006836, | |
0.0079444580078125, | |
0.00786365795135498, | |
0.007861258029937744, | |
0.007870859146118164, | |
0.007852138996124268, | |
0.00787517786026001, | |
0.007883018016815185, | |
0.007884778022766114, | |
0.00786525821685791, | |
0.007851017951965331, | |
0.007859017848968506, | |
0.007872777938842774, | |
0.00783853816986084, | |
0.007901577949523926, | |
0.00790669822692871, | |
0.00793741798400879, | |
0.007931978225708007, | |
0.007908778190612793, | |
0.00788765811920166, | |
0.007912298202514649, | |
0.007862378120422363, | |
0.009098053932189942, | |
0.00843805694580078, | |
0.008019336700439453, | |
0.008086538314819336, | |
0.008083176612854005, | |
0.008075818061828614, | |
0.008085097312927246, | |
0.008188456535339355, | |
0.008120138168334961, | |
0.008123017311096192, | |
0.008092297554016113, | |
0.008334377288818359, | |
0.008064618110656738, | |
0.008060136795043945, | |
0.00804765796661377, | |
0.00814173698425293, | |
0.008135336875915528, | |
0.008134218215942382, | |
0.008074056625366212, | |
0.008058218002319336, | |
0.00804893684387207, | |
0.00789101791381836, | |
0.007938697814941406, | |
0.007899017810821533, | |
0.00807341766357422, | |
0.00791773796081543, | |
0.007908938884735107, | |
0.007872299194335937, | |
0.008058697700500488, | |
0.007850058078765869, | |
0.007884617805480956, | |
0.008278536796569824, | |
0.00843805694580078, | |
0.008363177299499511, | |
0.008115978240966796, | |
0.00788877820968628, | |
0.007904297828674316, | |
0.007896459102630616, | |
0.00788429880142212, | |
0.007893259048461915, | |
0.00787053918838501, | |
0.008026376724243164, | |
0.008587495803833008, | |
0.008253096580505371, | |
0.00815677833557129, | |
0.008148138046264648, | |
0.007879178047180175, | |
0.007894378185272216, | |
0.007910377979278564, | |
0.007856297969818115, | |
0.007864778041839599, | |
0.007890697956085204, | |
0.007916138172149659, | |
0.007895177841186523, | |
0.007864617824554443, | |
0.007894537925720214, | |
0.007915657997131348, | |
0.007909418106079102, | |
0.00790573787689209, | |
0.007910858154296875, | |
0.007903657913208007, | |
0.007885418891906738, | |
0.007870859146118164, | |
0.007884297847747803, | |
0.00788765811920166, | |
0.007906538009643554, | |
0.007883018016815185, | |
0.007906057834625245, | |
0.007920299053192139, | |
0.007941577911376953, | |
0.007903337955474854, | |
0.007900938034057618, | |
0.007870058059692382, | |
0.007893578052520752, | |
0.007877257823944092, | |
0.007925737857818603, | |
0.007901418209075927, | |
0.007897577762603759, | |
0.00788381814956665, | |
0.007870378017425537, | |
0.007880618095397949, | |
0.007896937847137452, | |
0.007880298137664795, | |
0.00904765510559082, | |
0.008855014801025391, | |
0.008881896018981934, | |
0.008926695823669433, | |
0.008386216163635253, | |
0.008276777267456055, | |
0.008259817123413086, | |
0.008326215744018555, | |
0.008310216903686524, | |
0.00835485553741455, | |
0.008380777359008789 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.03884571305063 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |