IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8c542c4
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.3.1", | |
"optimum_benchmark_commit": "f6013cec1a849341c31271831560b1681406c092", | |
"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": 1005.842432, | |
"max_global_vram": 66122.108928, | |
"max_process_vram": 189285.060608, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9999694995880131, | |
"mean": 0.007692073073753943, | |
"stdev": 0.0003830538839932689, | |
"p50": 0.007598377227783204, | |
"p90": 0.008194600009918212, | |
"p95": 0.00829477505683899, | |
"p99": 0.008487307014465331, | |
"values": [ | |
0.008527813911437988, | |
0.007618058204650879, | |
0.007411656856536865, | |
0.007382698059082031, | |
0.007963656902313232, | |
0.008012616157531738, | |
0.008071016311645508, | |
0.00738605785369873, | |
0.007342698097229004, | |
0.007875656127929688, | |
0.007371178150177002, | |
0.007327338218688965, | |
0.007334377765655518, | |
0.007318698883056641, | |
0.007593737125396728, | |
0.007380618095397949, | |
0.007596617221832276, | |
0.00731181812286377, | |
0.007360777854919434, | |
0.007509257793426514, | |
0.00770941686630249, | |
0.007546856880187989, | |
0.00762781810760498, | |
0.007539977073669433, | |
0.007364937782287598, | |
0.007819817066192628, | |
0.007715816974639893, | |
0.007462377071380615, | |
0.007306698799133301, | |
0.007495497226715088, | |
0.007411498069763184, | |
0.007476778030395508, | |
0.007361097812652588, | |
0.007600137233734131, | |
0.007301417827606202, | |
0.007271018981933594, | |
0.007296137809753418, | |
0.007404778003692627, | |
0.007425097942352295, | |
0.008180456161499023, | |
0.0072311778068542484, | |
0.007606216907501221, | |
0.007340619087219238, | |
0.0075578980445861815, | |
0.007707656860351563, | |
0.007858535766601563, | |
0.007310059070587158, | |
0.007249897956848145, | |
0.007293258190155029, | |
0.007324778079986573, | |
0.007717416763305664, | |
0.007301898956298828, | |
0.007289898872375488, | |
0.007465577125549317, | |
0.007296779155731201, | |
0.0072978978157043455, | |
0.007323497772216797, | |
0.007263018131256104, | |
0.007277578830718994, | |
0.007855017185211182, | |
0.007263497829437256, | |
0.0072855792045593264, | |
0.007304458141326904, | |
0.007487817764282227, | |
0.008182536125183106, | |
0.008342695236206055, | |
0.008309894561767579, | |
0.00787693691253662, | |
0.007311017990112305, | |
0.00735325813293457, | |
0.007336297988891602, | |
0.008109736442565917, | |
0.0072802982330322265, | |
0.007306697845458984, | |
0.007322218894958496, | |
0.007553098201751709, | |
0.007416297912597656, | |
0.007611977100372314, | |
0.007707336902618408, | |
0.007858696937561036, | |
0.00744685697555542, | |
0.007485737800598144, | |
0.00744397783279419, | |
0.007370058059692383, | |
0.008331335067749024, | |
0.007856616020202637, | |
0.008015016555786132, | |
0.00730781888961792, | |
0.007338057994842529, | |
0.0073138980865478515, | |
0.007347817897796631, | |
0.00731789779663086, | |
0.007648137092590332, | |
0.008128775596618652, | |
0.007950535774230957, | |
0.007550218105316162, | |
0.007897096157073975, | |
0.0077279767990112306, | |
0.007683176994323731, | |
0.008064616203308105, | |
0.00822541618347168, | |
0.008197094917297363, | |
0.00792141580581665, | |
0.007968616962432862, | |
0.00803277587890625, | |
0.00827629566192627, | |
0.009345412254333496, | |
0.008388134956359863, | |
0.00835117530822754, | |
0.008193574905395507, | |
0.0081414155960083, | |
0.008081735610961914, | |
0.008120776176452637, | |
0.00814253520965576, | |
0.008145895957946778, | |
0.008021736145019531, | |
0.007693097114562988, | |
0.007662696838378906, | |
0.00784317684173584, | |
0.007832615852355958, | |
0.0077684569358825685, | |
0.008196935653686524, | |
0.008167654037475587, | |
0.008196616172790527, | |
0.008222055435180665, | |
0.008194375991821289, | |
0.00819117546081543, | |
0.00815069580078125, | |
0.008166055679321289, | |
0.008101256370544433 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.00396517449784 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |