IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ba030cd verified
raw
history blame
12.8 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": {},
"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.33.0",
"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": 720.625664,
"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.19490478515625,
"mean": 7.19490478515625,
"stdev": 0.0,
"p50": 7.19490478515625,
"p90": 7.19490478515625,
"p95": 7.19490478515625,
"p99": 7.19490478515625,
"values": [
7.19490478515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0380114118258159e-06,
"ram": 5.533718431567536e-07,
"gpu": 1.775279197999656e-06,
"total": 3.3666624529822254e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.809984,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.9973930563926701,
"mean": 0.00619498792790478,
"stdev": 0.00026436411154663744,
"p50": 0.006055935859680176,
"p90": 0.006432767868041992,
"p95": 0.0065064959526062015,
"p99": 0.0070498303413391115,
"values": [
0.00709222412109375,
0.006959072113037109,
0.007021567821502686,
0.0069027838706970214,
0.006883327960968018,
0.006852608203887939,
0.006856704235076904,
0.007432191848754883,
0.006295551776885986,
0.006054912090301514,
0.006011903762817383,
0.0059985918998718265,
0.005967999935150146,
0.005988351821899414,
0.006052864074707031,
0.006012928009033203,
0.006048768043518066,
0.00601087999343872,
0.005953536033630371,
0.005982143878936768,
0.0060702719688415525,
0.005989376068115234,
0.0059985599517822265,
0.0060026879310607914,
0.005976064205169678,
0.00601087999343872,
0.006001664161682129,
0.00601804780960083,
0.00601087999343872,
0.005963776111602783,
0.005992447853088379,
0.00599238395690918,
0.006090752124786377,
0.006048768043518066,
0.005982399940490723,
0.005992447853088379,
0.00602623987197876,
0.006024191856384278,
0.006039552211761475,
0.006095871925354004,
0.005962751865386963,
0.005994495868682862,
0.005980160236358643,
0.005991424083709717,
0.005972991943359375,
0.006015999794006348,
0.005992288112640381,
0.0060405759811401364,
0.00601087999343872,
0.006001664161682129,
0.006015999794006348,
0.005950463771820068,
0.006005568027496338,
0.006030335903167725,
0.005970943927764893,
0.0059955201148986816,
0.005982207775115967,
0.005955488204956055,
0.006028319835662842,
0.006004735946655273,
0.005990399837493897,
0.006049791812896729,
0.005924863815307617,
0.006003712177276611,
0.005967872142791748,
0.005941247940063477,
0.006025216102600098,
0.0061634559631347655,
0.00592793607711792,
0.006061056137084961,
0.00602726411819458,
0.006038527965545654,
0.005929984092712402,
0.0059054079055786135,
0.005963776111602783,
0.006055935859680176,
0.00602623987197876,
0.006000639915466309,
0.0059688959121704105,
0.005946368217468262,
0.005973055839538575,
0.006005760192871094,
0.0059699201583862304,
0.006041600227355957,
0.005941247940063477,
0.005983232021331787,
0.005958720207214356,
0.006077439785003662,
0.005933055877685547,
0.006047679901123047,
0.005911551952362061,
0.005920767784118652,
0.005937151908874512,
0.005896192073822021,
0.005901311874389649,
0.0059699201583862304,
0.006221824169158936,
0.006275072097778321,
0.0062197761535644535,
0.006238207817077636,
0.0062873601913452145,
0.00618393611907959,
0.006178815841674804,
0.006250495910644531,
0.006269951820373535,
0.006291456222534179,
0.006248447895050049,
0.00637440013885498,
0.006491136074066162,
0.006446080207824707,
0.006505568027496338,
0.006459392070770263,
0.006394879817962646,
0.006407167911529541,
0.0065064959526062015,
0.006491136074066162,
0.006432767868041992,
0.006421504020690918,
0.006408192157745361,
0.0064143362045288085,
0.006345727920532227,
0.00639081621170044,
0.006423552036285401,
0.0064102401733398436,
0.006407167911529541,
0.006404096126556396,
0.00638156795501709,
0.0063610877990722655,
0.006308864116668702,
0.006385663986206055,
0.006399839878082275,
0.006264832019805908,
0.006281216144561768,
0.0061972479820251464,
0.006292479991912842,
0.006269951820373535,
0.006302720069885254,
0.00638156795501709,
0.0063836159706115725,
0.006409215927124024,
0.006412288188934326,
0.0064204797744750975,
0.006399968147277832,
0.006323200225830078,
0.006393856048583985,
0.006395936012268066,
0.006426623821258545,
0.006379519939422608,
0.006285312175750732,
0.006355967998504639,
0.0064440321922302245,
0.006351871967315674,
0.00637337589263916,
0.006309887886047363,
0.006367231845855713,
0.006366208076477051,
0.006404096126556396,
0.006408192157745361,
0.006315008163452148,
0.006366112232208252,
0.0064778242111206055
]
},
"throughput": {
"unit": "samples/s",
"value": 161.42081496165434
},
"energy": {
"unit": "kWh",
"cpu": 7.079472499234337e-08,
"ram": 3.870617329475973e-08,
"gpu": 1.34251099464286e-07,
"total": 2.4375199775138915e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4102530.4786216915
}
}
}
}