IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8fdb661 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "77ca106f4cf33f416814fc4a120313d806701176",
"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": 902.156288,
"max_global_vram": 3128.38144,
"max_process_vram": 42801.553408,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.01131689453125,
"mean": 7.01131689453125,
"stdev": 0.0,
"p50": 7.01131689453125,
"p90": 7.01131689453125,
"p95": 7.01131689453125,
"p99": 7.01131689453125,
"values": [
7.01131689453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1011.933184,
"max_global_vram": 3184.88576,
"max_process_vram": 226688.475136,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9973096351623537,
"mean": 0.007387478778980395,
"stdev": 0.00033195073089233224,
"p50": 0.007211185932159424,
"p90": 0.007932177066802978,
"p95": 0.008119073295593261,
"p99": 0.008418399753570557,
"values": [
0.00854270362854004,
0.008163503646850586,
0.008154065132141113,
0.008101743698120117,
0.008020145416259766,
0.00791950511932373,
0.007947185039520265,
0.007936785221099854,
0.0076775851249694825,
0.007664626121520996,
0.0077276649475097655,
0.007631346225738526,
0.007518385887145996,
0.007554386138916016,
0.007528945922851562,
0.007438066005706787,
0.007486705780029297,
0.007403985977172851,
0.007442066192626953,
0.0074631857872009275,
0.007507026195526123,
0.007543025016784668,
0.0074455862045288085,
0.007529905796051025,
0.007594224929809571,
0.0077567858695983885,
0.007429746150970459,
0.008749743461608887,
0.007587026119232178,
0.007327987194061279,
0.00744286584854126,
0.007137746810913086,
0.00728398609161377,
0.007295506000518799,
0.007160306930541992,
0.007132145881652832,
0.007121427059173584,
0.007343505859375,
0.007143986225128174,
0.007144786834716797,
0.007360626220703125,
0.0071358270645141605,
0.007130705833435059,
0.007146546840667725,
0.007144465923309327,
0.007138707160949707,
0.0071422262191772464,
0.007346866130828858,
0.007146546840667725,
0.007143826007843018,
0.007129745960235596,
0.0071479868888854985,
0.0071689457893371585,
0.007135026931762696,
0.007169745922088623,
0.00716974687576294,
0.007153266906738281,
0.007143025875091553,
0.007166707038879395,
0.007144946098327637,
0.007179027080535889,
0.007161426067352295,
0.007123507022857666,
0.007143667221069336,
0.007154225826263428,
0.007148467063903809,
0.007190546035766601,
0.007153747081756592,
0.007163825988769531,
0.007156146049499512,
0.0071719870567321774,
0.00714478588104248,
0.007137746810913086,
0.007135025978088379,
0.007175187110900879,
0.0071767868995666504,
0.007116305828094483,
0.007140946865081787,
0.00716926622390747,
0.007158866882324219,
0.007157586097717285,
0.007145586013793945,
0.0071854271888732914,
0.0071574258804321285,
0.007123507022857666,
0.007139185905456543,
0.0071486268043518065,
0.007163665771484375,
0.007180945873260498,
0.007141107082366943,
0.007166386127471924,
0.007125747203826904,
0.00714094591140747,
0.00715166711807251,
0.0071892662048339846,
0.007178865909576416,
0.007364146232604981,
0.008096944808959962,
0.008133745193481446,
0.008097265243530273,
0.007925264835357666,
0.0075769457817077635,
0.007563024997711182,
0.008112785339355468,
0.007566064834594727,
0.007665105819702148,
0.007669585227966309,
0.007649425983428955,
0.007609425067901611,
0.00758478593826294,
0.007390706062316894,
0.007195345878601074,
0.007197267055511475,
0.007211185932159424,
0.007190865993499756,
0.007210227012634277,
0.007259346008300781,
0.007211185932159424,
0.007183187007904053,
0.007217426776885986,
0.007241106033325196,
0.007244946002960205,
0.00723518705368042,
0.007245905876159668,
0.007201745986938477,
0.0072259058952331544,
0.007255826950073242,
0.007238386154174804,
0.007195826053619385,
0.0074809460639953616,
0.007481105804443359,
0.007467666149139404,
0.00762046480178833,
0.008153424263000489,
0.008177103996276856
]
},
"throughput": {
"unit": "samples/s",
"value": 135.36417902753257
},
"energy": null,
"efficiency": null
}
}
}