IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ac9877a
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": "6", | |
"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.64064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51774.459904, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 15.7418876953125, | |
"mean": 15.7418876953125, | |
"stdev": 0.0, | |
"p50": 15.7418876953125, | |
"p90": 15.7418876953125, | |
"p95": 15.7418876953125, | |
"p99": 15.7418876953125, | |
"values": [ | |
15.7418876953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.712512, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 246407.888896, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9967319593429561, | |
"mean": 0.007170733520452924, | |
"stdev": 0.0014134230851124655, | |
"p50": 0.006989448070526123, | |
"p90": 0.007408103942871094, | |
"p95": 0.007857351875305176, | |
"p99": 0.01385460653305054, | |
"values": [ | |
0.013970734596252442, | |
0.002334882974624634, | |
0.006121285915374756, | |
0.0070660881996154785, | |
0.007182087898254395, | |
0.007198408126831055, | |
0.007202727794647217, | |
0.007358407974243164, | |
0.0071464071273803715, | |
0.007169607162475586, | |
0.007186888217926025, | |
0.007204008102416992, | |
0.007118087768554687, | |
0.00707008695602417, | |
0.0070564870834350585, | |
0.007024968147277832, | |
0.0070379281044006346, | |
0.006978567123413086, | |
0.006953767776489258, | |
0.006940647125244141, | |
0.006951848030090332, | |
0.00695168685913086, | |
0.00696128797531128, | |
0.006953927993774414, | |
0.007005126953125, | |
0.006980967998504639, | |
0.010239211082458496, | |
0.007233128070831298, | |
0.006973447799682617, | |
0.007023366928100586, | |
0.0069552078247070315, | |
0.006941446781158447, | |
0.006963848114013672, | |
0.006961927890777588, | |
0.006956167221069336, | |
0.00694432783126831, | |
0.006987367153167725, | |
0.006952167987823487, | |
0.006972486972808838, | |
0.006975367069244385, | |
0.0069787278175354, | |
0.006959527015686035, | |
0.00697168779373169, | |
0.006951367855072022, | |
0.006992647171020508, | |
0.006983047962188721, | |
0.0069836869239807125, | |
0.013665134429931641, | |
0.004245604991912842, | |
0.007143688201904297, | |
0.0070192070007324215, | |
0.007235527992248535, | |
0.007025288105010986, | |
0.007015848159790039, | |
0.007014087200164795, | |
0.006983687877655029, | |
0.0069963278770446774, | |
0.00699696683883667, | |
0.006970727920532226, | |
0.0069646468162536624, | |
0.006954088211059571, | |
0.006985767841339112, | |
0.006979526996612549, | |
0.007013288021087647, | |
0.00698224687576294, | |
0.006986728191375732, | |
0.0069963278770446774, | |
0.006975846767425537, | |
0.006989448070526123, | |
0.0069748878479003905, | |
0.006981606960296631, | |
0.007010727882385254, | |
0.006976807117462158, | |
0.007005127906799316, | |
0.007021128177642822, | |
0.006951207160949707, | |
0.00700656795501709, | |
0.0070147280693054195, | |
0.007000806808471679, | |
0.0070715279579162595, | |
0.006979368209838867, | |
0.007013766765594482, | |
0.006996007919311523, | |
0.006989447116851807, | |
0.006982728004455567, | |
0.006986248016357422, | |
0.006991847038269043, | |
0.007007207870483399, | |
0.006983848094940186, | |
0.006977447032928467, | |
0.006990248203277588, | |
0.006969926834106445, | |
0.006949448108673096, | |
0.006928966999053955, | |
0.007018406867980957, | |
0.006963367938995361, | |
0.0069923272132873535, | |
0.0069787278175354, | |
0.006975527763366699, | |
0.006967526912689209, | |
0.006970407962799072, | |
0.00698704719543457, | |
0.006999048233032226, | |
0.006991528034210205, | |
0.01761874008178711, | |
0.002279681921005249, | |
0.004652164936065674, | |
0.007000327110290527, | |
0.00697648811340332, | |
0.006938887119293213, | |
0.00698032808303833, | |
0.006960486888885498, | |
0.006938887119293213, | |
0.0069504079818725585, | |
0.006960166931152344, | |
0.006973447799682617, | |
0.006963847160339355, | |
0.0069712080955505375, | |
0.006984648227691651, | |
0.007459688186645508, | |
0.007857927799224854, | |
0.007879848957061768, | |
0.007783368110656739, | |
0.0073083281517028805, | |
0.007371047973632813, | |
0.00739520788192749, | |
0.007394248008728027, | |
0.007322247982025147, | |
0.007487207889556885, | |
0.007827208042144776, | |
0.007316167831420898, | |
0.007340487957000733, | |
0.007372968196868897, | |
0.007261608123779297, | |
0.007296167850494385, | |
0.007559367179870605, | |
0.007838889122009278, | |
0.007880329132080078, | |
0.007857287883758545 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.45574705122178 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |