IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
69864b7 verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"hub_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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-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.3.1",
"optimum_benchmark_commit": "e291e9b18cfb323457af60f15f2bb33803718668",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 900.292608,
"max_global_vram": 841.773056,
"max_process_vram": 45397.17632,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.23818798828125,
"mean": 7.23818798828125,
"stdev": 0.0,
"p50": 7.23818798828125,
"p90": 7.23818798828125,
"p95": 7.23818798828125,
"p99": 7.23818798828125,
"values": [
7.23818798828125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1014.452224,
"max_global_vram": 896.950272,
"max_process_vram": 238633.570304,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 123,
"total": 1.0012223377227785,
"mean": 0.008140019005876247,
"stdev": 0.00038113709791577546,
"p50": 0.007995547771453858,
"p90": 0.008694782257080078,
"p95": 0.008809471225738524,
"p99": 0.009135515995025635,
"values": [
0.008510588645935058,
0.008659870147705077,
0.008864830017089844,
0.008890910148620606,
0.008783551216125488,
0.008748669624328614,
0.008714590072631836,
0.008512668609619141,
0.00868163013458252,
0.00865330982208252,
0.008613149642944335,
0.008347068786621094,
0.008274588584899902,
0.008428668975830078,
0.008424348831176758,
0.008501950263977051,
0.008510269165039063,
0.008455389022827149,
0.00856739044189453,
0.00869795036315918,
0.008682109832763673,
0.00881235122680664,
0.008760029792785645,
0.00915843105316162,
0.009054271697998047,
0.008857629776000976,
0.008714269638061524,
0.008590749740600586,
0.008544988632202148,
0.008487869262695312,
0.008354429244995118,
0.008285948753356934,
0.008256668090820313,
0.00824258804321289,
0.008247709274291993,
0.008246108055114746,
0.009896674156188966,
0.008369309425354004,
0.008015868186950683,
0.007966267108917237,
0.007987708091735839,
0.007953146934509277,
0.007998908042907715,
0.007985628128051758,
0.007960667133331299,
0.007986587047576904,
0.0079440279006958,
0.007974906921386719,
0.008017947196960449,
0.00805490779876709,
0.008016668319702148,
0.007960668087005615,
0.007924507141113282,
0.007993308067321778,
0.007932507038116455,
0.007954106807708741,
0.007968507766723632,
0.00792466688156128,
0.00797138786315918,
0.007994748115539551,
0.008015067100524902,
0.008003706932067872,
0.00803138828277588,
0.007992668151855469,
0.007974267959594727,
0.008073307991027833,
0.007971547126770019,
0.007992026805877685,
0.007995547771453858,
0.00799202823638916,
0.007978746891021729,
0.008002107620239257,
0.008029948234558106,
0.00798338794708252,
0.007994747161865235,
0.00799442720413208,
0.007963228225708007,
0.007891226768493652,
0.008050747871398926,
0.008021468162536622,
0.007490426063537598,
0.007496985912322998,
0.008014747619628906,
0.008026588439941406,
0.007829786777496338,
0.00769698715209961,
0.007501626014709472,
0.007609466075897217,
0.007551546096801758,
0.0074217848777771,
0.007824986934661866,
0.008035708427429199,
0.007571547031402588,
0.007607545852661133,
0.007800666809082031,
0.00785970687866211,
0.00760370683670044,
0.007897946834564209,
0.007987867832183838,
0.008044987678527833,
0.008006908416748048,
0.007964827060699464,
0.007936028003692627,
0.007997148036956787,
0.007921467781066895,
0.008039707183837891,
0.007986426830291748,
0.008008667945861817,
0.00798338794708252,
0.00796226692199707,
0.007963548183441162,
0.008013948440551758,
0.007939227104187012,
0.007963706970214843,
0.007982108116149902,
0.007992988109588622,
0.008049786567687988,
0.007945947170257569,
0.007954748153686523,
0.007941627025604248,
0.007985628128051758,
0.0079757080078125,
0.007989146232604981
]
},
"throughput": {
"unit": "samples/s",
"value": 122.84983601120636
},
"energy": null,
"efficiency": null
}
}
}