IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5585309 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 787.038208,
"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.36291650390625,
"mean": 7.36291650390625,
"stdev": 0.0,
"p50": 7.36291650390625,
"p90": 7.36291650390625,
"p95": 7.36291650390625,
"p99": 7.36291650390625,
"values": [
7.36291650390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.881175298609397e-07,
"ram": 4.710433843387161e-07,
"gpu": 1.757501406000287e-06,
"total": 3.116662320199943e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.933248,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.0001241273880002,
"mean": 0.007813469745218755,
"stdev": 0.00039703299513293874,
"p50": 0.00764467191696167,
"p90": 0.008204287528991699,
"p95": 0.00825748505592346,
"p99": 0.00881994760513306,
"values": [
0.010737664222717285,
0.008999936103820801,
0.008333312034606934,
0.00828006362915039,
0.008208383560180664,
0.0082227201461792,
0.008204287528991699,
0.008261631965637208,
0.00819711971282959,
0.008252415657043457,
0.008104960441589355,
0.008094719886779785,
0.008168448448181152,
0.008135647773742675,
0.008258560180664062,
0.008283136367797851,
0.008255488395690918,
0.008137727737426758,
0.008039423942565918,
0.008066111564636231,
0.00813152027130127,
0.008122367858886719,
0.008104928016662597,
0.008078335762023926,
0.00809779167175293,
0.00812339210510254,
0.00808243179321289,
0.008153087615966797,
0.008204287528991699,
0.00799232006072998,
0.007990272045135497,
0.00801689624786377,
0.008041472434997558,
0.008019968032836914,
0.008053791999816895,
0.008026111602783203,
0.00825443172454834,
0.00819814395904541,
0.008103936195373536,
0.00810905647277832,
0.00808448028564453,
0.008050687789916992,
0.007981056213378907,
0.007655424118041992,
0.007583744049072265,
0.007579648017883301,
0.007669760227203369,
0.007525375843048096,
0.007553023815155029,
0.0075632638931274416,
0.0075970239639282225,
0.00764518404006958,
0.007515135765075683,
0.0075673599243164065,
0.007557119846343994,
0.007501823902130127,
0.007562240123748779,
0.007544832229614258,
0.00760319995880127,
0.007663616180419922,
0.007666687965393066,
0.007681024074554443,
0.007669760227203369,
0.007623680114746094,
0.007577568054199219,
0.007613440036773681,
0.007536640167236328,
0.007564223766326904,
0.007544832229614258,
0.007518208026885987,
0.007434239864349365,
0.007325695991516113,
0.007535615921020508,
0.00745472002029419,
0.007203839778900147,
0.007221248149871826,
0.007217152118682861,
0.007307263851165771,
0.007359488010406494,
0.008102911949157715,
0.007960576057434082,
0.008058879852294922,
0.0081397762298584,
0.008050687789916992,
0.007952383995056152,
0.007815167903900147,
0.007714816093444824,
0.007769087791442871,
0.007692287921905518,
0.00764518404006958,
0.007585792064666748,
0.007648223876953125,
0.00764415979385376,
0.007686143875122071,
0.007670783996582031,
0.007616511821746826,
0.007601151943206787,
0.0075939841270446775,
0.007608320236206055,
0.007613440036773681,
0.0075970559120178225,
0.007568384170532226,
0.007560256004333496,
0.007589888095855713,
0.007611392021179199,
0.007583680152893066,
0.007574528217315674,
0.007632895946502686,
0.00760422420501709,
0.00758784008026123,
0.007588863849639893,
0.007574528217315674,
0.007580639839172364,
0.0075980801582336424,
0.007610367774963379,
0.007578688144683838,
0.007605247974395752,
0.007623680114746094,
0.007642111778259277,
0.007605247974395752,
0.007623616218566894,
0.007592959880828858,
0.007609344005584716,
0.007582719802856445,
0.007606239795684815,
0.007605247974395752,
0.00760422420501709,
0.007606272220611572
]
},
"throughput": {
"unit": "samples/s",
"value": 127.98411366626503
},
"energy": {
"unit": "kWh",
"cpu": 9.030778541144785e-08,
"ram": 4.922310155575045e-08,
"gpu": 1.743234477293245e-07,
"total": 3.1385433469652284e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3186191.457151409
}
}
}
}