IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
de6e982
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.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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"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": 905.58464, | |
"max_global_vram": 841.764864, | |
"max_process_vram": 44807.573504, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1981728515625, | |
"mean": 7.1981728515625, | |
"stdev": 0.0, | |
"p50": 7.1981728515625, | |
"p90": 7.1981728515625, | |
"p95": 7.1981728515625, | |
"p99": 7.1981728515625, | |
"values": [ | |
7.1981728515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1015.414784, | |
"max_global_vram": 898.269184, | |
"max_process_vram": 218894.667776, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9963846902847285, | |
"mean": 0.007971077522277832, | |
"stdev": 0.0007331559968759307, | |
"p50": 0.007840778827667236, | |
"p90": 0.008722056388854982, | |
"p95": 0.00900333595275879, | |
"p99": 0.009678912391662601, | |
"values": [ | |
0.008753096580505371, | |
0.008942537307739258, | |
0.009018535614013673, | |
0.009047016143798828, | |
0.00908973503112793, | |
0.009133416175842285, | |
0.009071334838867188, | |
0.009851174354553223, | |
0.00875389575958252, | |
0.008851016044616699, | |
0.008799016952514649, | |
0.008846055984497071, | |
0.008675496101379394, | |
0.00845213794708252, | |
0.008345577239990234, | |
0.008319977760314942, | |
0.008330376625061035, | |
0.008364458084106446, | |
0.00835085678100586, | |
0.00847997760772705, | |
0.00836589813232422, | |
0.008303977966308594, | |
0.008316938400268554, | |
0.008310697555541991, | |
0.008345577239990234, | |
0.008294537544250488, | |
0.008319658279418945, | |
0.00830253791809082, | |
0.008283978462219238, | |
0.008259178161621094, | |
0.008320937156677246, | |
0.008278377532958984, | |
0.007942698955535888, | |
0.008075018882751465, | |
0.008315977096557617, | |
0.008304298400878906, | |
0.008298057556152344, | |
0.008298856735229492, | |
0.00833421802520752, | |
0.008318697929382324, | |
0.00783117914199829, | |
0.007840778827667236, | |
0.007843499183654784, | |
0.007860138893127441, | |
0.00790685796737671, | |
0.0077487797737121585, | |
0.007526059150695801, | |
0.0074809398651123045, | |
0.007532299995422364, | |
0.0075518198013305666, | |
0.0075018987655639646, | |
0.007574540138244629, | |
0.007522220134735107, | |
0.0073225398063659665, | |
0.007338860034942627, | |
0.007332780838012695, | |
0.007328781127929687, | |
0.007329100131988525, | |
0.007349100112915039, | |
0.00734749984741211, | |
0.007346701145172119, | |
0.007363979816436768, | |
0.007343180179595947, | |
0.007353579998016358, | |
0.00728718090057373, | |
0.0075513401031494145, | |
0.007344620227813721, | |
0.007328620910644531, | |
0.007329740047454834, | |
0.007349899768829346, | |
0.00729725980758667, | |
0.007347980976104737, | |
0.0073580598831176755, | |
0.007381740093231201, | |
0.007370059967041016, | |
0.00741726016998291, | |
0.013565724372863769, | |
0.006860140800476074, | |
0.007444139957427979, | |
0.007424620151519776, | |
0.007429259777069092, | |
0.007548460006713867, | |
0.007392139911651612, | |
0.007597899913787841, | |
0.007853418827056884, | |
0.007895978927612304, | |
0.007876139163970947, | |
0.00805965805053711, | |
0.008069578170776368, | |
0.008212298393249511, | |
0.00815181827545166, | |
0.008466697692871094, | |
0.008303017616271972, | |
0.008314698219299317, | |
0.008339177131652832, | |
0.008228938102722167, | |
0.008234857559204101, | |
0.007965578079223632, | |
0.007995338916778564, | |
0.0077575788497924805, | |
0.00777341890335083, | |
0.00776957893371582, | |
0.008112937927246093, | |
0.00833309841156006, | |
0.008306378364562989, | |
0.007726058959960937, | |
0.007640140056610107, | |
0.007686379909515381, | |
0.0076103792190551755, | |
0.0077166190147399906, | |
0.007756619930267334, | |
0.00777966022491455, | |
0.007792298793792725, | |
0.007614058971405029, | |
0.007431980133056641, | |
0.007464300155639649, | |
0.007458380222320557, | |
0.007469580173492431, | |
0.007443339824676514, | |
0.007457419872283936, | |
0.007420939922332764, | |
0.007431340217590332, | |
0.007448619842529297, | |
0.007426061153411865, | |
0.007421259880065918 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.45355345060524 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |