IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8e29a8e
verified
{ | |
"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": {}, | |
"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": "61123f7169ae188508e9e8c5ca6b9a54a00965ed", | |
"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": 902.283264, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 43833.724928, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.19812451171875, | |
"mean": 7.19812451171875, | |
"stdev": 0.0, | |
"p50": 7.19812451171875, | |
"p90": 7.19812451171875, | |
"p95": 7.19812451171875, | |
"p99": 7.19812451171875, | |
"values": [ | |
7.19812451171875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.455168, | |
"max_global_vram": 896.954368, | |
"max_process_vram": 240689.434624, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9956488404273993, | |
"mean": 0.007839754649034634, | |
"stdev": 0.00020125384721161646, | |
"p50": 0.00782845401763916, | |
"p90": 0.008039013671875001, | |
"p95": 0.00814040479660034, | |
"p99": 0.00829555591583252, | |
"values": [ | |
0.008046693801879883, | |
0.008154373168945312, | |
0.0082884521484375, | |
0.008298051834106446, | |
0.0083682918548584, | |
0.008214052200317384, | |
0.00823757266998291, | |
0.00810781192779541, | |
0.008182692527770995, | |
0.007982693195343017, | |
0.00796077299118042, | |
0.007919494152069093, | |
0.00791053295135498, | |
0.007926534175872803, | |
0.007905253887176514, | |
0.007906053066253662, | |
0.007889894008636475, | |
0.007872453212738037, | |
0.00786621379852295, | |
0.007837893962860108, | |
0.007829092979431152, | |
0.0078121337890625, | |
0.007841733932495118, | |
0.00778637409210205, | |
0.007845252990722655, | |
0.00780333423614502, | |
0.007850374221801758, | |
0.007784934043884278, | |
0.00781869411468506, | |
0.007837413787841797, | |
0.007781094074249268, | |
0.007792613983154297, | |
0.0078055739402771, | |
0.007805253982543945, | |
0.007820134162902831, | |
0.007824453830718994, | |
0.007859492778778076, | |
0.0077977337837219236, | |
0.00782573413848877, | |
0.007817254066467286, | |
0.007826854228973388, | |
0.007819493770599366, | |
0.007882214069366456, | |
0.00787101411819458, | |
0.007844133853912354, | |
0.007812774181365967, | |
0.00781693410873413, | |
0.007807494163513184, | |
0.007874693870544434, | |
0.0080394926071167, | |
0.008090852737426758, | |
0.007954372882843017, | |
0.00796621322631836, | |
0.007899814128875733, | |
0.008038694381713868, | |
0.008020454406738282, | |
0.008052933692932128, | |
0.008009894371032715, | |
0.007982054233551025, | |
0.007963653087615968, | |
0.007933732986450195, | |
0.007945734024047852, | |
0.007931013107299805, | |
0.007915012836456299, | |
0.007876294136047363, | |
0.007815013885498047, | |
0.007800133228302002, | |
0.007799173831939697, | |
0.007818853855133057, | |
0.00786941385269165, | |
0.007784614086151123, | |
0.0077886137962341305, | |
0.007805093765258789, | |
0.0077831740379333495, | |
0.007937572956085204, | |
0.008085412979125977, | |
0.007946533203125, | |
0.007904294013977051, | |
0.007855493068695069, | |
0.007815174102783203, | |
0.007883493900299072, | |
0.007846854209899902, | |
0.007856934070587159, | |
0.007883012771606445, | |
0.007836453914642334, | |
0.00786717414855957, | |
0.007842534065246582, | |
0.007869574069976806, | |
0.00782845401763916, | |
0.007847013950347901, | |
0.007849894046783447, | |
0.007855493068695069, | |
0.007822854042053223, | |
0.007818853855133057, | |
0.007805414199829101, | |
0.00771965503692627, | |
0.007756614208221436, | |
0.00777277421951294, | |
0.007793573856353759, | |
0.007754054069519043, | |
0.007787174224853516, | |
0.007763174057006836, | |
0.007794213771820068, | |
0.007751334190368653, | |
0.007753734111785889, | |
0.007740133762359619, | |
0.007732133865356445, | |
0.007728135108947754, | |
0.0077428541183471675, | |
0.007738534927368164, | |
0.007765893936157227, | |
0.007742534160614014, | |
0.0077364549636840824, | |
0.007733254909515381, | |
0.00773005485534668, | |
0.007763494968414306, | |
0.007765254020690918, | |
0.007763174057006836, | |
0.007768293857574463, | |
0.007730214118957519, | |
0.007729413986206054, | |
0.007461575031280518, | |
0.007249896049499512, | |
0.007697573184967041, | |
0.007057896137237549, | |
0.006856136798858643, | |
0.006856777191162109 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.55501221242137 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |