IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b1a7c7e verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+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.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 907.452416,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.9966282854080197,
"mean": 0.007221944097159565,
"stdev": 0.0003034688650729739,
"p50": 0.00710041618347168,
"p90": 0.007541839933395386,
"p95": 0.0077439487934112565,
"p99": 0.008650833740234374,
"values": [
0.008050687789916992,
0.007690176010131836,
0.007706624031066894,
0.007997439861297608,
0.007636991977691651,
0.007638016223907471,
0.007601151943206787,
0.007592959880828858,
0.007589888095855713,
0.008184800148010254,
0.007307263851165771,
0.007129087924957276,
0.007138271808624267,
0.007164927959442138,
0.00708403205871582,
0.00710041618347168,
0.007130112171173096,
0.007104512214660645,
0.00708403205871582,
0.007074751853942871,
0.007088128089904785,
0.007097343921661377,
0.007094272136688232,
0.007072768211364746,
0.007110655784606934,
0.007135231971740722,
0.00713318395614624,
0.007088128089904785,
0.007072768211364746,
0.00709222412109375,
0.007071743965148926,
0.007088064193725586,
0.007046144008636474,
0.007337984085083008,
0.00748748779296875,
0.007409664154052734,
0.007402495861053467,
0.0073400321006774905,
0.007244800090789795,
0.007256063938140869,
0.00729804801940918,
0.007275519847869873,
0.0073431038856506346,
0.007354368209838867,
0.007332863807678222,
0.007310336112976074,
0.007353343963623047,
0.007337984085083008,
0.007346176147460938,
0.007360447883605957,
0.0071710400581359865,
0.007110655784606934,
0.007085055828094483,
0.007088128089904785,
0.007078911781311035,
0.0070563840866088865,
0.007014431953430176,
0.007159840106964111,
0.007955455780029297,
0.007473152160644531,
0.007101439952850342,
0.007063551902770996,
0.007103487968444824,
0.007163904190063477,
0.007108607769012451,
0.007184383869171143,
0.007065599918365479,
0.007095295906066895,
0.007107583999633789,
0.007096320152282715,
0.007061503887176514,
0.007054336071014404,
0.006990848064422607,
0.0069959678649902345,
0.006968319892883301,
0.0069918718338012695,
0.007018496036529541,
0.007000127792358399,
0.008511487960815429,
0.00876540756225586,
0.0087326717376709,
0.007521247863769532,
0.007274496078491211,
0.007364607810974121,
0.0071740798950195315,
0.007062528133392334,
0.007097343921661377,
0.007126016139984131,
0.007107583999633789,
0.007102464199066162,
0.0070891518592834475,
0.007102464199066162,
0.007097343921661377,
0.00710041618347168,
0.007076863765716553,
0.007080959796905518,
0.007096320152282715,
0.007093247890472412,
0.0070830078125,
0.007037951946258545,
0.007097343921661377,
0.007114751815795899,
0.00713318395614624,
0.007096320152282715,
0.007081984043121338,
0.0070891518592834475,
0.00709119987487793,
0.007085087776184082,
0.007070720195770264,
0.0070891518592834475,
0.00708403205871582,
0.007069695949554444,
0.007061503887176514,
0.007070720195770264,
0.00709222412109375,
0.007223296165466309,
0.007112703800201416,
0.0070860800743103025,
0.007088128089904785,
0.00707583999633789,
0.007072768211364746,
0.007069759845733643,
0.007078911781311035,
0.007065599918365479,
0.007103487968444824,
0.007102464199066162,
0.007057407855987549,
0.007179296016693116,
0.007146495819091797,
0.007143424034118652,
0.007048192024230957,
0.007051263809204102,
0.00707583999633789,
0.007160831928253173,
0.007077919960021973,
0.007064576148986816,
0.007069695949554444,
0.007097343921661377
]
},
"throughput": {
"unit": "samples/s",
"value": 138.46687076867656
},
"energy": {
"unit": "kWh",
"cpu": 8.502578569783106e-08,
"ram": 4.6313230276220044e-08,
"gpu": 1.6030369967142637e-07,
"total": 2.9164271564547747e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3428852.9983913796
}
}
}
}