IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1be8277 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": {},
"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": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.572544,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.99526708984375,
"mean": 7.99526708984375,
"stdev": 0.0,
"p50": 7.99526708984375,
"p90": 7.99526708984375,
"p95": 7.99526708984375,
"p99": 7.99526708984375,
"values": [
7.99526708984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.353615220832634e-06,
"ram": 1.2711912249644731e-06,
"gpu": 3.5633361839997393e-06,
"total": 7.1881426297968465e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.660096,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9989209585189819,
"mean": 0.007510683898638962,
"stdev": 0.000283037483302218,
"p50": 0.00743833589553833,
"p90": 0.007770521450042725,
"p95": 0.007865753650665283,
"p99": 0.008760770416259767,
"values": [
0.007855103969573975,
0.007696383953094482,
0.007780352115631104,
0.007881728172302246,
0.007853055953979492,
0.0077023677825927735,
0.007671807765960693,
0.008294400215148925,
0.007803904056549072,
0.007679999828338623,
0.007703551769256592,
0.007673855781555176,
0.00773529577255249,
0.0076943678855896,
0.007621632099151611,
0.007608223915100098,
0.007613440036773681,
0.007355391979217529,
0.0075038719177246095,
0.007480256080627442,
0.00746611213684082,
0.00753766393661499,
0.007414783954620361,
0.0073820161819458,
0.0074967041015625,
0.007549920082092285,
0.0073994240760803225,
0.007477248191833496,
0.00764415979385376,
0.007489535808563232,
0.0073994240760803225,
0.0074291200637817386,
0.007395328044891358,
0.0074741759300231934,
0.007443456172943115,
0.0073820161819458,
0.007321599960327148,
0.007409664154052734,
0.007409664154052734,
0.007417888164520264,
0.007363584041595459,
0.007434239864349365,
0.007676928043365478,
0.007484416007995606,
0.007507967948913574,
0.007572480201721191,
0.00753868818283081,
0.007518208026885987,
0.007527423858642578,
0.007444479942321777,
0.007502848148345947,
0.007477248191833496,
0.007685120105743408,
0.007783423900604248,
0.0077199358940124516,
0.00743936014175415,
0.0074403839111328125,
0.007322624206542969,
0.0074074559211730956,
0.00742310380935669,
0.007370751857757568,
0.007395328044891358,
0.0074332160949707035,
0.007366655826568603,
0.007413760185241699,
0.007387135982513428,
0.0073400321006774905,
0.007419904232025146,
0.007372799873352051,
0.007336959838867187,
0.007479296207427978,
0.007543807983398438,
0.007485439777374267,
0.007431168079376221,
0.007501823902130127,
0.007465983867645264,
0.00743936014175415,
0.007402495861053467,
0.007412735939025879,
0.00735536003112793,
0.007400447845458984,
0.00729702377319336,
0.007352287769317627,
0.007314432144165039,
0.007121920108795166,
0.007274496078491211,
0.007217152118682861,
0.0070860800743103025,
0.006990848064422607,
0.0070256638526916505,
0.00749567985534668,
0.007716864109039307,
0.00824841594696045,
0.007779327869415284,
0.0077957439422607425,
0.00870297622680664,
0.009019392013549805,
0.008787967681884766,
0.008235008239746093,
0.007627711772918701,
0.00743833589553833,
0.007469056129455566,
0.007541759967803955,
0.007473152160644531,
0.007367680072784424,
0.007386112213134765,
0.007362559795379638,
0.007305215835571289,
0.007392255783081054,
0.007434239864349365,
0.007259263992309571,
0.0072325119972229,
0.00725708818435669,
0.007271423816680909,
0.007235583782196045,
0.007278592109680176,
0.007575551986694336,
0.007453695774078369,
0.007412735939025879,
0.007478271961212158,
0.00742195177078247,
0.0073983359336853025,
0.007415679931640625,
0.007378943920135498,
0.007422976016998291,
0.007512063980102539,
0.007393280029296875,
0.007411712169647216,
0.007360511779785156,
0.007360511779785156,
0.00729804801940918,
0.007290880203247071,
0.007368703842163086
]
},
"throughput": {
"unit": "samples/s",
"value": 133.14366754021077
},
"energy": {
"unit": "kWh",
"cpu": 8.687873076844971e-08,
"ram": 4.740174673908779e-08,
"gpu": 1.709652624817498e-07,
"total": 3.0524573998928727e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3276048.9959175037
}
}
}
}