IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e9e33ea verified
raw
history blame
10.5 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",
"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.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": 907.730944,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9966865630149844,
"mean": 0.007382863429740623,
"stdev": 0.00023323897473975512,
"p50": 0.00743936014175415,
"p90": 0.0076214271545410155,
"p95": 0.00769075198173523,
"p99": 0.008025354013442992,
"values": [
0.008133631706237793,
0.007622655868530274,
0.007781375885009765,
0.007776256084442139,
0.007686143875122071,
0.007701504230499268,
0.007650303840637207,
0.00759603214263916,
0.007522304058074952,
0.0075304961204528805,
0.007561215877532959,
0.007544832229614258,
0.007514111995697022,
0.007490528106689453,
0.007505919933319092,
0.007507967948913574,
0.0074967041015625,
0.007679999828338623,
0.007532544136047363,
0.00757040023803711,
0.007514111995697022,
0.007507967948913574,
0.00758681583404541,
0.007540736198425293,
0.007514175891876221,
0.0075008001327514645,
0.007507904052734375,
0.0075304961204528805,
0.007588863849639893,
0.007520256042480469,
0.007815167903900147,
0.007513088226318359,
0.007430079936981201,
0.007437312126159668,
0.007428095817565918,
0.007427072048187256,
0.0074291200637817386,
0.007513088226318359,
0.007511040210723877,
0.007572480201721191,
0.007549952030181885,
0.0075632638931274416,
0.007526400089263916,
0.00743936014175415,
0.0074414081573486324,
0.007524352073669433,
0.007526400089263916,
0.007512063980102539,
0.007479296207427978,
0.0074997758865356446,
0.0074291200637817386,
0.007464928150177002,
0.007442431926727295,
0.007475200176239013,
0.00752019214630127,
0.007429056167602539,
0.007415808200836181,
0.00743833589553833,
0.007459839820861816,
0.007427072048187256,
0.007427072048187256,
0.007469151973724365,
0.007478271961212158,
0.007546879768371582,
0.007619584083557129,
0.007552000045776367,
0.008236031532287597,
0.007517183780670166,
0.007535615921020508,
0.007511040210723877,
0.007460864067077637,
0.007486464023590088,
0.007401472091674805,
0.007294976234436036,
0.007243775844573975,
0.0074414081573486324,
0.007277567863464355,
0.007088128089904785,
0.007113728046417236,
0.00722431993484497,
0.007580671787261963,
0.007628767967224121,
0.0076267199516296385,
0.007643136024475097,
0.007561215877532959,
0.0077097277641296385,
0.007427072048187256,
0.00734822416305542,
0.007373824119567871,
0.007366655826568603,
0.007342080116271973,
0.007208960056304932,
0.007157760143280029,
0.007073791980743408,
0.0071157760620117185,
0.007077888011932373,
0.007068672180175781,
0.007104512214660645,
0.007130112171173096,
0.007081984043121338,
0.007087103843688965,
0.007069695949554444,
0.007090176105499267,
0.007074816226959229,
0.007070720195770264,
0.007057407855987549,
0.007048192024230957,
0.0070677118301391605,
0.0070860800743103025,
0.007032832145690918,
0.007206912040710449,
0.007252992153167725,
0.007305215835571289,
0.00728166389465332,
0.007093247890472412,
0.007090176105499267,
0.00709222412109375,
0.007145472049713135,
0.007103487968444824,
0.007103360176086425,
0.007098368167877197,
0.007079936027526855,
0.007109632015228271,
0.0070891518592834475,
0.007066624164581299,
0.007117824077606201,
0.00733900785446167,
0.007080959796905518,
0.007030784130096435,
0.00709222412109375,
0.007027711868286133,
0.007051263809204102,
0.007105535984039306,
0.007070720195770264,
0.0070563840866088865
]
},
"throughput": {
"unit": "samples/s",
"value": 135.44880106703155
},
"energy": {
"unit": "kWh",
"cpu": 8.3733769789548e-08,
"ram": 4.5774286007426654e-08,
"gpu": 1.56187527140845e-07,
"total": 2.856955829378196e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3500229.124010103
}
}
}
}