IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c6aa75d
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "e185b4a299427f88d515b3c18d3c0c0dc8e91cd8", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.708672, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 43867.521024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8426689453125, | |
"mean": 6.8426689453125, | |
"stdev": 0.0, | |
"p50": 6.8426689453125, | |
"p90": 6.8426689453125, | |
"p95": 6.8426689453125, | |
"p99": 6.8426689453125, | |
"values": [ | |
6.8426689453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.389056, | |
"max_global_vram": 896.96256, | |
"max_process_vram": 216623.80032, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9975125441551201, | |
"mean": 0.006879396856242213, | |
"stdev": 0.00012759149352037895, | |
"p50": 0.006826449871063232, | |
"p90": 0.007086067962646485, | |
"p95": 0.007126740074157714, | |
"p99": 0.007214279193878174, | |
"values": [ | |
0.007148373126983643, | |
0.006944530010223389, | |
0.0071912522315979, | |
0.007129332065582275, | |
0.007435414791107178, | |
0.007232371807098389, | |
0.007131571769714355, | |
0.007141811847686768, | |
0.0070808520317077635, | |
0.00702725076675415, | |
0.006982931137084961, | |
0.006969329833984375, | |
0.006975249767303467, | |
0.006903409957885742, | |
0.006900849819183349, | |
0.006769808769226074, | |
0.0067352490425109865, | |
0.0067643699645996095, | |
0.006742289066314697, | |
0.006799409866333008, | |
0.006794768810272217, | |
0.00679380989074707, | |
0.006893010139465332, | |
0.006964049816131592, | |
0.007042770862579346, | |
0.006918290138244629, | |
0.006864369869232178, | |
0.00686309003829956, | |
0.006773970127105713, | |
0.00677108907699585, | |
0.006784689903259277, | |
0.006826449871063232, | |
0.006797810077667236, | |
0.0067786087989807125, | |
0.006764210224151611, | |
0.006841969966888428, | |
0.006809329986572266, | |
0.006791569232940674, | |
0.006844368934631348, | |
0.006800689220428467, | |
0.006855569839477539, | |
0.006960690975189209, | |
0.006838610172271728, | |
0.006859889984130859, | |
0.006861169815063476, | |
0.00689316987991333, | |
0.00690661096572876, | |
0.0067922091484069825, | |
0.006827088832855224, | |
0.006820048809051514, | |
0.006760529041290283, | |
0.006827410221099854, | |
0.0067946090698242185, | |
0.006848529815673828, | |
0.006758129119873047, | |
0.006770609855651855, | |
0.006796049118041992, | |
0.0068141288757324215, | |
0.0067712488174438475, | |
0.006793970108032226, | |
0.006803729057312012, | |
0.00679780912399292, | |
0.006794449806213379, | |
0.006809490203857422, | |
0.006775568962097168, | |
0.006777809143066406, | |
0.006871250152587891, | |
0.006807730197906494, | |
0.006760690212249756, | |
0.006785169124603272, | |
0.006785170078277588, | |
0.006769808769226074, | |
0.006791248798370362, | |
0.006814129829406738, | |
0.0068053297996520995, | |
0.006800690174102783, | |
0.006813169956207276, | |
0.006827730178833008, | |
0.006799088954925537, | |
0.006783248901367188, | |
0.006825329780578614, | |
0.006815249919891357, | |
0.006789488792419434, | |
0.006786929130554199, | |
0.006787889957427978, | |
0.006738129138946533, | |
0.0067901301383972166, | |
0.006772849082946777, | |
0.0068549299240112304, | |
0.006909170150756836, | |
0.0069005308151245115, | |
0.006881969928741455, | |
0.006976211071014404, | |
0.007025012016296387, | |
0.007103251934051514, | |
0.007020370960235596, | |
0.006885169982910156, | |
0.006794768810272217, | |
0.006766610145568848, | |
0.006754929065704345, | |
0.006757810115814209, | |
0.006759889125823974, | |
0.00678069019317627, | |
0.006763089179992676, | |
0.0067426090240478515, | |
0.0068022899627685545, | |
0.006807409763336182, | |
0.006774128913879395, | |
0.007109971046447754, | |
0.007078131198883056, | |
0.0070973320007324215, | |
0.007086132049560547, | |
0.007129491806030274, | |
0.007085971832275391, | |
0.007093811988830566, | |
0.0071163721084594725, | |
0.006999411106109619, | |
0.006999250888824463, | |
0.0070205311775207516, | |
0.006997490882873535, | |
0.006957651138305664, | |
0.007111251831054688, | |
0.007003890991210938, | |
0.0069472498893737794, | |
0.006971889972686767, | |
0.006973649978637695, | |
0.007023251056671143, | |
0.0069549307823181155, | |
0.006931089878082276, | |
0.006900529861450195, | |
0.0069923710823059084, | |
0.006788370132446289, | |
0.006919410228729248, | |
0.006796689033508301, | |
0.006807730197906494, | |
0.006838290214538574, | |
0.006831408977508545, | |
0.006798769950866699, | |
0.0067803702354431155, | |
0.006725489139556885, | |
0.006776049137115479, | |
0.006739570140838623, | |
0.006921969890594483, | |
0.0067480487823486325, | |
0.006843729972839356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.3615805130681 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |