IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a64625e verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": {},
"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,
"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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 717.672448,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.376128
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.15167333984375,
"mean": 7.15167333984375,
"stdev": 0.0,
"p50": 7.15167333984375,
"p90": 7.15167333984375,
"p95": 7.15167333984375,
"p99": 7.15167333984375,
"values": [
7.15167333984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0320921738942465e-06,
"ram": 5.5000261951335e-07,
"gpu": 1.8322236879997691e-06,
"total": 3.4143184814073653e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 910.82752,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 156,
"total": 0.9960938873291012,
"mean": 0.006385217226468599,
"stdev": 0.000380500022035836,
"p50": 0.006383104085922241,
"p90": 0.00658739185333252,
"p95": 0.00695091199874878,
"p99": 0.00796595187187193,
"values": [
0.008993791580200196,
0.008836095809936523,
0.0072540159225463864,
0.007035967826843262,
0.0069632000923156735,
0.006946815967559815,
0.007031807899475098,
0.0070522880554199216,
0.007240767955780029,
0.006368256092071533,
0.0061224961280822755,
0.006104063987731933,
0.006107168197631836,
0.006078464031219482,
0.00607539176940918,
0.0060661759376525876,
0.006056960105895996,
0.0060928001403808595,
0.006069248199462891,
0.006093823909759521,
0.006087679862976075,
0.006053952217102051,
0.005986303806304932,
0.005992447853088379,
0.005979135990142822,
0.005967872142791748,
0.0059770879745483394,
0.005958655834197998,
0.005980160236358643,
0.005976064205169678,
0.006210495948791504,
0.006504447937011719,
0.006499328136444092,
0.0064481601715087895,
0.006470623970031738,
0.006467584133148193,
0.006461440086364746,
0.006497280120849609,
0.0064644479751586915,
0.006487040042877197,
0.006470655918121338,
0.0064849920272827145,
0.0065136637687683106,
0.006470623970031738,
0.006509503841400146,
0.006519807815551758,
0.006507455825805664,
0.0065136637687683106,
0.00652288007736206,
0.0064880638122558594,
0.006481919765472412,
0.006491136074066162,
0.006508543968200684,
0.006495232105255127,
0.006551551818847656,
0.006734784126281738,
0.006716415882110595,
0.006512639999389648,
0.006529024124145508,
0.006623231887817383,
0.006790143966674805,
0.006252543926239014,
0.006072319984436035,
0.006111231803894043,
0.006108160018920898,
0.006074368000030517,
0.006136832237243653,
0.0060928001403808595,
0.0061296639442443845,
0.006089727878570556,
0.006118400096893311,
0.006093823909759521,
0.006135871887207031,
0.006073344230651856,
0.006112256050109863,
0.006065152168273926,
0.006096896171569824,
0.006113279819488526,
0.006093823909759521,
0.006072319984436035,
0.006097919940948486,
0.006107135772705078,
0.00608460807800293,
0.00613478422164917,
0.0060702719688415525,
0.006100992202758789,
0.006050816059112549,
0.006104063987731933,
0.006078464031219482,
0.0065454401969909665,
0.006363135814666748,
0.006376383781433105,
0.006387712001800537,
0.006348800182342529,
0.006423552036285401,
0.006355008125305176,
0.006371327877044678,
0.00611737585067749,
0.006081535816192627,
0.006127615928649902,
0.006079487800598145,
0.006462463855743408,
0.00638259220123291,
0.006397952079772949,
0.0064204797744750975,
0.006369279861450195,
0.006497280120849609,
0.006416384220123291,
0.006360064029693604,
0.006449151992797852,
0.006471712112426758,
0.006781951904296875,
0.006525951862335205,
0.0067758078575134275,
0.006636544227600098,
0.006503424167633057,
0.006368256092071533,
0.006440959930419922,
0.006456319808959961,
0.006354944229125976,
0.0063836159706115725,
0.006403071880340576,
0.006429696083068847,
0.006449151992797852,
0.006404096126556396,
0.00634876823425293,
0.00637440013885498,
0.006411263942718506,
0.0064174079895019534,
0.006370304107666015,
0.006396927833557129,
0.006334464073181153,
0.006387712001800537,
0.006377471923828125,
0.006391808032989502,
0.00638976001739502,
0.006404096126556396,
0.006404096126556396,
0.006397952079772949,
0.006351871967315674,
0.006392831802368164,
0.0064880638122558594,
0.006398943901062012,
0.006425600051879882,
0.006364160060882569,
0.00638156795501709,
0.006391808032989502,
0.0063591041564941405,
0.006377471923828125,
0.006357952117919922,
0.0063569917678833006,
0.006391808032989502,
0.006342656135559082,
0.006445055961608887,
0.006404096126556396,
0.006371327877044678
]
},
"throughput": {
"unit": "samples/s",
"value": 156.61174311418984
},
"energy": {
"unit": "kWh",
"cpu": 7.429982328580485e-08,
"ram": 4.06214174150783e-08,
"gpu": 1.5013206455000041e-07,
"total": 2.6505330525088357e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3772825.9945804486
}
}
}
}