IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
87e1347 verified
raw
history blame
10.7 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": {},
"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.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 912.77312,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0003869447708134,
"mean": 0.00724918075920879,
"stdev": 0.00041175946955767837,
"p50": 0.007230976104736328,
"p90": 0.007525580883026122,
"p95": 0.007786598420143128,
"p99": 0.00896684063911438,
"values": [
0.007772160053253174,
0.007386112213134765,
0.007497695922851563,
0.007501823902130127,
0.0074700798988342285,
0.007426080226898194,
0.007371776103973389,
0.007520256042480469,
0.0074741759300231934,
0.007307263851165771,
0.007463935852050781,
0.00724889612197876,
0.0072408318519592285,
0.007323647975921631,
0.007180287837982178,
0.007214079856872559,
0.007216127872467041,
0.007265183925628662,
0.007350207805633545,
0.007311359882354736,
0.007289792060852051,
0.007293951988220215,
0.007201791763305664,
0.007291903972625732,
0.007490560054779053,
0.007415808200836181,
0.0073450241088867186,
0.007300032138824463,
0.00725708818435669,
0.007207935810089112,
0.007280640125274658,
0.0072765440940856935,
0.007267327785491944,
0.007269375801086426,
0.007178368091583252,
0.007207935810089112,
0.007308288097381592,
0.007230463981628418,
0.007267327785491944,
0.0075560641288757325,
0.007411680221557617,
0.0073400321006774905,
0.007560192108154297,
0.007292928218841553,
0.007479328155517578,
0.007451583862304687,
0.007269375801086426,
0.007452672004699707,
0.0074741759300231934,
0.007358463764190673,
0.007229440212249756,
0.007332863807678222,
0.007242688179016113,
0.007164927959442138,
0.007106560230255127,
0.007283679962158203,
0.0075632638931274416,
0.007524352073669433,
0.007160831928253173,
0.007244800090789795,
0.007214079856872559,
0.007300960063934326,
0.007231488227844239,
0.0072325119972229,
0.007377888202667236,
0.0073697280883789065,
0.007341055870056152,
0.007336959838867187,
0.007592800140380859,
0.007285759925842285,
0.007250944137573242,
0.007748672008514404,
0.007528448104858398,
0.007193600177764893,
0.007290880203247071,
0.007206912040710449,
0.007169023990631103,
0.007009280204772949,
0.00704201602935791,
0.007161856174468994,
0.007001088142395019,
0.006890495777130127,
0.0068280320167541505,
0.007038976192474365,
0.008274944305419921,
0.008814592361450196,
0.009056256294250489,
0.009116512298583984,
0.008759167671203614,
0.008673279762268067,
0.007868415832519531,
0.007210976123809815,
0.007159808158874512,
0.007146495819091797,
0.007163904190063477,
0.007017471790313721,
0.007386112213134765,
0.007061503887176514,
0.007051263809204102,
0.0070553598403930665,
0.007150591850280762,
0.007019519805908203,
0.0072130560874938965,
0.007001088142395019,
0.006979584217071533,
0.007039999961853028,
0.006844543933868409,
0.006807551860809326,
0.006779903888702392,
0.006791168212890625,
0.006846464157104492,
0.00678604793548584,
0.006781792163848877,
0.006780928134918213,
0.00679423999786377,
0.006762495994567871,
0.006789120197296142,
0.007095295906066895,
0.006800384044647217,
0.006809599876403808,
0.006815743923187256,
0.006817791938781738,
0.006856575965881347,
0.006915071964263916,
0.006827871799468994,
0.00682700777053833,
0.006802303791046143,
0.006778783798217773,
0.006788000106811524,
0.00719974422454834,
0.007018496036529541,
0.00690176010131836,
0.006966271877288818,
0.006940671920776367,
0.006807551860809326,
0.00680947208404541,
0.00677785587310791,
0.006781023979187012
]
},
"throughput": {
"unit": "samples/s",
"value": 137.94662227585906
},
"energy": {
"unit": "kWh",
"cpu": 8.483523295985328e-08,
"ram": 4.623434114193496e-08,
"gpu": 1.6188703427142987e-07,
"total": 2.9295660837321815e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3413474.7994011086
}
}
}
}