IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4e1a5ed
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-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.2.1", | |
"optimum_benchmark_commit": "079be6729111d58c45eb7f4a60e984bbf86c5a81", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.179456, | |
"max_global_vram": 1878.847488, | |
"max_process_vram": 202208.1536, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 1.00090703868866, | |
"mean": 0.008204156054825081, | |
"stdev": 0.00046142715248547795, | |
"p50": 0.008049681186676025, | |
"p90": 0.008592529201507567, | |
"p95": 0.008962633943557737, | |
"p99": 0.010191703033447262, | |
"values": [ | |
0.008147841453552246, | |
0.008175360679626464, | |
0.009133281707763672, | |
0.008336320877075195, | |
0.008262081146240234, | |
0.00865184211730957, | |
0.00853248119354248, | |
0.008212321281433106, | |
0.008133281707763671, | |
0.008088801383972168, | |
0.00809360122680664, | |
0.00806320095062256, | |
0.008075201988220215, | |
0.008140320777893067, | |
0.008188800811767578, | |
0.008091361045837402, | |
0.008186242103576661, | |
0.008721760749816895, | |
0.008599201202392577, | |
0.008972641944885253, | |
0.009487200736999511, | |
0.008248321533203125, | |
0.008722241401672364, | |
0.00979392147064209, | |
0.010297442436218262, | |
0.008366560935974121, | |
0.008173122406005859, | |
0.008205441474914551, | |
0.00870896053314209, | |
0.008229762077331544, | |
0.00818592071533203, | |
0.011249442100524903, | |
0.00834912109375, | |
0.008023521423339845, | |
0.008053120613098144, | |
0.007998082160949707, | |
0.008015360832214356, | |
0.008043841361999511, | |
0.008037920951843261, | |
0.007967681884765624, | |
0.007998401165008545, | |
0.008054241180419922, | |
0.007980801105499268, | |
0.008018880844116212, | |
0.008023361206054687, | |
0.008009441375732422, | |
0.00798752212524414, | |
0.0080020809173584, | |
0.008027521133422852, | |
0.008075840950012207, | |
0.008097762107849122, | |
0.00802480125427246, | |
0.007995680809020996, | |
0.008022081375122071, | |
0.008029281616210937, | |
0.008020960807800293, | |
0.008014881134033203, | |
0.008116161346435547, | |
0.00877248191833496, | |
0.008114400863647462, | |
0.00811168098449707, | |
0.008353442192077636, | |
0.008422560691833496, | |
0.00803744125366211, | |
0.007970080852508546, | |
0.008036802291870117, | |
0.008097761154174805, | |
0.007998721122741699, | |
0.008034721374511718, | |
0.008057601928710937, | |
0.00801776123046875, | |
0.008043201446533203, | |
0.008072641372680664, | |
0.008052162170410156, | |
0.008023040771484375, | |
0.008062081336975098, | |
0.008023361206054687, | |
0.008039841651916504, | |
0.008035680770874024, | |
0.007992001056671142, | |
0.008032960891723633, | |
0.008033761978149414, | |
0.008061120986938477, | |
0.00802992057800293, | |
0.008051680564880372, | |
0.008002561569213867, | |
0.008026721000671387, | |
0.00804464054107666, | |
0.008004481315612794, | |
0.008026721000671387, | |
0.008000640869140626, | |
0.008013920783996582, | |
0.007989121913909911, | |
0.007984001159667969, | |
0.008055841445922852, | |
0.008022081375122071, | |
0.008078882217407227, | |
0.008023040771484375, | |
0.008079521179199219, | |
0.008048801422119141, | |
0.008088481903076173, | |
0.008042241096496582, | |
0.00805056095123291, | |
0.008032641410827636, | |
0.007969121932983398, | |
0.008017921447753906, | |
0.008017921447753906, | |
0.008024480819702149, | |
0.00798656177520752, | |
0.007991681098937988, | |
0.008014081001281738, | |
0.008057921409606934, | |
0.007998402118682862, | |
0.008014081001281738, | |
0.008060001373291015, | |
0.008063840866088866, | |
0.00810000228881836, | |
0.008047520637512207, | |
0.008080480575561523, | |
0.008042080879211426, | |
0.008043201446533203, | |
0.009721281051635743 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.88944156076523 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |