IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
139da6f 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",
"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",
"numactl": false,
"numactl_kwargs": {},
"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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 902.381568,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 152,
"total": 1.0016653118133545,
"mean": 0.006589903367193122,
"stdev": 0.00022511900635690068,
"p50": 0.006609920024871826,
"p90": 0.006720915365219116,
"p95": 0.006970164775848385,
"p99": 0.007424317603111269,
"values": [
0.007561215877532959,
0.007157728195190429,
0.007314432144165039,
0.00728879976272583,
0.007206912040710449,
0.007177216053009033,
0.007217152118682861,
0.00753868818283081,
0.006816703796386719,
0.006754303932189941,
0.006663167953491211,
0.0066109437942504885,
0.006633471965789795,
0.0066304001808166506,
0.006608895778656006,
0.006700032234191895,
0.006661119937896728,
0.0066590080261230465,
0.006664159774780273,
0.006683616161346435,
0.006618112087249756,
0.006673408031463623,
0.006684671878814697,
0.0066713600158691405,
0.006658048152923584,
0.006654975891113281,
0.006605823993682861,
0.0066979842185974124,
0.006652927875518798,
0.006609920024871826,
0.0067686400413513184,
0.0067153282165527345,
0.006605823993682861,
0.006681600093841553,
0.006660096168518067,
0.0066826238632202144,
0.006648799896240234,
0.0067758078575134275,
0.006636544227600098,
0.006616064071655273,
0.006596640110015869,
0.0065812478065490725,
0.0066416640281677245,
0.006602752208709717,
0.006602752208709717,
0.006590496063232422,
0.006622176170349121,
0.006564864158630371,
0.006583295822143555,
0.006703104019165039,
0.006583295822143555,
0.006612991809844971,
0.006703104019165039,
0.006667263984680176,
0.006624256134033203,
0.006620160102844238,
0.006612991809844971,
0.006691840171813965,
0.006604800224304199,
0.0066304001808166506,
0.006635519981384277,
0.006649856090545654,
0.0066447358131408694,
0.0067051520347595215,
0.0065914239883422855,
0.0065781760215759275,
0.00653004789352417,
0.006609920024871826,
0.0063272957801818845,
0.006338560104370118,
0.006276095867156982,
0.006301695823669433,
0.0062975997924804685,
0.006285312175750732,
0.006293504238128662,
0.006294528007507324,
0.006359039783477783,
0.00638156795501709,
0.006299680233001709,
0.006304768085479737,
0.0062791681289672855,
0.006306816101074219,
0.006304768085479737,
0.0063569917678833006,
0.006689792156219483,
0.006668288230895996,
0.00667852783203125,
0.0066744318008422855,
0.006627327919006347,
0.006689792156219483,
0.00672156810760498,
0.006647808074951172,
0.006649856090545654,
0.006465536117553711,
0.006289408206939697,
0.006302720069885254,
0.006248447895050049,
0.006429696083068847,
0.006546495914459228,
0.006423552036285401,
0.006388735771179199,
0.0063415999412536625,
0.006369279861450195,
0.006378496170043945,
0.006375391960144043,
0.006358016014099121,
0.006334464073181153,
0.006492159843444824,
0.006721536159515381,
0.006407167911529541,
0.006367231845855713,
0.006400000095367431,
0.006337535858154297,
0.006754303932189941,
0.00672870397567749,
0.0066119999885559085,
0.0066344962120056155,
0.006597631931304931,
0.006617087841033936,
0.006603775978088379,
0.006660096168518067,
0.006597631931304931,
0.006586368083953857,
0.00667852783203125,
0.006604800224304199,
0.006635551929473877,
0.006589407920837402,
0.006609920024871826,
0.006599679946899414,
0.006618112087249756,
0.00667852783203125,
0.006618112087249756,
0.006592512130737305,
0.006606847763061524,
0.006631423950195312,
0.00657919979095459,
0.006603775978088379,
0.00658841609954834,
0.006670335769653321,
0.006591487884521485,
0.006591487884521485,
0.006559743881225586,
0.006501376152038574,
0.006482944011688232,
0.006307839870452881,
0.006335487842559814,
0.006281216144561768,
0.006299647808074951,
0.006271999835968017,
0.006271039962768555,
0.006301695823669433,
0.006288383960723877
]
},
"throughput": {
"unit": "samples/s",
"value": 151.7472934395905
},
"energy": {
"unit": "kWh",
"cpu": 7.887575186026983e-08,
"ram": 4.3125256140668574e-08,
"gpu": 1.3811453286092496e-07,
"total": 2.601155408618634e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3844445.4210102684
}
}
}
}