IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0f83bc7 verified
raw
history blame
11.1 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",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 902.004736,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.9989743700027465,
"mean": 0.0067498268243428835,
"stdev": 0.00013576317339119158,
"p50": 0.006746576070785522,
"p90": 0.006892032051086426,
"p95": 0.006954188823699951,
"p99": 0.00703199245929718,
"values": [
0.007723008155822754,
0.006948863983154297,
0.006976511955261231,
0.006957056045532227,
0.007028736114501953,
0.007012351989746094,
0.006927360057830811,
0.006938591957092285,
0.006930431842803955,
0.00687820816040039,
0.006805568218231201,
0.006783999919891357,
0.006822912216186523,
0.006755328178405762,
0.0067010560035705566,
0.006761472225189209,
0.00674508810043335,
0.006732800006866455,
0.006804480075836182,
0.006854656219482422,
0.006767615795135498,
0.006834176063537598,
0.006776832103729248,
0.006774784088134766,
0.00673689603805542,
0.0068321280479431154,
0.006821887969970703,
0.006763519763946534,
0.00684441614151001,
0.00682700777053833,
0.006749184131622315,
0.006756351947784424,
0.006795263767242431,
0.006816768169403077,
0.006752255916595459,
0.00672051191329956,
0.006703104019165039,
0.006668288230895996,
0.006752255916595459,
0.006767615795135498,
0.006711296081542969,
0.006806528091430664,
0.0067686400413513184,
0.006825984001159668,
0.006799359798431396,
0.006848512172698974,
0.006822912216186523,
0.006806528091430664,
0.006783999919891357,
0.006717440128326416,
0.006729728221893311,
0.006842368125915528,
0.006821887969970703,
0.006791168212890625,
0.006796288013458252,
0.006783999919891357,
0.0067480640411376955,
0.006765535831451416,
0.00673689603805542,
0.0067573761940002445,
0.006859807968139648,
0.006803455829620361,
0.006823935985565186,
0.00675328016281128,
0.006738944053649902,
0.00679423999786377,
0.006756351947784424,
0.00674508810043335,
0.006759424209594727,
0.006783999919891357,
0.006841343879699707,
0.006850560188293457,
0.006842336177825928,
0.0069283838272094726,
0.00679423999786377,
0.006789120197296142,
0.006817791938781738,
0.0067645440101623535,
0.006724607944488525,
0.0067758078575134275,
0.006743040084838867,
0.006648831844329834,
0.006554624080657959,
0.0065812478065490725,
0.0065710082054138185,
0.0065443840026855465,
0.006466559886932373,
0.006418432235717773,
0.0064737281799316405,
0.006804480075836182,
0.00684441614151001,
0.006924287796020508,
0.006937600135803222,
0.006966271877288818,
0.0069928960800170895,
0.0070348801612854,
0.006759424209594727,
0.006656000137329102,
0.006666240215301514,
0.0067010560035705566,
0.006650847911834717,
0.006694911956787109,
0.006707200050354004,
0.006673408031463623,
0.006680575847625733,
0.006698048114776612,
0.006671296119689941,
0.00667955207824707,
0.006706175804138184,
0.006654975891113281,
0.006643712043762207,
0.006672383785247803,
0.00674508810043335,
0.006635519981384277,
0.006660096168518067,
0.006686719894409179,
0.006642687797546387,
0.00667852783203125,
0.006636544227600098,
0.006621183872222901,
0.006677504062652588,
0.006666240215301514,
0.006627327919006347,
0.006670335769653321,
0.006662144184112549,
0.006606847763061524,
0.006639616012573242,
0.006656032085418701,
0.006608895778656006,
0.0066406397819519045,
0.006638591766357422,
0.006635519981384277,
0.006677504062652588,
0.00667852783203125,
0.0066375679969787596,
0.006648831844329834,
0.006646783828735352,
0.0066979842185974124,
0.0066304001808166506,
0.006607840061187744,
0.006593567848205566,
0.006647808074951172,
0.006652927875518798,
0.006612991809844971,
0.006663167953491211,
0.0066713600158691405,
0.00662937593460083,
0.006658048152923584
]
},
"throughput": {
"unit": "samples/s",
"value": 148.1519490831312
},
"energy": {
"unit": "kWh",
"cpu": 7.775924455972366e-08,
"ram": 4.2507321589201794e-08,
"gpu": 1.4109488411764312e-07,
"total": 2.6136145026656855e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3826118.9589362815
}
}
}
}