IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
47dd81e
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": "0d561969d04a7091baf8691bc894eb753a189d4f", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.675072, | |
"max_global_vram": 898.461696, | |
"max_process_vram": 178639.634432, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.997599432945252, | |
"mean": 0.00773332893756009, | |
"stdev": 0.00044590295945570773, | |
"p50": 0.007569095134735107, | |
"p90": 0.0081285493850708, | |
"p95": 0.008337957000732421, | |
"p99": 0.008581347312927246, | |
"values": [ | |
0.007597414970397949, | |
0.007524614810943604, | |
0.007590535163879394, | |
0.007721735000610352, | |
0.007753893852233886, | |
0.007815653800964356, | |
0.007717895030975342, | |
0.007639655113220215, | |
0.00760397481918335, | |
0.007597255229949951, | |
0.007571815013885498, | |
0.0076129350662231445, | |
0.007545735836029053, | |
0.007552296161651611, | |
0.007564294815063477, | |
0.007579975128173828, | |
0.00758861494064331, | |
0.007858853816986084, | |
0.0078113341331481935, | |
0.007834693908691407, | |
0.00790861415863037, | |
0.008081253051757813, | |
0.008064773559570313, | |
0.00820573329925537, | |
0.00808493423461914, | |
0.008003494262695313, | |
0.007927814006805419, | |
0.007981893062591552, | |
0.007933413982391358, | |
0.007591014862060547, | |
0.007580295085906983, | |
0.008045573234558106, | |
0.007895174026489258, | |
0.008192933082580567, | |
0.008396451950073242, | |
0.008433892250061035, | |
0.0082554931640625, | |
0.008162213325500487, | |
0.008184453010559083, | |
0.011804121017456055, | |
0.008638690948486329, | |
0.00788301420211792, | |
0.007583175182342529, | |
0.00777773380279541, | |
0.00782189416885376, | |
0.007623334884643554, | |
0.007654375076293946, | |
0.007752294063568115, | |
0.00774477481842041, | |
0.007562376022338867, | |
0.007758695125579834, | |
0.007652614116668701, | |
0.00790925407409668, | |
0.007504455089569092, | |
0.007503654956817627, | |
0.007472455978393555, | |
0.007480295181274414, | |
0.0074898948669433595, | |
0.007614055156707764, | |
0.00754061508178711, | |
0.007464614868164063, | |
0.007511974811553955, | |
0.007506374835968018, | |
0.007529736042022705, | |
0.007464456081390381, | |
0.00760445499420166, | |
0.007499334812164307, | |
0.0074974150657653804, | |
0.0075486149787902836, | |
0.007534214973449707, | |
0.007551815032958984, | |
0.00752093505859375, | |
0.0074943752288818355, | |
0.007584455013275146, | |
0.00755533504486084, | |
0.0075065350532531735, | |
0.007477896213531494, | |
0.007482855796813965, | |
0.007552774906158447, | |
0.007527015209197998, | |
0.0075095748901367184, | |
0.0075535750389099125, | |
0.007512935161590576, | |
0.007556775093078613, | |
0.007511014938354492, | |
0.007534214973449707, | |
0.00752045488357544, | |
0.0075346951484680175, | |
0.007503496170043945, | |
0.007995014190673827, | |
0.008091973304748536, | |
0.008394051551818847, | |
0.008424933433532716, | |
0.008392932891845704, | |
0.008164452552795411, | |
0.00802237319946289, | |
0.008120133399963378, | |
0.00792397403717041, | |
0.007857573986053466, | |
0.00788909387588501, | |
0.0077378940582275395, | |
0.007515655040740967, | |
0.007533255100250244, | |
0.00750605583190918, | |
0.007423336029052734, | |
0.007531815052032471, | |
0.0075590147972106935, | |
0.007513094902038575, | |
0.00751277494430542, | |
0.007440615177154541, | |
0.007524614810943604, | |
0.007569095134735107, | |
0.007533895015716553, | |
0.007525415897369385, | |
0.007548136234283447, | |
0.007474535942077636, | |
0.007546695232391357, | |
0.007569095134735107, | |
0.007535655021667481, | |
0.007506855010986328, | |
0.0075542149543762205, | |
0.00753133487701416, | |
0.0075654139518737794, | |
0.007515814781188965, | |
0.007544775009155274, | |
0.007506054878234863, | |
0.007503815174102783, | |
0.007557095050811768, | |
0.007500615119934082 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.31041833007893 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |