IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
85b6b86
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_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": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "bc46022225a5818a4648ee2abeffdd38c4a9b291", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.528832, | |
"max_global_vram": 898.445312, | |
"max_process_vram": 219682.807808, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.0012849254608152, | |
"mean": 0.00782253848016262, | |
"stdev": 0.0004951207146813357, | |
"p50": 0.007934404850006103, | |
"p90": 0.00839901294708252, | |
"p95": 0.008472365093231201, | |
"p99": 0.008611313571929931, | |
"values": [ | |
0.008318565368652343, | |
0.008376645088195802, | |
0.008586085319519043, | |
0.00858464527130127, | |
0.008620644569396973, | |
0.008518725395202638, | |
0.008503205299377441, | |
0.008453125, | |
0.008451366424560547, | |
0.008394885063171386, | |
0.008482725143432616, | |
0.008417764663696288, | |
0.008276165008544922, | |
0.008232484817504883, | |
0.008190725326538086, | |
0.008211045265197755, | |
0.008195045471191407, | |
0.00826800537109375, | |
0.00837136459350586, | |
0.008254084587097168, | |
0.008353124618530274, | |
0.008331045150756836, | |
0.008350885391235352, | |
0.008325445175170898, | |
0.008339205741882324, | |
0.008359524726867676, | |
0.008387365341186524, | |
0.008408644676208495, | |
0.008436485290527344, | |
0.008425604820251465, | |
0.009559685707092286, | |
0.00831120491027832, | |
0.00817856502532959, | |
0.008092644691467286, | |
0.008132325172424317, | |
0.008118724822998047, | |
0.008115365028381347, | |
0.008112324714660644, | |
0.0081158447265625, | |
0.008112963676452636, | |
0.00814512538909912, | |
0.008146723747253419, | |
0.008152005195617675, | |
0.008111044883728028, | |
0.008107364654541016, | |
0.008152005195617675, | |
0.00816656494140625, | |
0.00810384464263916, | |
0.008129284858703614, | |
0.008058884620666503, | |
0.007993285179138183, | |
0.007456964015960694, | |
0.0075272049903869626, | |
0.0075553650856018065, | |
0.007363684177398681, | |
0.007235363960266113, | |
0.007206244945526123, | |
0.007220004081726074, | |
0.007234564781188965, | |
0.007250403881072998, | |
0.00724208402633667, | |
0.007287684917449951, | |
0.007253764152526855, | |
0.007232645034790039, | |
0.007159843921661377, | |
0.007233123779296875, | |
0.007222565174102783, | |
0.007243844032287597, | |
0.00723968505859375, | |
0.00723008394241333, | |
0.007231043815612793, | |
0.007191524982452392, | |
0.007201283931732178, | |
0.007222404956817627, | |
0.007214404106140136, | |
0.007189283847808838, | |
0.0071811251640319824, | |
0.007199203968048096, | |
0.007267523765563965, | |
0.007215205192565918, | |
0.007229603767395019, | |
0.007206244945526123, | |
0.007257924079895019, | |
0.007246883869171142, | |
0.007217925071716308, | |
0.007215044021606445, | |
0.007221284866333008, | |
0.007195524215698242, | |
0.007256964206695557, | |
0.007257124900817871, | |
0.0072302441596984865, | |
0.007233445167541504, | |
0.007212964057922364, | |
0.0071732840538024905, | |
0.007263525009155274, | |
0.007674404144287109, | |
0.00821472454071045, | |
0.00819328498840332, | |
0.008150404930114746, | |
0.0076758451461791995, | |
0.007621445178985596, | |
0.0077024040222167965, | |
0.007703205108642578, | |
0.0076740851402282715, | |
0.007685123920440674, | |
0.007730404853820801, | |
0.0077456049919128415, | |
0.0077260851860046385, | |
0.007386084079742432, | |
0.007319044113159179, | |
0.007370084762573242, | |
0.008000485420227051, | |
0.008161125183105468, | |
0.008186884880065918, | |
0.008095205307006836, | |
0.007685443878173828, | |
0.007711205005645752, | |
0.007893445014953614, | |
0.007896804809570312, | |
0.00785616397857666, | |
0.007972004890441895, | |
0.007995844841003418, | |
0.007781764984130859, | |
0.007990244865417481, | |
0.0077601637840271, | |
0.008084164619445802, | |
0.008113124847412109, | |
0.008062084197998047 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.83574060209817 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |