IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e272bc0 verified
raw
history blame
10.4 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.628544,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.9974459214210512,
"mean": 0.007672660934008086,
"stdev": 0.00023803479236164172,
"p50": 0.00769433617591858,
"p90": 0.007986380815505982,
"p95": 0.008028876876831055,
"p99": 0.008217341632843017,
"values": [
0.008246272087097169,
0.007711743831634522,
0.00800051212310791,
0.008154111862182617,
0.008035327911376953,
0.007986176013946533,
0.007988255977630615,
0.007904255867004394,
0.008099840164184571,
0.007848959922790527,
0.007781375885009765,
0.007786496162414551,
0.007862271785736084,
0.008020992279052735,
0.007948287963867188,
0.007864319801330566,
0.007834591865539552,
0.00785920000076294,
0.007998464107513427,
0.00796569585800171,
0.00788479995727539,
0.007862271785736084,
0.007866399765014648,
0.00790835189819336,
0.00785203218460083,
0.007838719844818116,
0.007786496162414551,
0.007823359966278077,
0.007845888137817383,
0.007856128215789794,
0.007880703926086426,
0.008045568466186523,
0.007921664237976075,
0.007879680156707763,
0.00795136022567749,
0.007928832054138184,
0.008069120407104492,
0.007880703926086426,
0.007798783779144287,
0.007786496162414551,
0.007776288032531739,
0.00791756820678711,
0.007814144134521485,
0.007853055953979492,
0.0077926721572875975,
0.007816192150115966,
0.007771135807037354,
0.007808032035827636,
0.00791756820678711,
0.007954432010650634,
0.007988224029541016,
0.007880703926086426,
0.007865344047546387,
0.007795711994171142,
0.00788479995727539,
0.007817215919494629,
0.007699456214904785,
0.007845888137817383,
0.007803904056549072,
0.007689216136932373,
0.007527423858642578,
0.00743936014175415,
0.00753766393661499,
0.007769087791442871,
0.0077916159629821775,
0.007897088050842285,
0.007879680156707763,
0.007995391845703125,
0.008243167877197265,
0.007531583786010742,
0.0074414081573486324,
0.007414783954620361,
0.007444479942321777,
0.007461887836456299,
0.007435264110565186,
0.0074486079216003415,
0.007432191848754883,
0.007489535808563232,
0.007485439777374267,
0.007400447845458984,
0.00742406415939331,
0.0074065918922424315,
0.007435200214385987,
0.007480319976806641,
0.007388160228729248,
0.0074414081573486324,
0.007398399829864502,
0.007419904232025146,
0.0074741759300231934,
0.007515135765075683,
0.007416831970214844,
0.007419904232025146,
0.007420928001403809,
0.00740556812286377,
0.007427072048187256,
0.007518208026885987,
0.007519231796264648,
0.007513088226318359,
0.007483391761779785,
0.007502848148345947,
0.0074291200637817386,
0.00747321605682373,
0.007541759967803955,
0.007484416007995606,
0.007417856216430664,
0.0075335679054260255,
0.007413760185241699,
0.007455808162689209,
0.007418879985809326,
0.007478271961212158,
0.007366655826568603,
0.007411712169647216,
0.007436287879943848,
0.007447519779205322,
0.007460864067077637,
0.00742195177078247,
0.0074291200637817386,
0.007402495861053467,
0.007415808200836181,
0.007425024032592774,
0.007426047801971435,
0.0074035201072692874,
0.0074291200637817386,
0.007475200176239013,
0.0074106879234313965,
0.007507967948913574,
0.007408639907836914,
0.007386112213134765,
0.007407616138458252,
0.007394303798675537
]
},
"throughput": {
"unit": "samples/s",
"value": 130.33288041800833
},
"energy": {
"unit": "kWh",
"cpu": 8.730021201901966e-08,
"ram": 4.7729423452919405e-08,
"gpu": 1.5889718594117688e-07,
"total": 2.939268214131159e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3402207.376626218
}
}
}
}