
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
22b4703
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": true, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 909.914112, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.0006310114860535, | |
"mean": 0.007523541439744765, | |
"stdev": 0.00035376459051486743, | |
"p50": 0.0076902399063110355, | |
"p90": 0.007889919853210449, | |
"p95": 0.007947468757629394, | |
"p99": 0.008058388481140138, | |
"values": [ | |
0.008281087875366211, | |
0.007920639991760254, | |
0.008048640251159669, | |
0.008062975883483887, | |
0.008037376403808593, | |
0.007970816135406494, | |
0.007931903839111328, | |
0.007920639991760254, | |
0.00792470407485962, | |
0.007814144134521485, | |
0.007847936153411865, | |
0.007811071872711181, | |
0.00773529577255249, | |
0.0077547521591186525, | |
0.007730175971984863, | |
0.007766016006469726, | |
0.00785100793838501, | |
0.007837696075439453, | |
0.007844863891601562, | |
0.007782368183135986, | |
0.007758848190307617, | |
0.007730112075805664, | |
0.0077608962059021, | |
0.007803904056549072, | |
0.007799808025360107, | |
0.007773119926452637, | |
0.007704576015472412, | |
0.007784480094909668, | |
0.007806975841522217, | |
0.007772160053253174, | |
0.0077465281486511234, | |
0.00769536018371582, | |
0.007687104225158691, | |
0.007725056171417236, | |
0.007697408199310303, | |
0.007684095859527588, | |
0.007707647800445557, | |
0.007710720062255859, | |
0.007928832054138184, | |
0.007827455997467042, | |
0.007788544178009033, | |
0.00784281587600708, | |
0.00779366397857666, | |
0.007746560096740723, | |
0.007781375885009765, | |
0.007857151985168457, | |
0.007686143875122071, | |
0.007776256084442139, | |
0.0076789441108703616, | |
0.007697408199310303, | |
0.00773632001876831, | |
0.007701504230499268, | |
0.007823359966278077, | |
0.00779472017288208, | |
0.007666687965393066, | |
0.007665664196014404, | |
0.007717887878417969, | |
0.0077578239440917966, | |
0.007685120105743408, | |
0.007705599784851074, | |
0.007759871959686279, | |
0.0078919677734375, | |
0.007881728172302246, | |
0.007837696075439453, | |
0.007899136066436767, | |
0.007716864109039307, | |
0.007746560096740723, | |
0.0077916159629821775, | |
0.007700479984283447, | |
0.007705599784851074, | |
0.007683072090148926, | |
0.007540736198425293, | |
0.007570432186126709, | |
0.007663584232330322, | |
0.007523327827453613, | |
0.00733900785446167, | |
0.007302144050598145, | |
0.00760319995880127, | |
0.007589888095855713, | |
0.007664703845977784, | |
0.007649280071258545, | |
0.007725056171417236, | |
0.007989247798919678, | |
0.0076902399063110355, | |
0.0074035201072692874, | |
0.007426047801971435, | |
0.007473152160644531, | |
0.007505919933319092, | |
0.008042495727539062, | |
0.007215104103088379, | |
0.007267327785491944, | |
0.007202784061431885, | |
0.0071792640686035155, | |
0.007136256217956543, | |
0.007131103992462158, | |
0.007095295906066895, | |
0.007011295795440674, | |
0.007036928176879883, | |
0.006989823818206787, | |
0.007041024208068848, | |
0.0070348801612854, | |
0.007067647933959961, | |
0.007030784130096435, | |
0.00704204797744751, | |
0.007051263809204102, | |
0.006998015880584717, | |
0.006986752033233643, | |
0.007054336071014404, | |
0.007038976192474365, | |
0.007037951946258545, | |
0.00704204797744751, | |
0.006999072074890137, | |
0.0070256638526916505, | |
0.007032800197601319, | |
0.007035903930664063, | |
0.007039999961853028, | |
0.007044095993041993, | |
0.0070225920677185055, | |
0.0070348801612854, | |
0.007014400005340577, | |
0.007095295906066895, | |
0.007028736114501953, | |
0.0070266880989074704, | |
0.007005184173583984, | |
0.007037951946258545, | |
0.007063551902770996, | |
0.007106560230255127, | |
0.007050240039825439, | |
0.007007232189178467, | |
0.007042079925537109, | |
0.007008255958557129, | |
0.007036928176879883, | |
0.006982656002044678 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.91612839630014 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.558424637853196e-08, | |
"ram": 4.659551038110935e-08, | |
"gpu": 1.5412482353956807e-07, | |
"total": 2.8630458029920937e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3492783.8002274586 | |
} | |
} | |
} | |
} |