IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dda2fc4 verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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.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.12",
"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": 904.040448,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9983055343627927,
"mean": 0.006524872773613027,
"stdev": 0.00020679464288343022,
"p50": 0.006527999877929688,
"p90": 0.0067680127143859865,
"p95": 0.006883833408355713,
"p99": 0.007219822273254395,
"values": [
0.007229440212249756,
0.006856671810150147,
0.006978559970855713,
0.006859776020050049,
0.006899712085723877,
0.00684441614151001,
0.006895487785339356,
0.006876063823699951,
0.006852575778961182,
0.006833024024963379,
0.007526559829711914,
0.006479872226715088,
0.006278143882751465,
0.006248447895050049,
0.006298751831054688,
0.006313983917236328,
0.006269792079925537,
0.006307839870452881,
0.006479872226715088,
0.0063508481979370115,
0.006305791854858398,
0.006322175979614258,
0.006279295921325684,
0.006236159801483154,
0.006299647808074951,
0.0063498239517211915,
0.0062904319763183595,
0.006694911956787109,
0.0063805441856384275,
0.006416384220123291,
0.006398975849151611,
0.006337535858154297,
0.006319136142730713,
0.006284287929534912,
0.006359039783477783,
0.00638156795501709,
0.006303743839263916,
0.006410304069519043,
0.006360064029693604,
0.006346752166748047,
0.006486015796661377,
0.006620160102844238,
0.006582272052764892,
0.006603775978088379,
0.006603775978088379,
0.006623231887817383,
0.006594560146331787,
0.006574079990386963,
0.006579296112060547,
0.0066007041931152345,
0.006773759841918945,
0.007210944175720215,
0.0066416640281677245,
0.006601727962493896,
0.0066447358131408694,
0.0066447358131408694,
0.006560768127441406,
0.0066119680404663084,
0.006647808074951172,
0.006680575847625733,
0.006649856090545654,
0.006591487884521485,
0.006567935943603515,
0.006565887928009034,
0.006823935985565186,
0.006681600093841553,
0.0066375679969787596,
0.006623231887817383,
0.006601727962493896,
0.0066119680404663084,
0.006673279762268066,
0.006622208118438721,
0.006626304149627686,
0.006597631931304931,
0.006408192157745361,
0.006388735771179199,
0.006347775936126709,
0.006368256092071533,
0.006372352123260498,
0.006510591983795166,
0.006635519981384277,
0.006591487884521485,
0.00658022403717041,
0.006672383785247803,
0.006918144226074219,
0.006642687797546387,
0.00667852783203125,
0.006597663879394531,
0.0065771517753601075,
0.0066375679969787596,
0.006527999877929688,
0.006573056221008301,
0.006633471965789795,
0.006603775978088379,
0.006643712043762207,
0.006584320068359375,
0.006462560176849365,
0.006616064071655273,
0.006653952121734619,
0.006612991809844971,
0.006626304149627686,
0.0067450242042541506,
0.0066078720092773435,
0.00659660816192627,
0.006642687797546387,
0.006631423950195312,
0.006605823993682861,
0.007039999961853028,
0.006437888145446777,
0.0063610877990722655,
0.006375423908233643,
0.0063610877990722655,
0.006411263942718506,
0.00638156795501709,
0.006305727958679199,
0.006378496170043945,
0.006372352123260498,
0.006550528049468994,
0.006446080207824707,
0.0065301117897033694,
0.006569983959197998,
0.00653926420211792,
0.006388735771179199,
0.0063907837867736815,
0.006342656135559082,
0.00638976001739502,
0.006376448154449463,
0.006346752166748047,
0.0063836159706115725,
0.006319104194641113,
0.006364255905151367,
0.00628326416015625,
0.00629750394821167,
0.00636518383026123,
0.006360064029693604,
0.00637440013885498,
0.0062882242202758785,
0.006351776123046875,
0.006398975849151611,
0.0063610877990722655,
0.00638156795501709,
0.006340608119964599,
0.006370304107666015,
0.006394879817962646,
0.00637440013885498,
0.006470655918121338,
0.006371327877044678,
0.006481919765472412,
0.006556704044342041,
0.006348800182342529,
0.006287424087524414,
0.006331391811370849,
0.006339583873748779
]
},
"throughput": {
"unit": "samples/s",
"value": 153.25969328383832
},
"energy": {
"unit": "kWh",
"cpu": 7.586001147636689e-08,
"ram": 4.1469443755312955e-08,
"gpu": 1.346126342292972e-07,
"total": 2.5194208946097706e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3969166.097413384
}
}
}
}