IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5ba7e88 verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 822.31296,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.08961126708984375
],
"count": 1,
"total": 0.08961126708984375,
"mean": 0.08961126708984375,
"p50": 0.08961126708984375,
"p90": 0.08961126708984375,
"p95": 0.08961126708984375,
"p99": 0.08961126708984375,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010926229679583392,
"ram": 5.9864481837475546e-05,
"gpu": 0.0001453323384880004,
"total": 0.00031445911712130984
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1090.998272,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006073344230651856,
0.00573747205734253,
0.005734399795532226,
0.005769375801086426,
0.00575491189956665,
0.005851136207580566,
0.005833759784698487,
0.006079487800598145,
0.005970943927764893,
0.006047743797302246,
0.00601907205581665,
0.00602623987197876,
0.005970943927764893,
0.005972991943359375,
0.005940320014953614,
0.006041600227355957,
0.0059955201148986816,
0.00601087999343872,
0.006044672012329101,
0.006013951778411865,
0.005947391986846923,
0.005972991943359375,
0.005993472099304199,
0.006000639915466309,
0.005961728096008301,
0.006112256050109863,
0.005975039958953857,
0.00599132776260376,
0.005984127998352051,
0.006010816097259521,
0.005957632064819336,
0.005998623847961426,
0.005987328052520752,
0.006005760192871094,
0.005963776111602783,
0.0059699201583862304,
0.0059935998916625976,
0.005974016189575195,
0.005954559803009033,
0.005980160236358643,
0.005959839820861817,
0.005951488018035888,
0.005946368217468262,
0.005958655834197998,
0.005915647983551026,
0.005954559803009033,
0.005924863815307617,
0.0060150399208068845,
0.005923840045928955,
0.005962751865386963,
0.00591871976852417,
0.005934080123901367,
0.005990399837493897,
0.005985280036926269,
0.005945343971252442,
0.00600278377532959,
0.005911551952362061,
0.005981184005737304,
0.005909471988677978,
0.005952511787414551,
0.005934080123901367,
0.0060026879310607914,
0.005941247940063477,
0.005952511787414551,
0.0059248957633972164,
0.005907264232635498,
0.005913599967956543,
0.0059770879745483394,
0.006000639915466309,
0.005974016189575195,
0.005944320201873779,
0.005947296142578125,
0.005947391986846923,
0.0059361281394958495,
0.005926784038543701,
0.005942272186279297,
0.0060425281524658205,
0.005934080123901367,
0.005939167976379394,
0.005959680080413818,
0.005979135990142822,
0.005928959846496582,
0.0059054079055786135,
0.00594547176361084,
0.0059391999244689945,
0.005944320201873779,
0.005920767784118652,
0.005997568130493164,
0.005986303806304932,
0.005937151908874512,
0.005865312099456787,
0.005880832195281982,
0.005847072124481201,
0.0058726401329040525,
0.0058510079383850095,
0.005832704067230224,
0.005956448078155517,
0.005914656162261963,
0.006182911872863769,
0.006362112045288086,
0.00613478422164917,
0.005976128101348877,
0.005972991943359375,
0.005969056129455566,
0.005951488018035888,
0.005971968173980713,
0.005959680080413818,
0.005980160236358643,
0.005970943927764893,
0.005974175930023193,
0.005963776111602783,
0.005976064205169678,
0.006053887844085694,
0.007021567821502686,
0.007040863990783692,
0.006988800048828125,
0.006060031890869141,
0.005792768001556397,
0.005815296173095703,
0.005772384166717529,
0.005808063983917236,
0.006189055919647217,
0.006039584159851074,
0.005909696102142334,
0.0059351038932800295,
0.005920928001403808,
0.005929984092712402,
0.005931007862091065,
0.005923840045928955,
0.005879936218261719,
0.005896160125732422,
0.005883903980255127,
0.006313983917236328,
0.005910528182983398,
0.005911551952362061,
0.006004831790924072,
0.005893119812011719,
0.005867519855499268,
0.005931935787200928,
0.00591871976852417,
0.005879807949066162,
0.005898367881774902,
0.005932032108306885,
0.0059391999244689945,
0.00588595199584961,
0.005879744052886963,
0.005889984130859375,
0.00588595199584961,
0.005895167827606201,
0.005938176155090332,
0.005909503936767578,
0.005882016181945801,
0.005928959846496582,
0.005893119812011719,
0.005890048027038574,
0.00591974401473999,
0.005900288105010986,
0.005911712169647217,
0.005858304023742676,
0.005951488018035888,
0.005871744155883789,
0.005911488056182862,
0.005990399837493897,
0.005876704216003418,
0.005897215843200684,
0.00582860803604126,
0.005954559803009033
],
"count": 167,
"total": 0.9965125436782836,
"mean": 0.005967140980109483,
"p50": 0.005946368217468262,
"p90": 0.006040390586853028,
"p95": 0.006102425575256348,
"p99": 0.0069999410915374755,
"stdev": 0.00016384902897743925,
"stdev_": 2.7458548327181136
},
"throughput": {
"unit": "samples/s",
"value": 335.16888685329917
},
"energy": {
"unit": "kWh",
"cpu": 7.016301661324648e-08,
"ram": 3.8341876485899974e-08,
"gpu": 1.463002485325498e-07,
"total": 2.5480514163169625e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7849135.175187578
}
}
}
}