IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
de92835 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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.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.32.1",
"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": 719.659008,
"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.16377001953125,
"mean": 7.16377001953125,
"stdev": 0.0,
"p50": 7.16377001953125,
"p90": 7.16377001953125,
"p95": 7.16377001953125,
"p99": 7.16377001953125,
"values": [
7.16377001953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.833991156684029e-07,
"ram": 4.684763549149314e-07,
"gpu": 0.0,
"total": 1.3518754705833343e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 918.54848,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 142,
"total": 1.0027151346206664,
"mean": 0.007061374187469481,
"stdev": 0.00022990865591755234,
"p50": 0.006972928047180176,
"p90": 0.0072389630317687996,
"p95": 0.007352575969696044,
"p99": 0.008089866199493409,
"values": [
0.008137727737426758,
0.008020992279052735,
0.00801689624786377,
0.007993343830108643,
0.008217663764953613,
0.00723967981338501,
0.007006207942962647,
0.007023615837097168,
0.006994944095611572,
0.007002111911773682,
0.0072325119972229,
0.006990848064422607,
0.00702569580078125,
0.007033792018890381,
0.0069847040176391605,
0.006979584217071533,
0.0070830078125,
0.007000063896179199,
0.007002111911773682,
0.007027711868286133,
0.0069918718338012695,
0.0069847040176391605,
0.007169023990631103,
0.007012351989746094,
0.006975488185882568,
0.006977536201477051,
0.006980607986450196,
0.0069539518356323245,
0.006990848064422607,
0.006976511955261231,
0.0069550080299377445,
0.006948863983154297,
0.006951935768127441,
0.006970367908477783,
0.0069621758460998535,
0.00693555212020874,
0.006976511955261231,
0.006986752033233643,
0.006976511955261231,
0.006956031799316406,
0.007035903930664063,
0.007208960056304932,
0.0071905279159545895,
0.0071485438346862796,
0.006936575889587402,
0.006959104061126709,
0.006958079814910889,
0.006974463939666748,
0.00694271993637085,
0.00695904016494751,
0.006965248107910156,
0.006959104061126709,
0.006940671920776367,
0.006951935768127441,
0.006958079814910889,
0.006946815967559815,
0.0069253120422363285,
0.00695091199874878,
0.0069918718338012695,
0.006957056045532227,
0.0069816322326660156,
0.006969344139099121,
0.007011328220367432,
0.006957056045532227,
0.006971392154693603,
0.006941696166992187,
0.006947840213775635,
0.00693452787399292,
0.00695091199874878,
0.006948863983154297,
0.006959104061126709,
0.006936575889587402,
0.006945792198181152,
0.0069632000923156735,
0.006969344139099121,
0.006939648151397705,
0.006970367908477783,
0.006986752033233643,
0.006988800048828125,
0.006937600135803222,
0.006967296123504638,
0.006961152076721191,
0.0069745278358459475,
0.007018496036529541,
0.00695091199874878,
0.006938623905181885,
0.0069283838272094726,
0.006917119979858399,
0.00693555212020874,
0.006920191764831543,
0.00693555212020874,
0.007355391979217529,
0.007725056171417236,
0.007355391979217529,
0.007299071788787842,
0.0072683200836181645,
0.007299071788787842,
0.007280640125274658,
0.007189504146575928,
0.007229375839233399,
0.007211008071899414,
0.007245888233184814,
0.007230463981628418,
0.007196671962738037,
0.007258111953735351,
0.007202816009521484,
0.0071833600997924804,
0.007204864025115967,
0.007175168037414551,
0.007180287837982178,
0.007192575931549072,
0.007206912040710449,
0.007196671962738037,
0.007012351989746094,
0.006939648151397705,
0.006966271877288818,
0.006974463939666748,
0.006990848064422607,
0.006977536201477051,
0.006957056045532227,
0.006951935768127441,
0.006945792198181152,
0.006953983783721924,
0.006960127830505371,
0.006952960014343262,
0.007008255958557129,
0.006953983783721924,
0.00695091199874878,
0.006966271877288818,
0.00693452787399292,
0.006969344139099121,
0.006939648151397705,
0.006937600135803222,
0.006940671920776367,
0.006960127830505371,
0.006961152076721191,
0.006953983783721924,
0.00694374418258667,
0.006964255809783935,
0.006958079814910889,
0.006969344139099121,
0.006967296123504638
]
},
"throughput": {
"unit": "samples/s",
"value": 141.61549486706363
},
"energy": {
"unit": "kWh",
"cpu": 8.361771446251907e-08,
"ram": 4.5711663229491865e-08,
"gpu": 1.521499652253526e-07,
"total": 2.814793429173635e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3552658.5703789257
}
}
}
}