IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
df8725d verified
raw
history blame
11.6 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 788.836352,
"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.3805546875,
"mean": 7.3805546875,
"stdev": 0.0,
"p50": 7.3805546875,
"p90": 7.3805546875,
"p95": 7.3805546875,
"p99": 7.3805546875,
"values": [
7.3805546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.965040666665579e-07,
"ram": 4.7558056986233997e-07,
"gpu": 1.6300013040001712e-06,
"total": 3.0020859405290693e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1084.7232,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9984951372146603,
"mean": 0.007507482234696696,
"stdev": 0.00043858958595501706,
"p50": 0.0075038719177246095,
"p90": 0.007925113677978516,
"p95": 0.008080998420715333,
"p99": 0.008616140594482423,
"values": [
0.010405887603759765,
0.008079360008239746,
0.007910367965698242,
0.00818380832672119,
0.007950335979461669,
0.007928800106048585,
0.00782643222808838,
0.007764992237091065,
0.007795711994171142,
0.007794688224792481,
0.0075632638931274416,
0.007469056129455566,
0.007490560054779053,
0.007507967948913574,
0.0077506561279296875,
0.008266752243041992,
0.008570879936218261,
0.007612415790557861,
0.007481344223022461,
0.007482367992401123,
0.007544832229614258,
0.007546879768371582,
0.007566336154937744,
0.007539680004119873,
0.007863296031951903,
0.007558144092559814,
0.007536640167236328,
0.007527423858642578,
0.007536640167236328,
0.0075038719177246095,
0.007449600219726562,
0.0074414081573486324,
0.0074670081138610836,
0.007448575973510742,
0.007497727870941162,
0.007699456214904785,
0.007706624031066894,
0.007985151767730713,
0.007874559879302979,
0.007702527999877929,
0.008637439727783204,
0.007809023857116699,
0.007741471767425537,
0.007806975841522217,
0.007841856002807616,
0.00759500789642334,
0.007549983978271484,
0.007544832229614258,
0.007512063980102539,
0.0077844481468200685,
0.007546879768371582,
0.0074741759300231934,
0.007584767818450928,
0.0075008001327514645,
0.007544735908508301,
0.007905280113220215,
0.007734272003173828,
0.0077578239440917966,
0.0077578239440917966,
0.007635968208312988,
0.0076973757743835445,
0.007663616180419922,
0.0075939841270446775,
0.007579648017883301,
0.007519231796264648,
0.00748748779296875,
0.007861216068267823,
0.007849984169006348,
0.007654399871826172,
0.00760422420501709,
0.007437312126159668,
0.00745577621459961,
0.007377920150756836,
0.007325695991516113,
0.007450623989105225,
0.007404543876647949,
0.007130112171173096,
0.007124991893768311,
0.00713318395614624,
0.007180287837982178,
0.008083456039428711,
0.007940095901489258,
0.007905280113220215,
0.007989247798919678,
0.007984127998352051,
0.007825407981872558,
0.007840767860412597,
0.007821311950683594,
0.008161279678344726,
0.007461887836456299,
0.007192575931549072,
0.007459839820861816,
0.007443456172943115,
0.00743833589553833,
0.007113664150238037,
0.007135231971740722,
0.007128064155578613,
0.007102464199066162,
0.0072130560874938965,
0.007039999961853028,
0.007023615837097168,
0.007045119762420654,
0.007419904232025146,
0.007250944137573242,
0.007195680141448974,
0.007066624164581299,
0.007047167778015137,
0.007039999961853028,
0.007046144008636474,
0.007009280204772949,
0.007012351989746094,
0.007044095993041993,
0.007041024208068848,
0.007018496036529541,
0.007049215793609619,
0.007024640083312988,
0.007041024208068848,
0.0069928960800170895,
0.007019519805908203,
0.007007232189178467,
0.00703385591506958,
0.007008287906646728,
0.007027711868286133,
0.007041024208068848,
0.007013376235961914,
0.006994944095611572,
0.007000063896179199,
0.007025599956512451,
0.006999040126800537,
0.0069918718338012695,
0.007009280204772949,
0.007044095993041993,
0.007002175807952881
]
},
"throughput": {
"unit": "samples/s",
"value": 133.20044839778436
},
"energy": {
"unit": "kWh",
"cpu": 8.792727932098296e-08,
"ram": 4.807110120859191e-08,
"gpu": 1.598314035851849e-07,
"total": 2.9582978411475976e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3380322.2450788626
}
}
}
}