IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
05e842c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "4", | |
"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.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1389.121536, | |
"max_global_vram": 12.857344, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 10.75170703125, | |
"mean": 10.75170703125, | |
"stdev": 0.0, | |
"p50": 10.75170703125, | |
"p90": 10.75170703125, | |
"p95": 10.75170703125, | |
"p99": 10.75170703125, | |
"values": [ | |
10.75170703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1518.350336, | |
"max_global_vram": 12.96384, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9980110979080201, | |
"mean": 0.00860354394748293, | |
"stdev": 0.00012974770529353111, | |
"p50": 0.008562687397003173, | |
"p90": 0.008769486427307129, | |
"p95": 0.008832646369934083, | |
"p99": 0.009039926385879516, | |
"values": [ | |
0.008828606605529785, | |
0.008980766296386718, | |
0.009050366401672363, | |
0.009339964866638184, | |
0.008928446769714356, | |
0.008880447387695313, | |
0.008844765663146972, | |
0.008795487403869628, | |
0.00866172695159912, | |
0.008657567024230957, | |
0.008702366828918458, | |
0.008669246673583984, | |
0.008776926040649414, | |
0.008593567848205566, | |
0.008554367065429688, | |
0.008600607872009277, | |
0.008574527740478516, | |
0.008541887283325195, | |
0.008555487632751465, | |
0.008531967163085937, | |
0.00858844757080078, | |
0.00854108715057373, | |
0.008489407539367676, | |
0.008535008430480957, | |
0.008509247779846192, | |
0.008467488288879395, | |
0.00855756664276123, | |
0.00857692813873291, | |
0.008515007019042968, | |
0.008462207794189453, | |
0.008562527656555175, | |
0.008553248405456543, | |
0.008482687950134278, | |
0.008536446571350097, | |
0.00854860782623291, | |
0.008535806655883788, | |
0.008506048202514648, | |
0.008518048286437988, | |
0.008494047164916993, | |
0.008599328041076661, | |
0.008585887908935547, | |
0.00851420783996582, | |
0.008533087730407715, | |
0.00852012825012207, | |
0.008515007019042968, | |
0.008548128128051757, | |
0.00860460662841797, | |
0.008547327995300292, | |
0.008542048454284667, | |
0.008517727851867676, | |
0.008523647308349609, | |
0.008473407745361329, | |
0.008461407661437988, | |
0.008610366821289062, | |
0.008771327018737793, | |
0.00863500690460205, | |
0.008598047256469727, | |
0.008672126770019531, | |
0.008594688415527343, | |
0.008612768173217773, | |
0.008651646614074707, | |
0.00868300724029541, | |
0.00875612735748291, | |
0.00870380687713623, | |
0.008706047058105468, | |
0.008675646781921387, | |
0.008629568099975586, | |
0.008613086700439454, | |
0.008654367446899415, | |
0.008728126525878906, | |
0.008562847137451172, | |
0.008538047790527343, | |
0.008589886665344238, | |
0.008579647064208985, | |
0.008567008018493652, | |
0.008506048202514648, | |
0.008518367767333985, | |
0.008551008224487304, | |
0.008543487548828124, | |
0.008507967948913574, | |
0.008487007141113282, | |
0.008456768035888672, | |
0.00852620792388916, | |
0.008570527076721192, | |
0.008515328407287597, | |
0.008810046195983887, | |
0.00879068660736084, | |
0.008767645835876465, | |
0.008625408172607422, | |
0.008613086700439454, | |
0.00867532730102539, | |
0.008546687126159669, | |
0.008677566528320312, | |
0.008644607543945313, | |
0.008554368019104005, | |
0.008590046882629394, | |
0.008612447738647461, | |
0.00862492847442627, | |
0.008527647018432618, | |
0.008657727241516113, | |
0.00852012825012207, | |
0.008538686752319335, | |
0.008517727851867676, | |
0.008514528274536132, | |
0.008551807403564453, | |
0.008519968032836915, | |
0.00859452724456787, | |
0.008554688453674316, | |
0.00856924819946289, | |
0.008511167526245117, | |
0.008477408409118653, | |
0.008587806701660157, | |
0.008518047332763672, | |
0.00845148754119873, | |
0.008516127586364747, | |
0.008498686790466309 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 116.23117242198337 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |