IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c8a1773 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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 908.791808,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9972783656120301,
"mean": 0.007442375862776344,
"stdev": 0.0006729317768407098,
"p50": 0.007189503908157348,
"p90": 0.007636889410018921,
"p95": 0.00880588812828064,
"p99": 0.010332610874176024,
"values": [
0.01092300796508789,
0.010377216339111327,
0.01022156810760498,
0.010242048263549805,
0.01021132755279541,
0.009382911682128906,
0.0077669119834899904,
0.008253439903259278,
0.0073359360694885255,
0.0071905279159545895,
0.007132224082946777,
0.007144447803497315,
0.007146495819091797,
0.007188479900360107,
0.007157760143280029,
0.007154687881469727,
0.007113728046417236,
0.007173120021820068,
0.007154687881469727,
0.007200767993927002,
0.0071905279159545895,
0.00714137601852417,
0.0071393918991088864,
0.007151616096496582,
0.007156735897064209,
0.007104512214660645,
0.007121920108795166,
0.007174143791198731,
0.007159808158874512,
0.00719974422454834,
0.007131135940551757,
0.007205887794494629,
0.007391232013702393,
0.007404543876647949,
0.007153664112091064,
0.007108607769012451,
0.007121984004974365,
0.007168000221252442,
0.007130112171173096,
0.00722441577911377,
0.007134208202362061,
0.007175168037414551,
0.007122047901153564,
0.007152480125427246,
0.007126016139984131,
0.007049215793609619,
0.007098368167877197,
0.007074816226959229,
0.007251967906951904,
0.0070553598403930665,
0.007047167778015137,
0.00710041618347168,
0.007122943878173828,
0.007139328002929687,
0.007117824077606201,
0.007104479789733887,
0.00714035177230835,
0.007173120021820068,
0.00703385591506958,
0.007105535984039306,
0.007085055828094483,
0.007169023990631103,
0.007156735897064209,
0.007105535984039306,
0.007124032020568848,
0.007070720195770264,
0.007713791847229004,
0.00708403205871582,
0.007058432102203369,
0.007126016139984131,
0.007151616096496582,
0.007157760143280029,
0.007153664112091064,
0.007154687881469727,
0.007124991893768311,
0.007150591850280762,
0.007095295906066895,
0.007156735897064209,
0.007142399787902832,
0.007138304233551026,
0.007151616096496582,
0.007192575931549072,
0.007114751815795899,
0.007131135940551757,
0.0070563840866088865,
0.007063551902770996,
0.007054336071014404,
0.007464799880981445,
0.007526400089263916,
0.0073851199150085445,
0.007414783954620361,
0.007463935852050781,
0.007476287841796875,
0.007456768035888672,
0.007624703884124756,
0.00759603214263916,
0.008812543869018554,
0.008802304267883301,
0.008266752243041992,
0.00759500789642334,
0.007642111778259277,
0.007684095859527588,
0.007610367774963379,
0.0075939841270446775,
0.007520256042480469,
0.007414783954620361,
0.007298975944519043,
0.007364416122436523,
0.0074967041015625,
0.007482367992401123,
0.007448575973510742,
0.007517183780670166,
0.007412735939025879,
0.007415775775909424,
0.007488512039184571,
0.007492640018463135,
0.007547904014587403,
0.007535615921020508,
0.007515103816986084,
0.00753766393661499,
0.007512063980102539,
0.007469056129455566,
0.007472127914428711,
0.007472095966339111,
0.007507967948913574,
0.007557119846343994,
0.007510015964508057,
0.007444384098052978,
0.0074291200637817386,
0.007434239864349365,
0.0072724480628967286,
0.007353343963623047,
0.007312384128570557,
0.007367680072784424
]
},
"throughput": {
"unit": "samples/s",
"value": 134.36569429415442
},
"energy": {
"unit": "kWh",
"cpu": 8.774418276523858e-08,
"ram": 4.7966484885869755e-08,
"gpu": 1.5749806838518408e-07,
"total": 2.9320873603629243e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3410539.581863697
}
}
}
}