
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6d8fd1a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_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": 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.14", | |
"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.0", | |
"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": 891.621376, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9972845778465275, | |
"mean": 0.006830716286620049, | |
"stdev": 0.0001990599915854344, | |
"p50": 0.006783967971801758, | |
"p90": 0.006865440130233765, | |
"p95": 0.0073021438121795654, | |
"p99": 0.00782781438827515, | |
"values": [ | |
0.008047616004943848, | |
0.0076267518997192385, | |
0.0074291200637817386, | |
0.007386015892028809, | |
0.007299071788787842, | |
0.007346176147460938, | |
0.007336959838867187, | |
0.00799232006072998, | |
0.006978559970855713, | |
0.006864960193634033, | |
0.0067900800704956054, | |
0.0068269438743591305, | |
0.006820799827575684, | |
0.006787007808685303, | |
0.006843391895294189, | |
0.006874112129211426, | |
0.006866943836212158, | |
0.00678604793548584, | |
0.0068269438743591305, | |
0.006811647891998291, | |
0.006774784088134766, | |
0.006823935985565186, | |
0.006814720153808594, | |
0.006822912216186523, | |
0.006793216228485107, | |
0.006838272094726563, | |
0.006816768169403077, | |
0.0067870721817016606, | |
0.006806528091430664, | |
0.0068197760581970215, | |
0.0068280320167541505, | |
0.006812672138214112, | |
0.006838304042816162, | |
0.00678604793548584, | |
0.0067604160308837894, | |
0.006806528091430664, | |
0.006788095951080322, | |
0.006967296123504638, | |
0.00678713607788086, | |
0.006849535942077637, | |
0.006841343879699707, | |
0.006770688056945801, | |
0.006865920066833496, | |
0.006846464157104492, | |
0.0067686400413513184, | |
0.006779903888702392, | |
0.006781951904296875, | |
0.006807551860809326, | |
0.0067573761940002445, | |
0.006793216228485107, | |
0.006767615795135498, | |
0.006759456157684326, | |
0.006793216228485107, | |
0.006770688056945801, | |
0.006762495994567871, | |
0.006761472225189209, | |
0.006776832103729248, | |
0.006785024166107178, | |
0.006767680168151855, | |
0.006807551860809326, | |
0.006817791938781738, | |
0.00676966381072998, | |
0.006779903888702392, | |
0.006809599876403808, | |
0.006812672138214112, | |
0.007303167819976806, | |
0.006812672138214112, | |
0.0068055038452148435, | |
0.006770688056945801, | |
0.006782911777496338, | |
0.0068055038452148435, | |
0.006807551860809326, | |
0.006802432060241699, | |
0.006810656070709228, | |
0.0067870721817016606, | |
0.006762495994567871, | |
0.006791168212890625, | |
0.006796288013458252, | |
0.006817791938781738, | |
0.006759424209594727, | |
0.0067870721817016606, | |
0.00677785587310791, | |
0.006739967823028564, | |
0.006812672138214112, | |
0.006806528091430664, | |
0.0067573761940002445, | |
0.0067717118263244626, | |
0.0067983360290527345, | |
0.006776832103729248, | |
0.00673689603805542, | |
0.006763519763946534, | |
0.006789120197296142, | |
0.006751232147216797, | |
0.006800384044647217, | |
0.0067645440101623535, | |
0.006758399963378906, | |
0.006780928134918213, | |
0.006800352096557617, | |
0.006767615795135498, | |
0.006751232147216797, | |
0.006737919807434082, | |
0.006740992069244385, | |
0.006727615833282471, | |
0.006754303932189941, | |
0.006719488143920899, | |
0.006725632190704346, | |
0.0068055038452148435, | |
0.0067358717918396, | |
0.006703104019165039, | |
0.006749184131622315, | |
0.0067348480224609375, | |
0.006729728221893311, | |
0.006715392112731934, | |
0.0067358717918396, | |
0.0067358717918396, | |
0.0067276802062988285, | |
0.006739967823028564, | |
0.006750207901000976, | |
0.006717440128326416, | |
0.00679423999786377, | |
0.006744063854217529, | |
0.0067348480224609375, | |
0.006790143966674805, | |
0.006781951904296875, | |
0.0067717118263244626, | |
0.006740992069244385, | |
0.006745120048522949, | |
0.006756351947784424, | |
0.006747136116027832, | |
0.006763519763946534, | |
0.006793216228485107, | |
0.006718463897705078, | |
0.006751232147216797, | |
0.0067276802062988285, | |
0.006703104019165039, | |
0.006717472076416015, | |
0.007165952205657959, | |
0.006743040084838867, | |
0.006721536159515381, | |
0.006823935985565186, | |
0.006763519763946534, | |
0.006749184131622315, | |
0.006754335880279541, | |
0.006740992069244385, | |
0.006762495994567871, | |
0.006765567779541016 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.3975310991604 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.417799000292899e-08, | |
"ram": 4.6017656379572535e-08, | |
"gpu": 1.5290201357446433e-07, | |
"total": 2.830976599569658e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3532349.932359073 | |
} | |
} | |
} | |
} |