IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8b268e4 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "6",
"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": "warn",
"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]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1078.489088,
"max_global_vram": 68702.69952,
"max_process_vram": 41960.538112,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.7750966796875,
"mean": 8.7750966796875,
"stdev": 0.0,
"p50": 8.7750966796875,
"p90": 8.7750966796875,
"p95": 8.7750966796875,
"p99": 8.7750966796875,
"values": [
8.7750966796875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1195.573248,
"max_global_vram": 68702.69952,
"max_process_vram": 240290.992128,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 131,
"total": 1.0089358258247372,
"mean": 0.007701800197135402,
"stdev": 0.007079858292486259,
"p50": 0.006911046981811523,
"p90": 0.011232489585876465,
"p95": 0.01653897476196289,
"p99": 0.038569524383544884,
"values": [
0.007937928199768067,
0.007977127075195312,
0.007555047035217285,
0.007508327007293701,
0.007465287208557129,
0.00726784610748291,
0.007252167224884034,
0.007573126792907715,
0.007433765888214111,
0.007223845958709717,
0.007112327098846435,
0.007078086853027344,
0.0070516858100891115,
0.007078886985778809,
0.007008327007293701,
0.006936326026916504,
0.006875687122344971,
0.006893606185913086,
0.006944646835327148,
0.006867685794830322,
0.006844487190246582,
0.006930406093597412,
0.006911046981811523,
0.006939526081085205,
0.006930566787719726,
0.008727208137512207,
0.007422886848449707,
0.007776968002319336,
0.007695686817169189,
0.007349287033081055,
0.007416487216949463,
0.007456167221069336,
0.007160487174987793,
0.006852645874023438,
0.007313927173614502,
0.007372326850891113,
0.007772807121276855,
0.007586087226867676,
0.007330087184906006,
0.007085287094116211,
0.007107526779174805,
0.006865446090698242,
0.006897286891937256,
0.0071163268089294435,
0.006896006107330322,
0.0068582468032836914,
0.006909605979919434,
0.006873766899108887,
0.0072884860038757325,
0.006844167232513428,
0.006869766235351562,
0.007057446956634522,
0.007023527145385742,
0.007039045810699463,
0.006880806922912598,
0.006863046169281006,
0.006970407009124756,
0.006873606204986572,
0.006907687187194824,
0.007039045810699463,
0.006907845973968506,
0.0068811259269714355,
0.006886566162109375,
0.006947047233581543,
0.006863046169281006,
0.0068859272003173825,
0.0068780860900878905,
0.006828005790710449,
0.0068475260734558105,
0.006910726070404053,
0.006868007183074951,
0.006858086109161377,
0.006883047103881836,
0.006883366107940674,
0.006874086856842041,
0.0073035268783569335,
0.006874725818634033,
0.023183542251586912,
0.013013932228088379,
0.010873130798339844,
0.055753650665283205,
0.011832011222839356,
0.0023704020977020263,
0.013508652687072754,
0.0023768019676208498,
0.0022452819347381593,
0.0022387220859527586,
0.0022387230396270752,
0.0022456018924713133,
0.0022417619228363036,
0.0022353620529174806,
0.0022496020793914794,
0.03448467254638672,
0.03637555694580078,
0.0023187220096588133,
0.0022446420192718504,
0.0022372820377349854,
0.0022414419651031496,
0.0022417619228363036,
0.0022667219638824463,
0.0022441620826721192,
0.0022267229557037353,
0.002251041889190674,
0.0022332820892333985,
0.002236802101135254,
0.003003523111343384,
0.016405134201049804,
0.0022915220260620118,
0.006866086959838867,
0.03950979614257812,
0.0022424020767211916,
0.002411521911621094,
0.002298082113265991,
0.0022579228878021242,
0.013848012924194335,
0.011232489585876465,
0.002359682083129883,
0.0022398419380187987,
0.01577969455718994,
0.0025764830112457275,
0.016672815322875977,
0.0023721630573272706,
0.002929922103881836,
0.007788167953491211,
0.0077531270980834965,
0.007729607105255127,
0.0077968077659606935,
0.008069127082824708,
0.007679048061370849,
0.01975777816772461,
0.0023769609928131104
]
},
"throughput": {
"unit": "samples/s",
"value": 129.8397743909195
},
"energy": null,
"efficiency": null
}
}
}