IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
40de184 verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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": 763.4944,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3532763671875,
"mean": 7.3532763671875,
"stdev": 0.0,
"p50": 7.3532763671875,
"p90": 7.3532763671875,
"p95": 7.3532763671875,
"p99": 7.3532763671875,
"values": [
7.3532763671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.817369930555449e-07,
"ram": 4.6772025639454486e-07,
"gpu": 1.6955569119999313e-06,
"total": 3.045014161450021e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 963.95264,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9972725439071652,
"mean": 0.006877741682118382,
"stdev": 0.0002874227194708196,
"p50": 0.006750207901000976,
"p90": 0.007138099288940429,
"p95": 0.007382015991210937,
"p99": 0.008227635002136231,
"values": [
0.00759603214263916,
0.007431168079376221,
0.007387135982513428,
0.007337984085083008,
0.007361536026000977,
0.007840767860412597,
0.007111680030822754,
0.006821887969970703,
0.006729728221893311,
0.006746047973632812,
0.00678604793548584,
0.006730751991271973,
0.0067358717918396,
0.006724607944488525,
0.0067645440101623535,
0.006746111869812011,
0.006745120048522949,
0.0067686400413513184,
0.00672870397567749,
0.0067276802062988285,
0.006747136116027832,
0.006732800006866455,
0.006744063854217529,
0.006790143966674805,
0.006793216228485107,
0.006917119979858399,
0.007081984043121338,
0.006914048194885254,
0.006768703937530518,
0.006732800006866455,
0.006740992069244385,
0.006760447978973389,
0.006839231967926025,
0.006841343879699707,
0.006795263767242431,
0.006750207901000976,
0.0067686400413513184,
0.006738944053649902,
0.006708223819732666,
0.006749184131622315,
0.0067420158386230465,
0.006770688056945801,
0.006690815925598144,
0.006724607944488525,
0.00672870397567749,
0.006705120086669922,
0.006725632190704346,
0.006737919807434082,
0.0067051520347595215,
0.0067276802062988285,
0.0067276802062988285,
0.0067338237762451176,
0.006723584175109864,
0.006702079772949219,
0.0066938881874084475,
0.0067338237762451176,
0.006725632190704346,
0.006677504062652588,
0.0066958718299865725,
0.006703104019165039,
0.006785024166107178,
0.006688767910003662,
0.006707200050354004,
0.006714367866516113,
0.006717440128326416,
0.006718463897705078,
0.006939712047576904,
0.006936575889587402,
0.006910975933074951,
0.006927360057830811,
0.006960127830505371,
0.006941696166992187,
0.006922239780426025,
0.00694374418258667,
0.00694271993637085,
0.006929408073425293,
0.006927360057830811,
0.00693555212020874,
0.006939648151397705,
0.006920191764831543,
0.006933504104614257,
0.006946815967559815,
0.006964223861694336,
0.006937600135803222,
0.006917119979858399,
0.007039999961853028,
0.006920191764831543,
0.006889472007751465,
0.006923264026641846,
0.00693452787399292,
0.006908927917480469,
0.006899648189544678,
0.006957056045532227,
0.006947840213775635,
0.0069283838272094726,
0.006922239780426025,
0.006936575889587402,
0.0069550080299377445,
0.006910975933074951,
0.007016448020935059,
0.008095744132995606,
0.008331263542175293,
0.008347647666931152,
0.007812096118927002,
0.0071833600997924804,
0.007172128200531006,
0.007219200134277344,
0.007173120021820068,
0.00693452787399292,
0.007003136157989502,
0.0070348801612854,
0.006979584217071533,
0.0068690237998962405,
0.00669593620300293,
0.006713344097137451,
0.0066826238632202144,
0.006709248065948486,
0.006708223819732666,
0.006689824104309082,
0.006696959972381592,
0.006719488143920899,
0.006694911956787109,
0.006713344097137451,
0.0067092800140380856,
0.00669593620300293,
0.006713344097137451,
0.006713344097137451,
0.0067123198509216305,
0.006667263984680176,
0.006689792156219483,
0.006702079772949219,
0.006659071922302246,
0.006692863941192627,
0.006716415882110595,
0.00667849588394165,
0.006687744140625,
0.006691840171813965,
0.006686719894409179,
0.006706175804138184,
0.006707200050354004,
0.0066826238632202144,
0.007155712127685547,
0.006738944053649902,
0.006722559928894043,
0.006652927875518798
]
},
"throughput": {
"unit": "samples/s",
"value": 145.39656274092494
},
"energy": {
"unit": "kWh",
"cpu": 8.39605961042176e-08,
"ram": 4.59050006004685e-08,
"gpu": 1.6175347849645556e-07,
"total": 2.916190752011417e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3429130.962404496
}
}
}
}