IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
91cdb67 verified
raw
history blame
11.6 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": 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.451648,
"max_global_vram": 68702.69952,
"max_process_vram": 45551.120384,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.1298291015625,
"mean": 9.1298291015625,
"stdev": 0.0,
"p50": 9.1298291015625,
"p90": 9.1298291015625,
"p95": 9.1298291015625,
"p99": 9.1298291015625,
"values": [
9.1298291015625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.3392,
"max_global_vram": 68702.69952,
"max_process_vram": 245038.276608,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.994468560695648,
"mean": 0.007312268828644472,
"stdev": 0.0007439061480028306,
"p50": 0.007196851015090943,
"p90": 0.0077916493415832525,
"p95": 0.007873968958854675,
"p99": 0.009682482337951673,
"values": [
0.008052449226379394,
0.007956608772277832,
0.008008607864379883,
0.007699810028076172,
0.007787008762359619,
0.0075722899436950685,
0.007326210975646973,
0.007537889957427979,
0.007362851142883301,
0.007248291969299317,
0.00704045295715332,
0.007058532238006592,
0.007039011955261231,
0.007055491924285889,
0.007041091918945312,
0.006993093013763428,
0.00722157096862793,
0.0073378911018371585,
0.00721533203125,
0.007035973072052002,
0.007043012142181396,
0.007192931175231934,
0.007025092124938965,
0.006994372844696045,
0.007038211822509766,
0.007042692184448242,
0.00699373197555542,
0.007002693176269531,
0.010495319366455078,
0.007479489803314209,
0.007088932037353515,
0.014008264541625976,
0.0048177409172058105,
0.006863333225250244,
0.007031332015991211,
0.007175971984863281,
0.0072007708549499515,
0.007215491771697998,
0.007086532115936279,
0.007311330795288086,
0.0073023710250854496,
0.007210852146148682,
0.007115332126617432,
0.007128611087799073,
0.0069961328506469725,
0.007015332221984864,
0.007319971084594727,
0.007333090782165527,
0.00711597204208374,
0.007129891872406006,
0.007396931171417236,
0.007120932102203369,
0.007296290874481201,
0.007083812236785889,
0.0069553332328796385,
0.006928452014923096,
0.007147972106933594,
0.006899652957916259,
0.0069265332221984865,
0.006888933181762695,
0.006985092163085937,
0.00691005277633667,
0.0069474921226501465,
0.006955973148345947,
0.006934051990509033,
0.006987652778625488,
0.0069450922012329105,
0.006957892894744873,
0.0070118122100830075,
0.007546209812164307,
0.007817248821258544,
0.007789248943328857,
0.0077951688766479494,
0.007792769908905029,
0.007423330783843994,
0.007167491912841797,
0.007259331226348877,
0.007274850845336914,
0.007282051086425781,
0.007225411891937256,
0.007209731101989746,
0.007384611129760742,
0.0076359701156616215,
0.007779328823089599,
0.007790528774261475,
0.00782844877243042,
0.007596930027008056,
0.007438371181488037,
0.007468130111694336,
0.007560450077056885,
0.007872128963470459,
0.007817089080810547,
0.007822049140930177,
0.007764608860015869,
0.007338850975036621,
0.0072465319633483885,
0.007265410900115967,
0.007283811092376709,
0.007248130798339844,
0.007053412914276123,
0.006959972858428955,
0.006920773029327393,
0.007095492839813232,
0.006999652862548828,
0.006899013042449951,
0.006916933059692383,
0.006948451995849609,
0.007235971927642823,
0.006933093070983887,
0.006915173053741455,
0.0069812521934509274,
0.006957252979278564,
0.0069343729019165036,
0.006936613082885742,
0.006932452201843262,
0.006931653022766113,
0.00695549201965332,
0.006940453052520752,
0.006913412094116211,
0.006939173221588135,
0.007008771896362304,
0.006968772888183593,
0.006973252773284912,
0.007519969940185547,
0.007788768768310547,
0.007786049842834473,
0.007879488945007325,
0.008172927856445312,
0.007759008884429932,
0.00775501012802124,
0.0076457300186157226,
0.007206532001495361,
0.007315330982208252,
0.0073596510887146,
0.007348770141601562,
0.007311011791229248
]
},
"throughput": {
"unit": "samples/s",
"value": 136.75646005829046
},
"energy": null,
"efficiency": null
}
}
}