IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a0b1470
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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.583552, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4858.933248, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07961085510253907 | |
], | |
"count": 1, | |
"total": 0.07961085510253907, | |
"mean": 0.07961085510253907, | |
"p50": 0.07961085510253907, | |
"p90": 0.07961085510253907, | |
"p95": 0.07961085510253907, | |
"p99": 0.07961085510253907, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1224.392704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 258216.361984, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.506688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008630414962768555, | |
0.008396654129028321, | |
0.008400494575500489, | |
0.008371854782104492, | |
0.008316654205322266, | |
0.008369455337524414, | |
0.008336653709411621, | |
0.008203535079956055, | |
0.00817121410369873, | |
0.008117774009704589, | |
0.008105134010314942, | |
0.00811057472229004, | |
0.008067853927612305, | |
0.008092014312744141, | |
0.00808177375793457, | |
0.008070734024047852, | |
0.008097454071044922, | |
0.008059853553771973, | |
0.008066893577575684, | |
0.008039053916931152, | |
0.00804625415802002, | |
0.008034414291381835, | |
0.008050574302673339, | |
0.008023694038391113, | |
0.008042573928833008, | |
0.008032174110412597, | |
0.008188014030456542, | |
0.008376975059509278, | |
0.008379694938659667, | |
0.008261934280395507, | |
0.008214573860168457, | |
0.008124493598937988, | |
0.008196654319763184, | |
0.008210575103759766, | |
0.008157773971557617, | |
0.008203373908996583, | |
0.008177454948425294, | |
0.008101934432983399, | |
0.008136974334716798, | |
0.008200974464416503, | |
0.008156813621520997, | |
0.008098414421081543, | |
0.008097133636474609, | |
0.00809473419189453, | |
0.00810033416748047, | |
0.008100014686584472, | |
0.008059694290161132, | |
0.00819425392150879, | |
0.008315215110778809, | |
0.008287214279174804, | |
0.008486735343933105, | |
0.008287054061889648, | |
0.00819025421142578, | |
0.00817617416381836, | |
0.008129613876342773, | |
0.008150734901428223, | |
0.008193774223327637, | |
0.008110894203186034, | |
0.00810481357574463, | |
0.008146095275878906, | |
0.008156654357910156, | |
0.00826081371307373, | |
0.008221614837646484, | |
0.0082744140625, | |
0.008181614875793457, | |
0.00827121353149414, | |
0.008278253555297852, | |
0.00818049430847168, | |
0.00819265365600586, | |
0.008218894958496094, | |
0.008200174331665038, | |
0.008275854110717773, | |
0.008113615036010742, | |
0.008062093734741212, | |
0.008009293556213378, | |
0.00807137393951416, | |
0.008064494132995606, | |
0.008047054290771485, | |
0.0080200138092041, | |
0.008026253700256348, | |
0.008000654220581055, | |
0.007969933986663819, | |
0.007992494106292724, | |
0.007984973907470704, | |
0.008029933929443359, | |
0.008384654998779297, | |
0.008379054069519044, | |
0.008212815284729004, | |
0.00820993423461914, | |
0.00813473415374756, | |
0.00813729476928711, | |
0.008062733650207519, | |
0.008074414253234864, | |
0.008015213966369629, | |
0.008037134170532227, | |
0.00804289436340332, | |
0.008023054122924804, | |
0.008080333709716796, | |
0.008031373977661132, | |
0.008042413711547852, | |
0.008039053916931152, | |
0.008052654266357422, | |
0.008048813819885254, | |
0.008048334121704102, | |
0.007996493816375733, | |
0.008021774291992188, | |
0.008000654220581055, | |
0.007999534130096436, | |
0.008014094352722169, | |
0.00804289436340332, | |
0.008018733978271485, | |
0.008020813941955567, | |
0.007985613822937011, | |
0.008004974365234375, | |
0.008036973953247071, | |
0.00797633409500122, | |
0.007962574005126953, | |
0.007971693992614746, | |
0.00800529384613037, | |
0.008200654029846191, | |
0.008090574264526368, | |
0.008061774253845215, | |
0.008050574302673339 | |
], | |
"count": 123, | |
"total": 1.00037086725235, | |
"mean": 0.008133096481726422, | |
"p50": 0.008100014686584472, | |
"p90": 0.008309614944458008, | |
"p95": 0.008378846168518066, | |
"p99": 0.00846776237487793, | |
"stdev": 0.0001233127563225899, | |
"stdev_": 1.516184599551365 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.95440023941887 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |