IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c88af8f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1044.23424, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47331.500032, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.4338955078125, | |
"mean": 8.4338955078125, | |
"stdev": 0.0, | |
"p50": 8.4338955078125, | |
"p90": 8.4338955078125, | |
"p95": 8.4338955078125, | |
"p99": 8.4338955078125, | |
"values": [ | |
8.4338955078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1161.326592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 233036.296192, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0000701389312745, | |
"mean": 0.007813047960400582, | |
"stdev": 0.0004394539006145396, | |
"p50": 0.007788089513778687, | |
"p90": 0.00790349726676941, | |
"p95": 0.00793943293094635, | |
"p99": 0.008179977712631226, | |
"values": [ | |
0.007868329048156738, | |
0.007906410217285156, | |
0.00792768907546997, | |
0.00791568899154663, | |
0.00800944995880127, | |
0.007989129066467286, | |
0.00791888999938965, | |
0.008243049621582031, | |
0.007973769187927245, | |
0.007966889858245849, | |
0.00793152904510498, | |
0.007762409210205078, | |
0.007579689025878906, | |
0.007458408832550049, | |
0.007636488914489746, | |
0.007716329097747803, | |
0.007895530223846436, | |
0.007806728839874268, | |
0.0077403287887573245, | |
0.007609289169311523, | |
0.007835209846496582, | |
0.007874088764190674, | |
0.0078180890083313, | |
0.007820489883422852, | |
0.007790248870849609, | |
0.00783216905593872, | |
0.007829129219055176, | |
0.00781024980545044, | |
0.007765288829803467, | |
0.007797129154205322, | |
0.007767529010772705, | |
0.007799048900604248, | |
0.007767048835754395, | |
0.007793609142303467, | |
0.007805610179901123, | |
0.007827689170837402, | |
0.00785248899459839, | |
0.007844648838043212, | |
0.007823688983917236, | |
0.007833128929138183, | |
0.007853129863739013, | |
0.007800008773803711, | |
0.007831529140472412, | |
0.007827048778533935, | |
0.007818569183349609, | |
0.00780112886428833, | |
0.007786889076232911, | |
0.00778016996383667, | |
0.007764169216156006, | |
0.007783369064331054, | |
0.00781744909286499, | |
0.00784016990661621, | |
0.00791904878616333, | |
0.007943688869476318, | |
0.00785072898864746, | |
0.007902248859405518, | |
0.007831850051879884, | |
0.007835208892822266, | |
0.007800168991088867, | |
0.007770409107208252, | |
0.007866089820861816, | |
0.00782560920715332, | |
0.007766569137573242, | |
0.0077873702049255375, | |
0.007795208930969238, | |
0.007792809009552002, | |
0.007771368980407715, | |
0.007776649951934814, | |
0.007751368999481202, | |
0.007788808822631836, | |
0.007767689228057861, | |
0.007802888870239257, | |
0.00777216911315918, | |
0.007787368774414063, | |
0.007842729091644287, | |
0.007838729858398438, | |
0.007792809009552002, | |
0.007815369129180908, | |
0.00778912878036499, | |
0.007801129817962647, | |
0.012532014846801758, | |
0.007266727924346924, | |
0.007783369064331054, | |
0.007763370037078858, | |
0.007771368980407715, | |
0.0077116889953613285, | |
0.007775369167327881, | |
0.007741930007934571, | |
0.007778889179229737, | |
0.0077099289894104, | |
0.007723049163818359, | |
0.007739209175109864, | |
0.007725129127502442, | |
0.007738729000091552, | |
0.007783528804779053, | |
0.00772416877746582, | |
0.007727849006652832, | |
0.007771850109100342, | |
0.0077472090721130375, | |
0.007734408855438232, | |
0.007771529197692871, | |
0.0077667288780212404, | |
0.007748330116271972, | |
0.007765129089355469, | |
0.007681768894195556, | |
0.0077600088119506834, | |
0.007756969928741455, | |
0.0077190489768981935, | |
0.007727209091186523, | |
0.007711208820343017, | |
0.007728649139404297, | |
0.007682569026947021, | |
0.007244967937469483, | |
0.007352649211883545, | |
0.0077496089935302735, | |
0.00774384880065918, | |
0.007763848781585693, | |
0.007893448829650878, | |
0.007797769069671631, | |
0.007787209033966064, | |
0.0071716890335083005, | |
0.007688008785247803, | |
0.007793288230895996, | |
0.00781840991973877, | |
0.007855049133300781, | |
0.007410089015960694, | |
0.007486248970031738, | |
0.007813609123229981 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.99102284644482 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |