IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c2b7c46
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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": "4", | |
"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.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": 1387.43808, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.89338232421875, | |
"mean": 7.89338232421875, | |
"stdev": 0.0, | |
"p50": 7.89338232421875, | |
"p90": 7.89338232421875, | |
"p95": 7.89338232421875, | |
"p99": 7.89338232421875, | |
"values": [ | |
7.89338232421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1512.984576, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 1.002293522357941, | |
"mean": 0.007892074979196383, | |
"stdev": 0.0004478581805233672, | |
"p50": 0.007641573905944824, | |
"p90": 0.008383234596252441, | |
"p95": 0.008632177925109863, | |
"p99": 0.008667272548675537, | |
"values": [ | |
0.008615489959716796, | |
0.008375971794128419, | |
0.008439332008361817, | |
0.008649090766906738, | |
0.008392610549926759, | |
0.008351011276245117, | |
0.0083530912399292, | |
0.008263651847839355, | |
0.00818957233428955, | |
0.008140771865844727, | |
0.008127971649169922, | |
0.008086531639099122, | |
0.008009411811828614, | |
0.007935012817382812, | |
0.007907012939453124, | |
0.00792477321624756, | |
0.007892292976379394, | |
0.007913413047790528, | |
0.007971333026885987, | |
0.007969411849975586, | |
0.007936613082885742, | |
0.007913893222808837, | |
0.007955172061920167, | |
0.007932612895965576, | |
0.007917733192443847, | |
0.008000131607055663, | |
0.007948933124542236, | |
0.00796125316619873, | |
0.007948132991790771, | |
0.011377080917358399, | |
0.007872453212738037, | |
0.007630373954772949, | |
0.007646852970123291, | |
0.007623814105987549, | |
0.007641573905944824, | |
0.00760685396194458, | |
0.007601893901824951, | |
0.0076023731231689455, | |
0.0076241340637207035, | |
0.0076050939559936526, | |
0.007601093769073486, | |
0.007607493877410889, | |
0.007597733974456787, | |
0.0076124539375305176, | |
0.007599813938140869, | |
0.007598534107208252, | |
0.0075911741256713865, | |
0.007604134082794189, | |
0.007591494083404541, | |
0.00759261417388916, | |
0.0075935740470886234, | |
0.00759645414352417, | |
0.0076198139190673825, | |
0.007618053913116455, | |
0.007595493793487549, | |
0.007591973781585693, | |
0.007594054222106934, | |
0.007569414138793945, | |
0.007590373992919922, | |
0.007586854934692383, | |
0.007935973167419433, | |
0.007942052841186523, | |
0.007929412841796876, | |
0.007595173835754395, | |
0.007596774101257324, | |
0.007614533901214599, | |
0.007609414100646973, | |
0.007615173816680908, | |
0.007602374076843262, | |
0.007608774185180664, | |
0.0075935740470886234, | |
0.0075886139869689945, | |
0.0076081337928771975, | |
0.007593894004821777, | |
0.00795357322692871, | |
0.007979172229766846, | |
0.00799565315246582, | |
0.007980291843414306, | |
0.007614694118499756, | |
0.007613574028015137, | |
0.007636134147644043, | |
0.007619974136352539, | |
0.007623653888702392, | |
0.007602374076843262, | |
0.007583174228668213, | |
0.007582374095916748, | |
0.00756429386138916, | |
0.00758445405960083, | |
0.007584934234619141, | |
0.007604934215545654, | |
0.007578053951263428, | |
0.0075905342102050785, | |
0.007613893985748291, | |
0.007614054203033447, | |
0.007601414203643799, | |
0.0075868539810180664, | |
0.007570693969726563, | |
0.007593093872070312, | |
0.007587974071502686, | |
0.007628293037414551, | |
0.0076052541732788085, | |
0.007616454124450683, | |
0.007596933841705322, | |
0.007762692928314209, | |
0.008091651916503906, | |
0.007959012985229491, | |
0.008117732048034667, | |
0.008074531555175781, | |
0.008115971565246582, | |
0.008013092994689941, | |
0.00793837308883667, | |
0.007778532981872558, | |
0.008077252388000488, | |
0.008097731590270996, | |
0.008087171554565429, | |
0.008344451904296874, | |
0.008651009559631348, | |
0.008670849800109863, | |
0.008389090538024902, | |
0.008293572425842286, | |
0.008593889236450195, | |
0.008639329910278321, | |
0.00865709114074707, | |
0.008307331085205078, | |
0.008450051307678223, | |
0.0083793306350708, | |
0.008655810356140136 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.70938918294792 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |