IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7b650b2 verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "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": 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": 1079.35744,
"max_global_vram": 68702.69952,
"max_process_vram": 48137.801728,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.1863681640625,
"mean": 8.1863681640625,
"stdev": 0.0,
"p50": 8.1863681640625,
"p90": 8.1863681640625,
"p95": 8.1863681640625,
"p99": 8.1863681640625,
"values": [
8.1863681640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.924928,
"max_global_vram": 68702.69952,
"max_process_vram": 233088.086016,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0015459885597235,
"mean": 0.007587469610300931,
"stdev": 0.0011117127815998004,
"p50": 0.007448143482208252,
"p90": 0.007858398914337159,
"p95": 0.008322773933410644,
"p99": 0.010610348625183098,
"values": [
0.008061902046203613,
0.007880302906036377,
0.007858542919158936,
0.007440944194793701,
0.007561583042144776,
0.007421103954315186,
0.00841582202911377,
0.007457583904266357,
0.007440783977508545,
0.0074311838150024415,
0.007400303840637207,
0.0074684638977050785,
0.007443344116210938,
0.0176978816986084,
0.002435995101928711,
0.006397746086120606,
0.007472784042358399,
0.007519022941589355,
0.007490064144134521,
0.007509903907775879,
0.007463822841644287,
0.007521584033966065,
0.0074875040054321286,
0.007502223014831543,
0.0074636640548706055,
0.007591824054718018,
0.007517104148864746,
0.007513584136962891,
0.007498063087463379,
0.0074599838256835934,
0.007441264152526855,
0.007465424060821534,
0.007487823009490966,
0.007430384159088135,
0.0074459037780761714,
0.007417903900146484,
0.007438864231109619,
0.007448143005371094,
0.007463183879852295,
0.007450223922729492,
0.007396463871002197,
0.0074617438316345215,
0.007459504127502441,
0.007465104103088379,
0.00741534423828125,
0.007404304027557373,
0.007432784080505371,
0.0074067039489746096,
0.007389584064483643,
0.007418384075164795,
0.007409103870391846,
0.0074327831268310544,
0.0074263839721679685,
0.007397424221038818,
0.007390384197235107,
0.007400623798370361,
0.007413104057312012,
0.007530703067779541,
0.007564943790435791,
0.007435664176940918,
0.007417263984680175,
0.007429423809051513,
0.007426064014434814,
0.0074428639411926265,
0.0074116640090942385,
0.007416944026947022,
0.0074281439781188965,
0.007460624217987061,
0.007436944007873535,
0.007431663990020752,
0.0074459037780761714,
0.007462062835693359,
0.007483664035797119,
0.007482063770294189,
0.0074550237655639645,
0.007467823028564453,
0.007427824020385742,
0.007395503997802734,
0.0074214239120483395,
0.007416463851928711,
0.0074443039894104,
0.007459504127502441,
0.007435664176940918,
0.007431503772735596,
0.007417744159698487,
0.007459982872009278,
0.007469744205474854,
0.007426544189453125,
0.0074348640441894535,
0.007500944137573243,
0.007470064163208008,
0.00744814395904541,
0.0074209442138671875,
0.007400623798370361,
0.007404784202575684,
0.007391344070434571,
0.007373104095458985,
0.007419824123382568,
0.007394703865051269,
0.00738270378112793,
0.007398863792419433,
0.00738270378112793,
0.011596295356750488,
0.004536469936370849,
0.007394703865051269,
0.00742030382156372,
0.007683504104614258,
0.008392460823059082,
0.008314062118530273,
0.008344781875610352,
0.00837710189819336,
0.008010541915893555,
0.007795662879943848,
0.0078044629096984865,
0.007825743198394776,
0.007831822872161866,
0.007857102870941162,
0.00833342170715332,
0.008194222450256347,
0.007800942897796631,
0.007791502952575684,
0.007801103115081787,
0.007777742862701416,
0.007828782081604004,
0.007802223205566406,
0.007824623107910156,
0.00797678279876709,
0.0074593439102172854,
0.007422224044799804,
0.007428463935852051,
0.007396783828735352,
0.0074300642013549805
]
},
"throughput": {
"unit": "samples/s",
"value": 131.79624451376728
},
"energy": null,
"efficiency": null
}
}
}