IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a557ba6 verified
raw
history blame
10.1 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": {},
"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": 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": "41836e67badc33c5e7a42b3b53f44695ff51963e",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.319936,
"max_global_vram": 898.449408,
"max_process_vram": 222723.448832,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.001522861003876,
"mean": 0.00782439735159278,
"stdev": 0.00046426123834247514,
"p50": 0.0075698869228363035,
"p90": 0.008418379974365234,
"p95": 0.00852304301261902,
"p99": 0.008806413192749024,
"values": [
0.007608127117156982,
0.0074462080001831054,
0.007671327114105225,
0.007402527809143067,
0.007419167995452881,
0.00738812780380249,
0.007458047866821289,
0.007548127174377441,
0.007567007064819336,
0.007529568195343017,
0.007453886985778808,
0.007428287982940674,
0.007431488037109375,
0.007392288208007813,
0.007428127765655518,
0.007370528221130371,
0.007764766216278076,
0.007465407848358154,
0.007438686847686768,
0.007476448059082031,
0.007448287010192871,
0.007865086078643798,
0.008338844299316406,
0.008336443901062012,
0.008369403839111328,
0.008403643608093262,
0.008418044090270997,
0.008372604370117187,
0.008366844177246095,
0.008440603256225586,
0.008432764053344727,
0.00832412338256836,
0.008351163864135742,
0.008399964332580567,
0.008508443832397461,
0.008760601997375488,
0.008823001861572265,
0.00876156234741211,
0.008615002632141114,
0.008522522926330567,
0.008561722755432129,
0.008523323059082032,
0.008431002616882325,
0.008419163703918457,
0.008382523536682129,
0.008351484298706054,
0.00833132266998291,
0.008352284431457519,
0.00839388370513916,
0.008387164115905761,
0.00841212272644043,
0.008365723609924316,
0.008402843475341797,
0.008376443862915039,
0.008292444229125976,
0.008378522872924805,
0.008405243873596192,
0.007715166091918945,
0.007567646980285644,
0.007597887039184571,
0.007582527160644531,
0.007700767040252686,
0.007572126865386963,
0.007546206951141357,
0.010021236419677735,
0.00836204433441162,
0.007536608219146729,
0.007563326835632324,
0.00741596794128418,
0.007454527854919434,
0.007724287033081055,
0.007502048015594482,
0.0076255669593811035,
0.007471646785736084,
0.007536127090454102,
0.0074767680168151855,
0.007419167995452881,
0.007436287879943848,
0.0076898870468139644,
0.007508767127990723,
0.007646206855773926,
0.007492607116699219,
0.007507008075714111,
0.007500448226928711,
0.007479806900024414,
0.007603167057037353,
0.00750812816619873,
0.007482526779174804,
0.007494207859039307,
0.007535967826843262,
0.007511326789855957,
0.00746668815612793,
0.007453887939453125,
0.007447167873382569,
0.00752476692199707,
0.007446688175201416,
0.007529727935791016,
0.007497567176818848,
0.007503967761993408,
0.007517407894134522,
0.00749196720123291,
0.007509568214416504,
0.007502687931060791,
0.007530847072601318,
0.00733900785446167,
0.007487167835235595,
0.007526846885681152,
0.0075063672065734865,
0.007457888126373291,
0.007439167976379395,
0.007490046977996826,
0.007499327182769775,
0.007493087768554688,
0.007507486820220947,
0.00758540678024292,
0.007616766929626465,
0.007579647064208985,
0.00751772689819336,
0.007940125942230225,
0.008403802871704101,
0.008044283866882324,
0.00780556583404541,
0.007832925796508789,
0.007825406074523925,
0.007814206123352051,
0.007839645862579346,
0.00783388614654541,
0.007611806869506836
]
},
"throughput": {
"unit": "samples/s",
"value": 127.80537018565835
},
"energy": null,
"efficiency": null
}
}
}