IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2360d53 verified
raw
history blame
11.8 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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1109.757952,
"max_global_vram": 68702.69952,
"max_process_vram": 4794.380288,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.10440593719482422
],
"count": 1,
"total": 0.10440593719482422,
"mean": 0.10440593719482422,
"p50": 0.10440593719482422,
"p90": 0.10440593719482422,
"p95": 0.10440593719482422,
"p99": 0.10440593719482422,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1227.063296,
"max_global_vram": 68702.69952,
"max_process_vram": 222650.740736,
"max_reserved": 555.74528,
"max_allocated": 500.456448
},
"latency": {
"unit": "s",
"values": [
0.007482847213745117,
0.007073089122772217,
0.007064127922058105,
0.007084928035736084,
0.007051807880401611,
0.007069087982177734,
0.007070847988128662,
0.007112448215484619,
0.007129248142242432,
0.007104127883911133,
0.007073567867279053,
0.00715180778503418,
0.0071047677993774415,
0.007087967872619629,
0.007102848052978516,
0.007103968143463135,
0.007089248180389404,
0.007088128089904785,
0.01991975212097168,
0.00768780517578125,
0.007124608039855957,
0.007161087989807129,
0.007105247974395752,
0.007168928146362305,
0.007102047920227051,
0.00713708782196045,
0.00708684778213501,
0.007154208183288574,
0.007164766788482666,
0.007131328105926513,
0.007084288120269775,
0.007121568202972412,
0.007116288185119629,
0.007128608226776123,
0.007125088214874268,
0.007186528205871582,
0.007090367794036865,
0.007144608020782471,
0.007059487819671631,
0.007115488052368164,
0.00711740779876709,
0.007154528141021728,
0.007140607833862305,
0.007152927875518799,
0.007130208015441894,
0.007097248077392578,
0.007308927059173584,
0.007177887916564941,
0.007139328002929687,
0.0071140480041503905,
0.007130847930908203,
0.007153247833251953,
0.007148608207702637,
0.007129568099975586,
0.007086528778076172,
0.007122047901153564,
0.00709388780593872,
0.007086527824401855,
0.0071018881797790525,
0.007103487968444824,
0.0070830078125,
0.007059488773345947,
0.007072769165039063,
0.007151806831359863,
0.007095967769622803,
0.007091328144073487,
0.007075809001922608,
0.008075484275817871,
0.008018363952636718,
0.008030364036560059,
0.008025883674621582,
0.008055964469909667,
0.008012603759765625,
0.00791676378250122,
0.007401566982269287,
0.007385406970977783,
0.007417565822601319,
0.007977084159851074,
0.007998844146728516,
0.00810348415374756,
0.008023324012756348,
0.007991963863372803,
0.008039963722229005,
0.008025403976440429,
0.00800140380859375,
0.007691804885864258,
0.007529406070709228,
0.0073356471061706546,
0.007389407157897949,
0.0071140480041503905,
0.007111328125,
0.007142528057098389,
0.007065729141235351,
0.007083168983459473,
0.007123968124389648,
0.007101408004760742,
0.007119328022003174,
0.007100287914276123,
0.007111487865447998,
0.007127007961273193,
0.007147966861724853,
0.007130688190460205,
0.007116447925567627,
0.007163328170776367,
0.007167168140411377,
0.007151328086853028,
0.007125408172607422,
0.00713100814819336,
0.007089888095855713,
0.007089087963104248,
0.007094848155975342,
0.007098207950592041,
0.007079648017883301,
0.007099487781524658,
0.007093408107757568,
0.007130688190460205,
0.0071023678779602055,
0.007102687835693359,
0.007090528011322022,
0.0071212477684021,
0.007125088214874268,
0.007071969032287598,
0.007075808048248291,
0.007126848220825196,
0.007103808879852295,
0.0070998091697692875,
0.007097408771514892,
0.0071378879547119144,
0.007102687835693359,
0.007075327873229981,
0.007081888198852539,
0.007143008232116699,
0.007376925945281982,
0.007135168075561523,
0.007076608180999756,
0.007105247974395752
],
"count": 136,
"total": 0.9973897628784177,
"mean": 0.007333748256458957,
"p50": 0.007121808052062988,
"p90": 0.007984524011611939,
"p95": 0.008025523900985716,
"p99": 0.008093684196472169,
"stdev": 0.001122294611053683,
"stdev_": 15.303151564621256
},
"throughput": {
"unit": "samples/s",
"value": 272.71184257498425
},
"energy": null,
"efficiency": null
}
}
}