IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d839686
verified
{ | |
"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": 1078.25152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49312.763904, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.283, | |
"mean": 8.283, | |
"stdev": 0.0, | |
"p50": 8.283, | |
"p90": 8.283, | |
"p95": 8.283, | |
"p99": 8.283, | |
"values": [ | |
8.283 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.331584, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 235838.164992, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9993285217285152, | |
"mean": 0.007087436324315714, | |
"stdev": 0.0010235621394805358, | |
"p50": 0.006904465198516846, | |
"p90": 0.007720462799072266, | |
"p95": 0.00773982286453247, | |
"p99": 0.010019466590881331, | |
"values": [ | |
0.007434383869171142, | |
0.00745710277557373, | |
0.007085585117340088, | |
0.007125743865966797, | |
0.007122704029083252, | |
0.007071343898773194, | |
0.0070292649269104, | |
0.007289103984832764, | |
0.007173423767089844, | |
0.00711518383026123, | |
0.007042863845825195, | |
0.007014864921569824, | |
0.006938385009765625, | |
0.007020945072174072, | |
0.007044943809509277, | |
0.007137585163116455, | |
0.016427484512329102, | |
0.00221119499206543, | |
0.0065881462097167965, | |
0.007053264141082764, | |
0.006994864940643311, | |
0.007019343852996826, | |
0.006993905067443847, | |
0.00707854413986206, | |
0.007015664100646973, | |
0.007012784957885742, | |
0.0069969439506530765, | |
0.006984465122222901, | |
0.007000624179840088, | |
0.00708718490600586, | |
0.0071126241683959965, | |
0.008238862037658692, | |
0.007127184867858887, | |
0.006845264911651611, | |
0.006821585178375244, | |
0.006842545032501221, | |
0.006833105087280273, | |
0.006851504802703858, | |
0.006875345230102539, | |
0.006845425128936768, | |
0.006889904975891113, | |
0.006896464824676513, | |
0.006871025085449219, | |
0.006865424156188965, | |
0.006905425071716309, | |
0.0068628649711608885, | |
0.006867984771728516, | |
0.00686510419845581, | |
0.006884785175323487, | |
0.006894545078277588, | |
0.006855665206909179, | |
0.006895984172821045, | |
0.0068908648490905765, | |
0.006866224765777588, | |
0.006837265014648437, | |
0.006899825096130371, | |
0.006922385215759277, | |
0.00690862512588501, | |
0.0069214248657226566, | |
0.006922383785247802, | |
0.006901104927062988, | |
0.006904465198516846, | |
0.006870063781738281, | |
0.007044944763183594, | |
0.0069075050354003905, | |
0.006900303840637207, | |
0.006875185012817383, | |
0.006901585102081299, | |
0.00691758394241333, | |
0.00691902494430542, | |
0.006888305187225342, | |
0.006940305233001709, | |
0.006918385028839112, | |
0.006911984920501709, | |
0.006889265060424804, | |
0.006909584045410156, | |
0.006894704818725586, | |
0.006903025150299072, | |
0.006893585205078125, | |
0.00690318489074707, | |
0.007012784957885742, | |
0.006868303775787354, | |
0.00685406494140625, | |
0.006882225036621094, | |
0.0068591852188110355, | |
0.006846065044403076, | |
0.006861104965209961, | |
0.006852944850921631, | |
0.006853425025939942, | |
0.006893905162811279, | |
0.006895665168762207, | |
0.0068545441627502444, | |
0.006830224990844727, | |
0.006846065044403076, | |
0.006926545143127441, | |
0.006902864933013916, | |
0.006873264789581299, | |
0.006901104927062988, | |
0.006858224868774414, | |
0.006899185180664062, | |
0.006873105049133301, | |
0.006890385150909424, | |
0.006878864765167236, | |
0.006874545097351074, | |
0.006878385066986084, | |
0.00687806510925293, | |
0.006878544807434082, | |
0.00688702392578125, | |
0.006867344856262207, | |
0.006861744880676269, | |
0.006911825180053711, | |
0.006894383907318115, | |
0.011206536293029786, | |
0.004329750061035156, | |
0.006849265098571778, | |
0.006867825031280517, | |
0.006869104862213135, | |
0.007054385185241699, | |
0.007753743171691895, | |
0.007709902763366699, | |
0.007736783027648925, | |
0.006976144790649414, | |
0.006805264949798584, | |
0.006874704837799072, | |
0.007720462799072266, | |
0.007797741889953613, | |
0.007770223140716553, | |
0.00773982286453247, | |
0.007732462882995605, | |
0.007718382835388183, | |
0.007731822967529297, | |
0.00773326301574707, | |
0.007380623817443848, | |
0.0077326221466064455, | |
0.0075769429206848146, | |
0.007728783130645752, | |
0.007822543144226075, | |
0.007379024028778076, | |
0.007297903060913086, | |
0.0072599840164184574, | |
0.007147025108337402 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.0947420535096 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |