IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
58907eb verified
raw
history blame
10.9 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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": 901.832704,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993536
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0008746237754822,
"mean": 0.00695051822066307,
"stdev": 0.0002591267094599324,
"p50": 0.006998016119003296,
"p90": 0.00716828784942627,
"p95": 0.00725775375366211,
"p99": 0.007818035297393798,
"values": [
0.007631872177124023,
0.007879680156707763,
0.008176608085632324,
0.007300096035003662,
0.007359488010406494,
0.00773632001876831,
0.007214079856872559,
0.007111680030822754,
0.0071198720932006835,
0.007135231971740722,
0.007044095993041993,
0.007201791763305664,
0.00713318395614624,
0.0070891518592834475,
0.006988800048828125,
0.007017471790313721,
0.007079936027526855,
0.007103487968444824,
0.007107583999633789,
0.0070553598403930665,
0.007154623985290528,
0.0070522880554199216,
0.007076863765716553,
0.007090176105499267,
0.007091231822967529,
0.007223231792449951,
0.00713318395614624,
0.0071188478469848635,
0.007094240188598633,
0.006982656002044678,
0.007557119846343994,
0.007153664112091064,
0.007108575820922851,
0.007049215793609619,
0.007016448020935059,
0.006974463939666748,
0.007259136199951172,
0.007020544052124023,
0.0069816322326660156,
0.007014400005340577,
0.00708403205871582,
0.0070860800743103025,
0.007108607769012451,
0.007074816226959229,
0.007150591850280762,
0.00709935998916626,
0.0070266880989074704,
0.006993919849395752,
0.007121920108795166,
0.007151616096496582,
0.007095295906066895,
0.007118879795074463,
0.007053311824798584,
0.006988800048828125,
0.007050240039825439,
0.007070720195770264,
0.007013376235961914,
0.007090176105499267,
0.007073791980743408,
0.0070348801612854,
0.0070348801612854,
0.006996992111206054,
0.007009312152862549,
0.007122943878173828,
0.007018496036529541,
0.007079936027526855,
0.007041024208068848,
0.0072499198913574215,
0.007203839778900147,
0.007174143791198731,
0.007132160186767578,
0.007045119762420654,
0.007109632015228271,
0.007066624164581299,
0.006999040126800537,
0.007132160186767578,
0.006996992111206054,
0.0069928960800170895,
0.006818816184997558,
0.006903808116912841,
0.007060480117797851,
0.00682700777053833,
0.00667852783203125,
0.006748159885406494,
0.0068392958641052244,
0.006815743923187256,
0.006849535942077637,
0.006852640151977539,
0.0068689918518066405,
0.006944767951965332,
0.006952960014343262,
0.006806528091430664,
0.006702079772949219,
0.006635456085205078,
0.006686719894409179,
0.00669593620300293,
0.006631423950195312,
0.006716415882110595,
0.0067573761940002445,
0.007019519805908203,
0.006946815967559815,
0.0071976318359375,
0.0067717118263244626,
0.006648831844329834,
0.006714367866516113,
0.006707200050354004,
0.0066938881874084475,
0.0066375679969787596,
0.006698976039886475,
0.006647808074951172,
0.0067010560035705566,
0.00667955207824707,
0.006647808074951172,
0.006656000137329102,
0.006667263984680176,
0.006652927875518798,
0.006651904106140137,
0.006661119937896728,
0.006643712043762207,
0.006650879859924317,
0.006660096168518067,
0.006690815925598144,
0.006668288230895996,
0.006650879859924317,
0.006650879859924317,
0.006651904106140137,
0.006687744140625,
0.006642687797546387,
0.006666240215301514,
0.006672351837158203,
0.006749184131622315,
0.006635519981384277,
0.006665215969085693,
0.006706175804138184,
0.0066826238632202144,
0.006680575847625733,
0.006743040084838867,
0.006658048152923584,
0.006700032234191895,
0.006699967861175537,
0.006639616012573242,
0.0067041277885437015,
0.0066938881874084475,
0.006653952121734619
]
},
"throughput": {
"unit": "samples/s",
"value": 143.8741642352822
},
"energy": {
"unit": "kWh",
"cpu": 7.589248319466909e-08,
"ram": 4.1488829608099945e-08,
"gpu": 1.4275474383333722e-07,
"total": 2.6013605663610627e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3844142.2266920083
}
}
}
}