IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4d42d77
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "6", | |
"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": "warn", | |
"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.34.2", | |
"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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1042.690048, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46853.271552, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.0591591796875, | |
"mean": 8.0591591796875, | |
"stdev": 0.0, | |
"p50": 8.0591591796875, | |
"p90": 8.0591591796875, | |
"p95": 8.0591591796875, | |
"p99": 8.0591591796875, | |
"values": [ | |
8.0591591796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.167424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 206869.823488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9998951942920687, | |
"mean": 0.007691501494554372, | |
"stdev": 0.004977021264211699, | |
"p50": 0.007450090646743774, | |
"p90": 0.00813863592147827, | |
"p95": 0.008185595941543578, | |
"p99": 0.02264432700157155, | |
"values": [ | |
0.008186891555786132, | |
0.008336972236633301, | |
0.008327371597290039, | |
0.008184012413024902, | |
0.008130891799926758, | |
0.008152172088623047, | |
0.02751651954650879, | |
0.002434403896331787, | |
0.002443522930145264, | |
0.007756971836090088, | |
0.00771665096282959, | |
0.007698091030120849, | |
0.007684330940246582, | |
0.007685610771179199, | |
0.007619370937347412, | |
0.007610890865325928, | |
0.007578890800476074, | |
0.007631690979003907, | |
0.007616651058197021, | |
0.0076366510391235355, | |
0.007614090919494629, | |
0.007562570095062256, | |
0.00756049108505249, | |
0.007538731098175049, | |
0.0075209708213806155, | |
0.010715855598449706, | |
0.007607690811157227, | |
0.007449930191040039, | |
0.00752193021774292, | |
0.007524971008300781, | |
0.007506731033325195, | |
0.007516810894012451, | |
0.007586091041564941, | |
0.007516810894012451, | |
0.00753649091720581, | |
0.007466411113739014, | |
0.007554409980773925, | |
0.007488490104675293, | |
0.0075656108856201176, | |
0.007446731090545654, | |
0.007322891235351563, | |
0.007366090774536133, | |
0.0073572897911071775, | |
0.007367530822753906, | |
0.007358409881591797, | |
0.007348969936370849, | |
0.007326731204986572, | |
0.007348010063171387, | |
0.007450251102447509, | |
0.0073742508888244625, | |
0.0073763298988342284, | |
0.007372169971466064, | |
0.007348491191864014, | |
0.007339210033416748, | |
0.007341610908508301, | |
0.007497611045837402, | |
0.007389610767364502, | |
0.007383210182189941, | |
0.007394890785217285, | |
0.007392810821533203, | |
0.007388810157775879, | |
0.007389451026916504, | |
0.0073528108596801756, | |
0.007446889877319336, | |
0.00738113021850586, | |
0.007364810943603516, | |
0.007361289978027344, | |
0.007398409843444824, | |
0.007420811176300049, | |
0.007415370941162109, | |
0.0073904099464416504, | |
0.007392011165618897, | |
0.007306890964508057, | |
0.0073310499191284175, | |
0.007365931034088135, | |
0.007330090045928955, | |
0.007334569931030274, | |
0.007317290782928467, | |
0.007323369979858398, | |
0.007320490837097168, | |
0.007320970058441162, | |
0.0073616099357604985, | |
0.007343851089477539, | |
0.007393449783325195, | |
0.007339049816131591, | |
0.007313611030578614, | |
0.0073444900512695315, | |
0.007311050891876221, | |
0.00736945104598999, | |
0.00732496976852417, | |
0.007368650913238526, | |
0.007339049816131591, | |
0.007352011203765869, | |
0.05755096435546875, | |
0.002459043979644775, | |
0.002430402994155884, | |
0.002417923927307129, | |
0.002423362970352173, | |
0.0024296040534973144, | |
0.00241040301322937, | |
0.0024078431129455568, | |
0.0024040040969848632, | |
0.002409923076629639, | |
0.003752326011657715, | |
0.007507851123809814, | |
0.008146572113037109, | |
0.00815281105041504, | |
0.008164490699768066, | |
0.008084491729736328, | |
0.007756330966949463, | |
0.00754193115234375, | |
0.007644811153411865, | |
0.00763153076171875, | |
0.007892012119293213, | |
0.00814353084564209, | |
0.008129131317138672, | |
0.008128972053527831, | |
0.008210732460021972, | |
0.008123051643371583, | |
0.00812113094329834, | |
0.008125772476196289, | |
0.008104331970214844, | |
0.008138092041015624, | |
0.00808833122253418, | |
0.008085291862487793, | |
0.008110091209411622, | |
0.008018891334533691, | |
0.007534730911254883, | |
0.007593770980834961, | |
0.007599851131439209 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.01362617013152 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |