IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d5b1df9 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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.289728,
"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.1",
"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": 889.749504,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 156,
"total": 0.9976697611808775,
"mean": 0.006395318981928702,
"stdev": 0.00022351439414524803,
"p50": 0.00634009599685669,
"p90": 0.006650880098342896,
"p95": 0.0067164161205291745,
"p99": 0.007249152135848994,
"values": [
0.006970367908477783,
0.006602752208709717,
0.006673408031463623,
0.006624256134033203,
0.006520832061767578,
0.006567935943603515,
0.006569983959197998,
0.006452223777770996,
0.006409215927124024,
0.0064133119583129885,
0.006395904064178467,
0.006416384220123291,
0.006401023864746094,
0.006435840129852295,
0.0063272957801818845,
0.006322175979614258,
0.006341631889343262,
0.0063805441856384275,
0.006341631889343262,
0.006519904136657715,
0.006676479816436768,
0.006681600093841553,
0.006656000137329102,
0.006461440086364746,
0.006368256092071533,
0.0062873601913452145,
0.0064133119583129885,
0.006440959930419922,
0.006421472072601318,
0.00643891191482544,
0.006388735771179199,
0.006375423908233643,
0.006364160060882569,
0.006402112007141113,
0.006604800224304199,
0.0064174079895019534,
0.006515615940093994,
0.006533152103424073,
0.006451168060302734,
0.006523903846740723,
0.006573056221008301,
0.0065443840026855465,
0.0067338237762451176,
0.006631423950195312,
0.006540287971496582,
0.006626304149627686,
0.006719488143920899,
0.0066344962120056155,
0.006663167953491211,
0.006673408031463623,
0.00658022403717041,
0.006624256134033203,
0.006358016014099121,
0.006415359973907471,
0.006558720111846924,
0.0063539199829101565,
0.006536191940307618,
0.006316031932830811,
0.006218751907348633,
0.006338560104370118,
0.006288383960723877,
0.006309887886047363,
0.006427648067474365,
0.0063569917678833006,
0.006375487804412842,
0.006715392112731934,
0.006729728221893311,
0.006552576065063476,
0.006493184089660644,
0.007090176105499267,
0.007443456172943115,
0.007606272220611572,
0.006639616012573242,
0.006617087841033936,
0.006659071922302246,
0.006645760059356689,
0.0063805441856384275,
0.006446080207824707,
0.006364160060882569,
0.006394879817962646,
0.006487040042877197,
0.006590464115142822,
0.006378528118133545,
0.006288383960723877,
0.006127615928649902,
0.006141952037811279,
0.006293504238128662,
0.006289408206939697,
0.006213632106781006,
0.006041600227355957,
0.0059985918998718265,
0.006102015972137451,
0.006160384178161621,
0.006273087978363037,
0.006207488059997559,
0.006312960147857666,
0.006338560104370118,
0.006223872184753418,
0.006115359783172607,
0.006060031890869141,
0.006086656093597412,
0.006038527965545654,
0.006807551860809326,
0.006371327877044678,
0.006310912132263183,
0.006325247764587402,
0.006329343795776367,
0.00623308801651001,
0.006268928050994873,
0.006325247764587402,
0.006223872184753418,
0.006200319766998291,
0.006242303848266601,
0.006161407947540283,
0.006258687973022461,
0.006195199966430664,
0.006173664093017578,
0.006255616188049316,
0.006160384178161621,
0.006280191898345947,
0.006205440044403076,
0.006292479991912842,
0.006337535858154297,
0.006310912132263183,
0.006306816101074219,
0.006244351863861084,
0.006294528007507324,
0.006310912132263183,
0.006248447895050049,
0.00628223991394043,
0.006367231845855713,
0.0062791681289672855,
0.0062780799865722655,
0.006194176197052002,
0.006195136070251465,
0.00632316780090332,
0.006253503799438477,
0.006318079948425293,
0.006211584091186524,
0.00619212818145752,
0.006221824169158936,
0.006116352081298828,
0.006251455783843994,
0.006170623779296875,
0.00623308801651001,
0.006310912132263183,
0.006195168018341065,
0.006268928050994873,
0.006299647808074951,
0.006268928050994873,
0.00632422399520874,
0.006244351863861084,
0.006280191898345947,
0.006318079948425293,
0.006276095867156982,
0.00626585578918457
]
},
"throughput": {
"unit": "samples/s",
"value": 156.36436631631778
},
"energy": {
"unit": "kWh",
"cpu": 7.437935512926845e-08,
"ram": 4.0496862412567234e-08,
"gpu": 1.308889935999996e-07,
"total": 2.457652111418353e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4068924.1384244696
}
}
}
}