IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2c2c5bd verified
raw
history blame
9.98 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": "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,
"latency": true,
"memory": 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",
"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.2.1",
"optimum_benchmark_commit": "0b24af9d7b7751f74b160dfade73ef78e10964d6",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1007.751168,
"max_global_vram": 3096.109056,
"max_process_vram": 226138.472448,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.0010291256904604,
"mean": 0.00782054004445672,
"stdev": 0.0003061879459969968,
"p50": 0.007932458877563477,
"p90": 0.007997547149658203,
"p95": 0.008023300218582153,
"p99": 0.008635861606597904,
"values": [
0.00910093593597412,
0.008050379753112792,
0.007981419086456299,
0.007973259925842285,
0.007990378856658936,
0.007971660137176513,
0.007894859790802003,
0.007961739063262939,
0.008031820297241211,
0.007929580211639404,
0.007922860145568847,
0.00800973892211914,
0.007980939865112304,
0.007961419105529785,
0.00797629976272583,
0.007973899841308594,
0.007969260215759277,
0.007911980152130127,
0.007909419059753418,
0.00793533992767334,
0.007932139873504638,
0.007932458877563477,
0.007958539962768555,
0.00791230010986328,
0.007957738876342773,
0.007900619983673095,
0.007935019969940185,
0.00788238000869751,
0.007917739868164063,
0.007903019905090332,
0.007681900024414062,
0.00781470012664795,
0.007464301109313965,
0.007424941062927246,
0.007389581203460694,
0.007956618785858155,
0.00785998010635376,
0.007977739810943603,
0.007955338954925537,
0.007930220127105713,
0.007895820140838623,
0.007947020053863526,
0.007946218967437744,
0.00793101978302002,
0.00798061990737915,
0.00797134017944336,
0.007991179943084717,
0.0077468609809875485,
0.00743726110458374,
0.0072758221626281734,
0.007473580837249756,
0.007516139984130859,
0.007603500843048096,
0.007939819812774657,
0.007950860023498535,
0.007948299884796143,
0.007941419124603272,
0.00791726016998291,
0.007953259944915771,
0.007943659782409669,
0.007949580192565918,
0.007939818859100342,
0.007923500061035156,
0.00796430015563965,
0.007910059928894044,
0.007994540214538574,
0.007984458923339844,
0.008847497940063476,
0.007992459774017333,
0.00795789909362793,
0.00796589994430542,
0.007992778778076172,
0.007949900150299073,
0.007966539859771728,
0.007973578929901123,
0.007991020202636718,
0.007932458877563477,
0.007913740158081054,
0.008001579284667968,
0.007963019847869873,
0.00796109914779663,
0.007975820064544678,
0.00797677993774414,
0.007963339805603027,
0.007924300193786621,
0.007961419105529785,
0.007904139995574952,
0.007913099765777589,
0.007914699077606202,
0.007953100204467774,
0.00794893980026245,
0.007929419994354248,
0.007901899814605713,
0.00778302001953125,
0.007493260860443115,
0.0074785399436950685,
0.007452140808105469,
0.007620941162109375,
0.007465900897979737,
0.0076750202178955075,
0.007442700862884522,
0.0074177408218383785,
0.007688620090484619,
0.008036779403686524,
0.00793198013305664,
0.007995819091796875,
0.008021739959716797,
0.00806365966796875,
0.007841740131378174,
0.007650219917297364,
0.008024140357971192,
0.008010379791259766,
0.008014538764953612,
0.008008779525756836,
0.007497741222381592,
0.007508621215820312,
0.007498381137847901,
0.007501901149749756,
0.007107821941375733,
0.007107982158660889,
0.007118381977081299,
0.007210381984710693,
0.007093582153320312,
0.007172142028808594,
0.00708558177947998,
0.007065741062164307,
0.007060620784759521,
0.0071044621467590335
]
},
"throughput": {
"unit": "samples/s",
"value": 127.86840733701125
},
"energy": null,
"efficiency": null
}
}
}