IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7742f8e verified
raw
history blame
12.4 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.979712,
"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.44496044921875,
"mean": 7.44496044921875,
"stdev": 0.0,
"p50": 7.44496044921875,
"p90": 7.44496044921875,
"p95": 7.44496044921875,
"p99": 7.44496044921875,
"values": [
7.44496044921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0737298694447224e-06,
"ram": 5.720917243971178e-07,
"gpu": 1.6116679559998598e-06,
"total": 3.2574895498417e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1078.124544,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 151,
"total": 0.9985112352371215,
"mean": 0.0066126571870008055,
"stdev": 0.0002427422036518572,
"p50": 0.006692863941192627,
"p90": 0.006821887969970703,
"p95": 0.006948863983154297,
"p99": 0.007242751836776733,
"values": [
0.007252992153167725,
0.007247871875762939,
0.007237631797790528,
0.006979584217071533,
0.006975488185882568,
0.006922239780426025,
0.006913023948669434,
0.00689356803894043,
0.006812672138214112,
0.006743040084838867,
0.006819839954376221,
0.006790143966674805,
0.006791168212890625,
0.00667852783203125,
0.006647808074951172,
0.006728767871856689,
0.006696959972381592,
0.0067338237762451176,
0.006793216228485107,
0.006774784088134766,
0.006800384044647217,
0.0067645440101623535,
0.006699007987976074,
0.006743040084838867,
0.006819839954376221,
0.006782976150512696,
0.006768576145172119,
0.006766655921936035,
0.006750207901000976,
0.006762432098388672,
0.006724607944488525,
0.006739967823028564,
0.0066938881874084475,
0.006778880119323731,
0.00677785587310791,
0.006685696125030518,
0.006621183872222901,
0.006708159923553467,
0.006692863941192627,
0.007227392196655274,
0.006770688056945801,
0.0067348480224609375,
0.006702079772949219,
0.0067573761940002445,
0.006793216228485107,
0.006802432060241699,
0.006774784088134766,
0.006765567779541016,
0.0067276802062988285,
0.006660096168518067,
0.006782976150512696,
0.006772736072540283,
0.0067573761940002445,
0.006809599876403808,
0.006817791938781738,
0.006778880119323731,
0.006676479816436768,
0.006668288230895996,
0.006680575847625733,
0.006665215969085693,
0.0067276802062988285,
0.006804480075836182,
0.0066447358131408694,
0.006676479816436768,
0.0067123198509216305,
0.006699039936065674,
0.006739967823028564,
0.00669484806060791,
0.006789120197296142,
0.006756351947784424,
0.006832064151763916,
0.006868927955627441,
0.006806528091430664,
0.006821887969970703,
0.006879231929779053,
0.006715392112731934,
0.006763519763946534,
0.006750207901000976,
0.006686719894409179,
0.006662144184112549,
0.006804480075836182,
0.006727615833282471,
0.006668288230895996,
0.006666240215301514,
0.0064767999649047855,
0.006574079990386963,
0.006659071922302246,
0.006499328136444092,
0.006358016014099121,
0.006362112045288086,
0.006379519939422608,
0.006778880119323731,
0.0068280320167541505,
0.006707200050354004,
0.0067420158386230465,
0.006797311782836914,
0.007013376235961914,
0.0069918718338012695,
0.006598656177520752,
0.0064849920272827145,
0.0065413122177124024,
0.006483935832977295,
0.006575104236602783,
0.006520832061767578,
0.006478847980499268,
0.00643891191482544,
0.006489088058471679,
0.0064737281799316405,
0.006440959930419922,
0.006446080207824707,
0.006489088058471679,
0.006451200008392334,
0.006350815773010254,
0.0062494721412658695,
0.006334432125091553,
0.006255616188049316,
0.006266880035400391,
0.006261760234832763,
0.0062740478515625,
0.00628323221206665,
0.0062638077735900875,
0.006270976066589356,
0.006264832019805908,
0.006250495910644531,
0.0062904319763183595,
0.006268928050994873,
0.0062740478515625,
0.006289408206939697,
0.006292479991912842,
0.006296576023101807,
0.0062791681289672855,
0.006288383960723877,
0.006275072097778321,
0.006273056030273437,
0.006284287929534912,
0.006285312175750732,
0.006289408206939697,
0.006259712219238281,
0.006266880035400391,
0.006242303848266601,
0.006270976066589356,
0.006277120113372803,
0.006284287929534912,
0.00628326416015625,
0.006259712219238281,
0.006261760234832763,
0.00628326416015625,
0.006301695823669433,
0.006295551776885986,
0.0062975997924804685,
0.006295551776885986
]
},
"throughput": {
"unit": "samples/s",
"value": 151.22513865769497
},
"energy": {
"unit": "kWh",
"cpu": 7.740635100308206e-08,
"ram": 4.232160847652764e-08,
"gpu": 1.3779604342483856e-07,
"total": 2.575240029044483e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3883133.1787392264
}
}
}
}