IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
417d828 verified
raw
history blame
10.8 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": "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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 908.619776,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.999167808532715,
"mean": 0.007188257615343272,
"stdev": 0.0003418419015973708,
"p50": 0.007041024208068848,
"p90": 0.007641907119750977,
"p95": 0.008080998802185059,
"p99": 0.008395510120391846,
"values": [
0.00820736026763916,
0.008043519973754883,
0.008146944046020508,
0.008501312255859376,
0.008173567771911621,
0.008077312469482421,
0.007948287963867188,
0.008114175796508789,
0.008378368377685547,
0.007952383995056152,
0.007854080200195313,
0.007856128215789794,
0.007877632141113282,
0.00840601634979248,
0.007550975799560547,
0.007588863849639893,
0.007315455913543701,
0.007321599960327148,
0.0073134078979492185,
0.007316480159759522,
0.007245823860168457,
0.007277535915374756,
0.0072765440940856935,
0.007278592109680176,
0.00724889612197876,
0.007222271919250488,
0.007300096035003662,
0.007207935810089112,
0.007266304016113281,
0.007241727828979493,
0.007201791763305664,
0.0071823358535766605,
0.007189504146575928,
0.007262207984924316,
0.00722431993484497,
0.007238656044006348,
0.007221248149871826,
0.0072427520751953125,
0.007202816009521484,
0.007269375801086426,
0.007058432102203369,
0.006980607986450196,
0.007008255958557129,
0.007049215793609619,
0.007234560012817383,
0.007267327785491944,
0.0071823358535766605,
0.007211008071899414,
0.007226367950439453,
0.0072325119972229,
0.0072540159225463864,
0.0072130560874938965,
0.007230463981628418,
0.007027711868286133,
0.007027711868286133,
0.007031807899475098,
0.006998015880584717,
0.007018496036529541,
0.00703276777267456,
0.007049215793609619,
0.00704307222366333,
0.007007232189178467,
0.007090112209320068,
0.007036928176879883,
0.007003136157989502,
0.007008255958557129,
0.0070522880554199216,
0.007053311824798584,
0.007041024208068848,
0.0070225920677185055,
0.007017471790313721,
0.0070348801612854,
0.007027711868286133,
0.006985727787017822,
0.007003136157989502,
0.007016448020935059,
0.007386112213134765,
0.007251967906951904,
0.007214079856872559,
0.007209983825683594,
0.007245823860168457,
0.007252992153167725,
0.007228415966033935,
0.007127039909362793,
0.007111711978912354,
0.007110655784606934,
0.007096320152282715,
0.007068672180175781,
0.007088064193725586,
0.006906879901885986,
0.006907904148101806,
0.006969344139099121,
0.007007232189178467,
0.006987775802612305,
0.006985727787017822,
0.0069723520278930666,
0.006938560009002686,
0.006956031799316406,
0.006960127830505371,
0.006936575889587402,
0.006979584217071533,
0.006979584217071533,
0.006986752033233643,
0.006952960014343262,
0.006952960014343262,
0.006971392154693603,
0.0069959678649902345,
0.006948895931243896,
0.006976511955261231,
0.006958079814910889,
0.0069632000923156735,
0.006960095882415772,
0.006964159965515137,
0.006991903781890869,
0.006975520133972168,
0.006939648151397705,
0.006980607986450196,
0.0069847040176391605,
0.006977536201477051,
0.006936575889587402,
0.006967296123504638,
0.006966271877288818,
0.006965248107910156,
0.006947840213775635,
0.006958144187927246,
0.0069847040176391605,
0.007014400005340577,
0.006956992149353028,
0.0069621758460998535,
0.006965248107910156,
0.006953983783721924,
0.006934559822082519,
0.006937600135803222,
0.0069550080299377445,
0.0069632320404052735,
0.006959104061126709,
0.006998015880584717,
0.006986752033233643,
0.006972415924072266
]
},
"throughput": {
"unit": "samples/s",
"value": 139.11577095755567
},
"energy": {
"unit": "kWh",
"cpu": 8.57844660823472e-08,
"ram": 4.689846807414724e-08,
"gpu": 1.5517725779709873e-07,
"total": 2.878601919535932e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3473908.612418396
}
}
}
}