IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bf8a220 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.0",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 890.109952,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 158,
"total": 0.9970523505210878,
"mean": 0.006310457914690428,
"stdev": 0.0002560881718122158,
"p50": 0.006318080186843872,
"p90": 0.006635724878311157,
"p95": 0.006662758588790894,
"p99": 0.0069552436161041285,
"values": [
0.0071823358535766605,
0.006796288013458252,
0.006638591766357422,
0.006532095909118653,
0.006515711784362793,
0.00657919979095459,
0.006516736030578613,
0.006594560146331787,
0.006526976108551025,
0.006546432018280029,
0.006492159843444824,
0.00643884801864624,
0.006647776126861573,
0.006475776195526123,
0.0063569917678833006,
0.006449151992797852,
0.0066078720092773435,
0.006359039783477783,
0.006534143924713135,
0.006412288188934326,
0.006412288188934326,
0.0064102401733398436,
0.006450111865997314,
0.006401023864746094,
0.006342656135559082,
0.006426623821258545,
0.00643177604675293,
0.0063907837867736815,
0.006650879859924317,
0.006445055961608887,
0.00641539192199707,
0.0065730881690979,
0.006662144184112549,
0.006586368083953857,
0.006615039825439453,
0.006528031826019287,
0.006260735988616943,
0.006284287929534912,
0.0062975997924804685,
0.006326272010803223,
0.00628326416015625,
0.006395904064178467,
0.006458367824554443,
0.0066447358131408694,
0.0063836159706115725,
0.006434815883636475,
0.006432735919952392,
0.006545407772064209,
0.00638976001739502,
0.006407167911529541,
0.006351871967315674,
0.0064122557640075685,
0.006401023864746094,
0.006435840129852295,
0.00638156795501709,
0.006379519939422608,
0.006363167762756348,
0.006303743839263916,
0.006319104194641113,
0.006557695865631104,
0.0065443840026855465,
0.006644768238067627,
0.006666240215301514,
0.006563839912414551,
0.006585343837738037,
0.006558720111846924,
0.0063170561790466305,
0.006618144035339356,
0.006561791896820069,
0.006558784008026123,
0.0065443840026855465,
0.006658048152923584,
0.006669312000274658,
0.006576128005981445,
0.006615039825439453,
0.0066344962120056155,
0.0067276802062988285,
0.0066406397819519045,
0.00659660816192627,
0.00657203197479248,
0.006612991809844971,
0.006273024082183838,
0.0062679038047790524,
0.006136832237243653,
0.006130688190460205,
0.006301695823669433,
0.006151167869567871,
0.006024127960205078,
0.00602623987197876,
0.006073344230651856,
0.00608460807800293,
0.0061562881469726565,
0.006109183788299561,
0.006147039890289307,
0.006329343795776367,
0.006247424125671387,
0.006077439785003662,
0.006056960105895996,
0.006089727878570556,
0.006043680191040039,
0.006047743797302246,
0.006082560062408447,
0.006108160018920898,
0.006789120197296142,
0.006312960147857666,
0.006086656093597412,
0.006107135772705078,
0.006138912200927734,
0.00608460807800293,
0.006074368000030517,
0.006060031890869141,
0.006069248199462891,
0.006032383918762207,
0.006051839828491211,
0.006033408164978027,
0.006030303955078125,
0.006017024040222168,
0.006015999794006348,
0.00601087999343872,
0.00602623987197876,
0.006001664161682129,
0.006013887882232666,
0.005984255790710449,
0.006004735946655273,
0.0060026879310607914,
0.006115327835083008,
0.006007808208465576,
0.00601087999343872,
0.006038527965545654,
0.006055935859680176,
0.006069248199462891,
0.006056960105895996,
0.006047743797302246,
0.0060067839622497555,
0.006005760192871094,
0.006004735946655273,
0.0059996161460876465,
0.006009856224060059,
0.006031360149383545,
0.006037504196166992,
0.006014976024627685,
0.006039616107940674,
0.006039552211761475,
0.0060293121337890625,
0.0067010560035705566,
0.006269951820373535,
0.00603436803817749,
0.006000639915466309,
0.0060661759376525876,
0.006037504196166992,
0.006052864074707031,
0.006107135772705078,
0.006077439785003662,
0.0060702719688415525,
0.006032383918762207,
0.006038527965545654,
0.006001664161682129,
0.007165952205657959
]
},
"throughput": {
"unit": "samples/s",
"value": 158.46710548089553
},
"energy": {
"unit": "kWh",
"cpu": 7.606786632909053e-08,
"ram": 4.140192918182102e-08,
"gpu": 1.3334759429298747e-07,
"total": 2.5081738980389904e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3986964.3838565084
}
}
}
}