IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1b2a4db verified
raw
history blame
12.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.069824,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.42938916015625,
"mean": 7.42938916015625,
"stdev": 0.0,
"p50": 7.42938916015625,
"p90": 7.42938916015625,
"p95": 7.42938916015625,
"p99": 7.42938916015625,
"values": [
7.42938916015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0694196493051638e-06,
"ram": 5.66723240199671e-07,
"gpu": 1.6900013520004808e-06,
"total": 3.326144241505316e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.759424,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9997436175346373,
"mean": 0.0068009769900315474,
"stdev": 0.0002560488320042527,
"p50": 0.006852672100067138,
"p90": 0.007126425647735596,
"p95": 0.007181391954421997,
"p99": 0.007272980546951293,
"values": [
0.007360511779785156,
0.007221248149871826,
0.007035903930664063,
0.007046144008636474,
0.0070852479934692385,
0.00704307222366333,
0.006980800151824952,
0.0069550080299377445,
0.006919167995452881,
0.00693555212020874,
0.006852608203887939,
0.007175072193145752,
0.007106560230255127,
0.007038911819458008,
0.006989823818206787,
0.007010303974151612,
0.007016448020935059,
0.006855679988861084,
0.0069344000816345215,
0.00713318395614624,
0.007208960056304932,
0.007001088142395019,
0.006851583957672119,
0.006998015880584717,
0.007120895862579346,
0.007121920108795166,
0.007039999961853028,
0.006979584217071533,
0.007189504146575928,
0.007104640007019043,
0.007088128089904785,
0.00687718391418457,
0.006902656078338623,
0.0071792640686035155,
0.007165952205657959,
0.007088128089904785,
0.006789120197296142,
0.006980607986450196,
0.007072927951812744,
0.0070481600761413575,
0.006870016098022461,
0.006959104061126709,
0.007223296165466309,
0.007251967906951904,
0.007147520065307617,
0.007078911781311035,
0.007158783912658692,
0.007136256217956543,
0.0071823039054870605,
0.0070553598403930665,
0.007058432102203369,
0.006941535949707031,
0.0068689918518066405,
0.006872064113616944,
0.006892447948455811,
0.006913023948669434,
0.0068321280479431154,
0.006846496105194092,
0.006852672100067138,
0.0068618240356445315,
0.00690393590927124,
0.006801407814025879,
0.0069027838706970214,
0.0068853759765625,
0.006895616054534912,
0.006847487926483154,
0.006882336139678955,
0.006870016098022461,
0.006809728145599365,
0.0069632000923156735,
0.006946815967559815,
0.00688640022277832,
0.0070011520385742185,
0.006919167995452881,
0.006899680137634277,
0.006851583957672119,
0.0068249602317810056,
0.006904831886291504,
0.006904831886291504,
0.007290880203247071,
0.0068249602317810056,
0.006785024166107178,
0.00672051191329956,
0.006627327919006347,
0.006796319961547851,
0.006718463897705078,
0.006471680164337158,
0.006478847980499268,
0.006476736068725586,
0.006478847980499268,
0.0066111359596252445,
0.006744063854217529,
0.006761663913726806,
0.006799295902252197,
0.006804351806640625,
0.006989823818206787,
0.006979584217071533,
0.006924287796020508,
0.0068392958641052244,
0.0067348480224609375,
0.006858687877655029,
0.006792096138000489,
0.0067420158386230465,
0.006470655918121338,
0.0064839677810668945,
0.0064143362045288085,
0.006555647850036621,
0.006474751949310303,
0.00643993616104126,
0.0064778242111206055,
0.006460415840148926,
0.006460415840148926,
0.006500351905822754,
0.0064440321922302245,
0.006556672096252441,
0.006623263835906982,
0.006497280120849609,
0.006509664058685302,
0.0064839677810668945,
0.0064430079460144046,
0.0064880638122558594,
0.006481919765472412,
0.00652185583114624,
0.00653004789352417,
0.00643071985244751,
0.006474624156951905,
0.006462399959564209,
0.00643071985244751,
0.006482944011688232,
0.006482944011688232,
0.006508543968200684,
0.006475776195526123,
0.006433792114257812,
0.006484960079193115,
0.006496096134185791,
0.006458367824554443,
0.0064839677810668945,
0.006462463855743408,
0.006495232105255127,
0.0065372161865234375,
0.006440959930419922,
0.006441984176635742,
0.0064778242111206055,
0.006457344055175781,
0.006454336166381836,
0.006423520088195801,
0.006469632148742676
]
},
"throughput": {
"unit": "samples/s",
"value": 147.03769788748562
},
"energy": {
"unit": "kWh",
"cpu": 7.79780682154607e-08,
"ram": 4.263498277641012e-08,
"gpu": 1.4738315884210876e-07,
"total": 2.6799620983397956e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3731396.0545169204
}
}
}
}