IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
907b20e verified
raw
history blame
12.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.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": 799.506432,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.02909912109375,
"mean": 8.02909912109375,
"stdev": 0.0,
"p50": 8.02909912109375,
"p90": 8.02909912109375,
"p95": 8.02909912109375,
"p99": 8.02909912109375,
"values": [
8.02909912109375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.515907361796129e-06,
"ram": 1.3390356481074473e-06,
"gpu": 4.827503861999649e-06,
"total": 8.682446871903225e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1088.96256,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 149,
"total": 1.000831840038299,
"mean": 0.006716992215022145,
"stdev": 0.0002325392553146281,
"p50": 0.006730751991271973,
"p90": 0.006961356830596924,
"p95": 0.007035289478302001,
"p99": 0.007149436187744141,
"values": [
0.007184288024902344,
0.007209983825683594,
0.007111680030822754,
0.00708403205871582,
0.00709939193725586,
0.0070891518592834475,
0.006869984149932861,
0.00675328016281128,
0.0067420158386230465,
0.006713312149047851,
0.006654975891113281,
0.006722559928894043,
0.006730751991271973,
0.006689856052398682,
0.006609920024871826,
0.00662937593460083,
0.006595583915710449,
0.006666240215301514,
0.006722591876983643,
0.006988800048828125,
0.0069847040176391605,
0.006993919849395752,
0.006990848064422607,
0.0069027838706970214,
0.006912000179290771,
0.0069621758460998535,
0.007020544052124023,
0.006953983783721924,
0.006961152076721191,
0.006957056045532227,
0.0069324798583984375,
0.006913023948669434,
0.00687820816040039,
0.006916063785552979,
0.006939648151397705,
0.006912032127380371,
0.006915071964263916,
0.006867968082427979,
0.006809599876403808,
0.006811647891998291,
0.006880256175994873,
0.0068618240356445315,
0.006874112129211426,
0.006881279945373535,
0.006910975933074951,
0.006916096210479736,
0.006895616054534912,
0.0069283838272094726,
0.006958079814910889,
0.006945792198181152,
0.006907904148101806,
0.006947840213775635,
0.006909952163696289,
0.006851583957672119,
0.006930399894714356,
0.006980607986450196,
0.006917119979858399,
0.006864895820617676,
0.006879231929779053,
0.006914015769958496,
0.006851583957672119,
0.006859776020050049,
0.006874112129211426,
0.006953983783721924,
0.006940671920776367,
0.006918144226074219,
0.006820864200592041,
0.006895616054534912,
0.006883327960968018,
0.0068986878395080565,
0.006875135898590088,
0.007045119762420654,
0.006897664070129395,
0.006881311893463134,
0.006952000141143799,
0.006800384044647217,
0.006730751991271973,
0.006715392112731934,
0.006779903888702392,
0.006692863941192627,
0.006686719894409179,
0.006714367866516113,
0.006650847911834717,
0.006619135856628418,
0.006669312000274658,
0.006619135856628418,
0.006576128005981445,
0.006560768127441406,
0.006437888145446777,
0.006466591835021972,
0.006609920024871826,
0.006460415840148926,
0.0063508481979370115,
0.006334464073181153,
0.006319168090820312,
0.006381504058837891,
0.006651904106140137,
0.006820864200592041,
0.006850560188293457,
0.006862847805023193,
0.006884352207183838,
0.007107583999633789,
0.006806528091430664,
0.006700992107391357,
0.006714367866516113,
0.0066344962120056155,
0.006564864158630371,
0.006602752208709717,
0.006617087841033936,
0.006527999877929688,
0.006589439868927002,
0.006564864158630371,
0.006518784046173095,
0.006562816143035889,
0.006583295822143555,
0.0065218877792358396,
0.006526976108551025,
0.006494239807128906,
0.00652288007736206,
0.0065443840026855465,
0.006508543968200684,
0.006509568214416504,
0.0065289602279663085,
0.0065136318206787105,
0.006499328136444092,
0.006536191940307618,
0.006493184089660644,
0.006527999877929688,
0.006503424167633057,
0.006494175910949707,
0.006532095909118653,
0.006490143775939941,
0.0064204797744750975,
0.006331391811370849,
0.0062904319763183595,
0.006317024230957031,
0.006294528007507324,
0.006299647808074951,
0.006300672054290772,
0.006605823993682861,
0.006306816101074219,
0.006269951820373535,
0.006296544075012207,
0.0062873601913452145,
0.006311935901641846,
0.006342656135559082,
0.006307839870452881,
0.0063211841583251955,
0.006330368041992188
]
},
"throughput": {
"unit": "samples/s",
"value": 148.87615885032005
},
"energy": {
"unit": "kWh",
"cpu": 7.663072588705563e-08,
"ram": 4.186986165736663e-08,
"gpu": 1.3674562910966306e-07,
"total": 2.552462166540853e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3917785.787811381
}
}
}
}