IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ae4b4af verified
raw
history blame
10.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1385.721856,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.55107666015625,
"mean": 7.55107666015625,
"stdev": 0.0,
"p50": 7.55107666015625,
"p90": 7.55107666015625,
"p95": 7.55107666015625,
"p99": 7.55107666015625,
"values": [
7.55107666015625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1511.600128,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 123,
"total": 0.9967537579536438,
"mean": 0.008103689089054015,
"stdev": 0.0003547586862852718,
"p50": 0.00796621322631836,
"p90": 0.008386563682556152,
"p95": 0.008537842750549317,
"p99": 0.009016686096191407,
"values": [
0.008061893463134765,
0.00808845329284668,
0.008280611991882325,
0.008400932312011718,
0.008691651344299316,
0.008391331672668458,
0.008212451934814452,
0.008326851844787597,
0.008269251823425293,
0.008128613471984862,
0.00806605339050293,
0.00798973321914673,
0.00791309404373169,
0.007949573993682861,
0.00793837308883667,
0.00796621322631836,
0.00798973321914673,
0.007990533828735352,
0.00803005313873291,
0.007999173164367676,
0.007994853019714355,
0.00797613286972046,
0.01107484245300293,
0.008219492912292481,
0.007853253841400147,
0.007894853115081786,
0.007938852787017822,
0.007951333045959472,
0.0081126127243042,
0.00794109296798706,
0.007932612895965576,
0.007983333110809326,
0.007968293190002442,
0.00826941204071045,
0.008364770889282227,
0.008333731651306152,
0.008367491722106933,
0.008293891906738281,
0.008316770553588867,
0.008212773323059083,
0.008326691627502441,
0.008352292060852052,
0.008540130615234376,
0.008251651763916016,
0.008432770729064941,
0.008453731536865234,
0.008568131446838378,
0.008346851348876954,
0.00851725196838379,
0.008501412391662598,
0.008172772407531738,
0.008183012008666992,
0.008176932334899903,
0.008033093452453613,
0.007949892997741698,
0.008103973388671875,
0.007926692962646484,
0.007929732799530029,
0.007948293209075927,
0.008366532325744629,
0.008219812393188477,
0.008081091880798339,
0.007943492889404297,
0.007917893886566161,
0.007911814212799071,
0.007927652835845947,
0.00796893310546875,
0.007947813034057618,
0.007973252773284912,
0.007892133235931397,
0.007931812763214112,
0.007914533138275146,
0.00793613290786743,
0.007927814006805419,
0.007924774169921874,
0.007902052879333496,
0.00792205286026001,
0.007941412925720214,
0.007900932788848876,
0.007922852993011474,
0.007946212768554688,
0.007977413177490235,
0.00794269323348999,
0.007994533061981201,
0.007934853076934815,
0.00799197292327881,
0.007916452884674073,
0.00795357322692871,
0.007965572834014892,
0.007916773796081543,
0.007923813819885253,
0.007902692794799805,
0.007959332942962647,
0.007955973148345947,
0.007925413131713866,
0.007989412784576416,
0.007963172912597656,
0.007908133029937744,
0.007929412841796876,
0.007917092800140382,
0.007944293022155761,
0.007915013790130616,
0.007966214179992676,
0.007963014125823975,
0.007981733798980713,
0.007923813819885253,
0.007939173221588134,
0.007893892765045166,
0.007903013229370117,
0.007875973224639893,
0.007905253887176514,
0.007916133880615234,
0.00791437292098999,
0.00790621280670166,
0.007886693000793457,
0.007926692962646484,
0.007902853965759278,
0.007952453136444092,
0.009024289131164551,
0.008989729881286622,
0.00879180908203125,
0.008328612327575684,
0.008312931060791015
]
},
"throughput": {
"unit": "samples/s",
"value": 123.40058817788814
},
"energy": null,
"efficiency": null
}
}
}