IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e828346 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.285632,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 719.839232,
"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.12219873046875,
"mean": 7.12219873046875,
"stdev": 0.0,
"p50": 7.12219873046875,
"p90": 7.12219873046875,
"p95": 7.12219873046875,
"p99": 7.12219873046875,
"values": [
7.12219873046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.151203764809503e-07,
"ram": 4.6055306912080595e-07,
"gpu": 0.0,
"total": 1.3756734456017563e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 919.6544,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.996297537326813,
"mean": 0.007379981757976391,
"stdev": 0.0004570566751756666,
"p50": 0.007631872177124023,
"p90": 0.007844044780731202,
"p95": 0.007941631984710693,
"p99": 0.00807374813079834,
"values": [
0.00808140754699707,
0.008058879852294922,
0.008022015571594238,
0.00800767993927002,
0.007945216178894043,
0.00785100793838501,
0.007940095901489258,
0.007762944221496582,
0.007790592193603516,
0.00779366397857666,
0.007797760009765625,
0.007711743831634522,
0.0077506561279296875,
0.007774208068847656,
0.007789567947387695,
0.007833600044250488,
0.007812096118927002,
0.007770112037658691,
0.007729152202606201,
0.007756800174713135,
0.007777279853820801,
0.007819263935089112,
0.00778652811050415,
0.007779327869415284,
0.0077608962059021,
0.007771135807037354,
0.007779327869415284,
0.00774348783493042,
0.007744480133056641,
0.007633920192718506,
0.007671807765960693,
0.007709695816040039,
0.007670783996582031,
0.007711808204650879,
0.007233535766601563,
0.007237631797790528,
0.00728166389465332,
0.007366655826568603,
0.00785920000076294,
0.007747583866119385,
0.007681024074554443,
0.0076912641525268555,
0.007742464065551758,
0.007721983909606934,
0.0077281279563903805,
0.007704576015472412,
0.007711743831634522,
0.007664639949798584,
0.007758848190307617,
0.007712768077850342,
0.0077506561279296875,
0.007641088008880615,
0.007646207809448242,
0.007661568164825439,
0.007679903984069824,
0.007659520149230957,
0.007947264194488525,
0.008289279937744141,
0.007878655910491944,
0.007776256084442139,
0.007856128215789794,
0.007753727912902832,
0.007710720062255859,
0.007741439819335938,
0.007697408199310303,
0.007731200218200684,
0.00760422420501709,
0.007633855819702148,
0.00754585599899292,
0.007591936111450195,
0.007631872177124023,
0.007465983867645264,
0.007304192066192627,
0.007390207767486572,
0.007174143791198731,
0.0074291200637817386,
0.007661568164825439,
0.0074997758865356446,
0.007899136066436767,
0.0076574721336364745,
0.007514111995697022,
0.007364607810974121,
0.0072325119972229,
0.007875552177429199,
0.007172095775604248,
0.006900735855102539,
0.006884352207183838,
0.006892543792724609,
0.00753766393661499,
0.0073266558647155765,
0.0071157760620117185,
0.007145472049713135,
0.007135231971740722,
0.007106560230255127,
0.007013376235961914,
0.006929408073425293,
0.007062528133392334,
0.006730751991271973,
0.0066938881874084475,
0.006756351947784424,
0.006793216228485107,
0.006789120197296142,
0.006774784088134766,
0.006793216228485107,
0.006838272094726563,
0.00672870397567749,
0.006748159885406494,
0.006710271835327148,
0.006860799789428711,
0.006846464157104492,
0.00682700777053833,
0.0068351998329162595,
0.006770688056945801,
0.006776832103729248,
0.006725632190704346,
0.006765567779541016,
0.006761472225189209,
0.0067276802062988285,
0.0067123198509216305,
0.006726655960083008,
0.006715392112731934,
0.006752255916595459,
0.006703104019165039,
0.006721536159515381,
0.006713344097137451,
0.006709248065948486,
0.006723584175109864,
0.006717440128326416,
0.006691840171813965,
0.0067358717918396,
0.006709248065948486,
0.006692863941192627,
0.006713344097137451,
0.00679423999786377,
0.007208960056304932
]
},
"throughput": {
"unit": "samples/s",
"value": 135.50168994919068
},
"energy": {
"unit": "kWh",
"cpu": 8.621513003696374e-08,
"ram": 4.7134604850877317e-08,
"gpu": 1.6283628163767266e-07,
"total": 2.961860165255137e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3376256.6232219785
}
}
}
}