IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b2a3c98
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": "0", | |
"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": "error", | |
"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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 1384.873984, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.55648388671875, | |
"mean": 7.55648388671875, | |
"stdev": 0.0, | |
"p50": 7.55648388671875, | |
"p90": 7.55648388671875, | |
"p95": 7.55648388671875, | |
"p99": 7.55648388671875, | |
"values": [ | |
7.55648388671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1510.137856, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0013995909690863, | |
"mean": 0.008141460089179558, | |
"stdev": 0.00029199832924892453, | |
"p50": 0.008030699729919434, | |
"p90": 0.008587626266479492, | |
"p95": 0.008758409690856934, | |
"p99": 0.008829511089324952, | |
"values": [ | |
0.00876445770263672, | |
0.008657418251037597, | |
0.008240300178527832, | |
0.008669258117675781, | |
0.008796937942504883, | |
0.008424139022827149, | |
0.00837597942352295, | |
0.008236140251159667, | |
0.008298540115356445, | |
0.008222219467163085, | |
0.008117259979248047, | |
0.007927820205688477, | |
0.008146220207214356, | |
0.008047499656677247, | |
0.00784253978729248, | |
0.008155659675598144, | |
0.009178696632385254, | |
0.008388619422912597, | |
0.008262699127197265, | |
0.008031339645385742, | |
0.007997580051422119, | |
0.008038860321044922, | |
0.008084460258483887, | |
0.008060460090637206, | |
0.008220938682556153, | |
0.008168780326843261, | |
0.00793805980682373, | |
0.008164299964904784, | |
0.008059659004211427, | |
0.00817549991607666, | |
0.00802910041809082, | |
0.008502379417419433, | |
0.008465739250183105, | |
0.008295499801635742, | |
0.008426218986511231, | |
0.008561258316040038, | |
0.008555659294128418, | |
0.008484938621520995, | |
0.008528298377990722, | |
0.008535658836364746, | |
0.008684138298034667, | |
0.008482218742370606, | |
0.008472139358520508, | |
0.008703977584838866, | |
0.008550539016723632, | |
0.008152460098266602, | |
0.008040459632873535, | |
0.008237899780273438, | |
0.008305258750915527, | |
0.008124300003051758, | |
0.007835340023040772, | |
0.007995820045471192, | |
0.008063179969787598, | |
0.007927340030670166, | |
0.007841421127319335, | |
0.00806365966796875, | |
0.008123660087585449, | |
0.00789422082901001, | |
0.007924621105194091, | |
0.008001899719238282, | |
0.00794462013244629, | |
0.007817259788513184, | |
0.008038860321044922, | |
0.008005579948425294, | |
0.007878701210021972, | |
0.007883340835571288, | |
0.007952939987182618, | |
0.00793198013305664, | |
0.007786701202392578, | |
0.008060139656066894, | |
0.00796589994430542, | |
0.007866539955139161, | |
0.007893420219421387, | |
0.008089260101318359, | |
0.00796254014968872, | |
0.0077804608345031735, | |
0.007958859920501708, | |
0.007994379997253418, | |
0.007826059818267823, | |
0.007898221015930176, | |
0.008023180007934571, | |
0.007991180896759034, | |
0.007927340030670166, | |
0.007931180000305176, | |
0.008007980346679688, | |
0.007841899871826171, | |
0.00802542018890381, | |
0.008035340309143067, | |
0.007987339973449708, | |
0.007919661045074463, | |
0.008030699729919434, | |
0.007960620880126954, | |
0.007877740859985351, | |
0.007946539878845214, | |
0.007928460121154786, | |
0.00793582010269165, | |
0.007817420959472656, | |
0.007969099998474121, | |
0.007993899822235107, | |
0.0078850998878479, | |
0.007846701145172118, | |
0.007925260066986083, | |
0.007979979991912842, | |
0.007788939952850342, | |
0.007991980075836182, | |
0.007957581043243409, | |
0.007826060771942138, | |
0.007928460121154786, | |
0.00794670009613037, | |
0.007974860191345214, | |
0.007814860820770264, | |
0.007937739849090577, | |
0.007969260215759277, | |
0.008019339561462403, | |
0.008786377906799316, | |
0.008794378280639649, | |
0.00864621925354004, | |
0.008424619674682617, | |
0.008134380340576172, | |
0.00840557861328125, | |
0.008594218254089356, | |
0.008794057846069335, | |
0.008838698387145997 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.82809091320786 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |