IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4b1f534 verified
raw
history blame
12.1 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.094976,
"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.36675830078125,
"mean": 7.36675830078125,
"stdev": 0.0,
"p50": 7.36675830078125,
"p90": 7.36675830078125,
"p95": 7.36675830078125,
"p99": 7.36675830078125,
"values": [
7.36675830078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0444786305551112e-06,
"ram": 5.549852247196009e-07,
"gpu": 1.6608346619997882e-06,
"total": 3.2602985172745005e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1077.788672,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.999279549598694,
"mean": 0.006939441316657595,
"stdev": 0.0002996732517814694,
"p50": 0.006962687969207763,
"p90": 0.0071639039516448975,
"p95": 0.007403212738037109,
"p99": 0.008090234937667846,
"values": [
0.007349247932434082,
0.007412735939025879,
0.007259136199951172,
0.007319551944732666,
0.006958079814910889,
0.006967296123504638,
0.0068884482383728025,
0.006797311782836914,
0.006816768169403077,
0.006762495994567871,
0.006812672138214112,
0.006773759841918945,
0.006789120197296142,
0.006754303932189941,
0.006738944053649902,
0.007069695949554444,
0.007097343921661377,
0.007166975975036621,
0.007087103843688965,
0.007108607769012451,
0.007168000221252442,
0.00708403205871582,
0.007106560230255127,
0.007088128089904785,
0.007196671962738037,
0.007153664112091064,
0.007135231971740722,
0.007155712127685547,
0.007068672180175781,
0.00709119987487793,
0.007101439952850342,
0.007053311824798584,
0.007111680030822754,
0.007069695949554444,
0.007065631866455078,
0.006998015880584717,
0.007097343921661377,
0.007061535835266113,
0.007021567821502686,
0.007129087924957276,
0.007128064155578613,
0.007117824077606201,
0.007144447803497315,
0.007245823860168457,
0.0076605439186096195,
0.008051712036132813,
0.008119296073913575,
0.007071775913238525,
0.007128064155578613,
0.007142399787902832,
0.00704204797744751,
0.007062528133392334,
0.007074816226959229,
0.007014400005340577,
0.0067051520347595215,
0.007045119762420654,
0.00703385591506958,
0.00704307222366333,
0.006782944202423096,
0.00698367977142334,
0.007071743965148926,
0.007015423774719238,
0.006951935768127441,
0.007030784130096435,
0.007014400005340577,
0.007010303974151612,
0.007037951946258545,
0.007156735897064209,
0.007139328002929687,
0.007117824077606201,
0.00709222412109375,
0.007049215793609619,
0.007096320152282715,
0.007076863765716553,
0.007002111911773682,
0.006987775802612305,
0.007074816226959229,
0.0069539198875427245,
0.006930431842803955,
0.006833151817321777,
0.00678604793548584,
0.006986752033233643,
0.006937600135803222,
0.006732800006866455,
0.006670335769653321,
0.006684671878814697,
0.007514111995697022,
0.008032256126403809,
0.008121343612670898,
0.007475200176239013,
0.007023615837097168,
0.007067647933959961,
0.007154687881469727,
0.006918144226074219,
0.006722559928894043,
0.0067051520347595215,
0.006653984069824218,
0.0066447358131408694,
0.0066641921997070315,
0.00667849588394165,
0.006628352165222168,
0.006688767910003662,
0.006669312000274658,
0.006640575885772705,
0.006667232036590576,
0.006666240215301514,
0.006617087841033936,
0.006691840171813965,
0.00669593620300293,
0.006660096168518067,
0.006676479816436768,
0.006659071922302246,
0.006642687797546387,
0.006752255916595459,
0.006665152072906494,
0.006606847763061524,
0.0066713600158691405,
0.006651904106140137,
0.006623231887817383,
0.006663167953491211,
0.006659071922302246,
0.006618112087249756,
0.006653984069824218,
0.0066457920074462894,
0.00662937593460083,
0.006651904106140137,
0.006651904106140137,
0.006633471965789795,
0.006646783828735352,
0.0066826238632202144,
0.006612991809844971,
0.006658048152923584,
0.006648831844329834,
0.006624256134033203,
0.006650879859924317,
0.006684671878814697,
0.006609920024871826,
0.006667263984680176,
0.006956031799316406,
0.006609920024871826,
0.006650879859924317,
0.006662176132202148,
0.00659660816192627,
0.0066344962120056155
]
},
"throughput": {
"unit": "samples/s",
"value": 144.1038196547
},
"energy": {
"unit": "kWh",
"cpu": 7.882663841979526e-08,
"ram": 4.309779360162522e-08,
"gpu": 1.3968186303310986e-07,
"total": 2.616062950545303e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3822537.9851488504
}
}
}
}