IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7aa0c3c
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": "79990507b694d513bac81e140baff3af23a6bff7", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1010.212864, | |
"max_global_vram": 65423.0528, | |
"max_process_vram": 180607.22176, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9966200375556944, | |
"mean": 0.007437462966833542, | |
"stdev": 0.00029095250587293515, | |
"p50": 0.0072878458499908445, | |
"p90": 0.007878262424468995, | |
"p95": 0.008000855088233947, | |
"p99": 0.008069115495681763, | |
"values": [ | |
0.0074550461769104, | |
0.007312005996704102, | |
0.007557926177978516, | |
0.00743632698059082, | |
0.007512325763702392, | |
0.0074731259346008305, | |
0.007392487049102783, | |
0.007391366004943847, | |
0.007355686187744141, | |
0.00732848596572876, | |
0.0073526458740234375, | |
0.007905605792999268, | |
0.007572967052459717, | |
0.007637286186218261, | |
0.007673447132110596, | |
0.007738245964050293, | |
0.0077817668914794925, | |
0.007756165981292725, | |
0.007776327133178711, | |
0.0077814459800720215, | |
0.007904487133026123, | |
0.007867846965789795, | |
0.007745125770568848, | |
0.007675207138061523, | |
0.008040166854858399, | |
0.007928165912628174, | |
0.007890407085418702, | |
0.007948966979980468, | |
0.007882726192474366, | |
0.0078238468170166, | |
0.007803205966949463, | |
0.007690725803375244, | |
0.007586565971374512, | |
0.007456007003784179, | |
0.007593605995178223, | |
0.007675847053527832, | |
0.007604805946350097, | |
0.007756647109985352, | |
0.007785605907440186, | |
0.0075825672149658204, | |
0.008931047439575195, | |
0.007580007076263428, | |
0.007248805999755859, | |
0.007205125808715821, | |
0.007192805767059326, | |
0.007242725849151611, | |
0.007249606132507324, | |
0.007141446113586426, | |
0.007217926025390625, | |
0.00720000696182251, | |
0.007207846164703369, | |
0.007182405948638916, | |
0.007218245983123779, | |
0.007231205940246582, | |
0.0072176060676574704, | |
0.007235045909881592, | |
0.007266886234283447, | |
0.007187205791473389, | |
0.00721440601348877, | |
0.007221927165985107, | |
0.007268645763397217, | |
0.0071908860206604, | |
0.007184326171875, | |
0.007183685779571534, | |
0.0072033658027648925, | |
0.0072028861045837405, | |
0.007207365989685058, | |
0.007206406116485596, | |
0.007260486125946045, | |
0.007210886001586914, | |
0.007201926231384277, | |
0.007226406097412109, | |
0.007235846042633057, | |
0.007173925876617432, | |
0.00724928617477417, | |
0.007229286193847656, | |
0.0071251258850097655, | |
0.007170246124267578, | |
0.007258885860443115, | |
0.007256005764007568, | |
0.007182247161865234, | |
0.0071908860206604, | |
0.007198406219482422, | |
0.007227046012878418, | |
0.007218565940856934, | |
0.007256165981292724, | |
0.007230885982513428, | |
0.007251046180725098, | |
0.007203045845031738, | |
0.007193925857543945, | |
0.007224166870117187, | |
0.007226565837860108, | |
0.0071643261909484866, | |
0.007330885887145996, | |
0.008053767204284667, | |
0.008050887107849122, | |
0.008060646057128907, | |
0.008054567337036132, | |
0.008073287010192871, | |
0.007979687213897704, | |
0.00756864595413208, | |
0.00760720682144165, | |
0.007560805797576904, | |
0.007594406127929687, | |
0.0074830460548400875, | |
0.007582726001739502, | |
0.007500166893005371, | |
0.007600165843963623, | |
0.00757408618927002, | |
0.007360006809234619, | |
0.007292325973510742, | |
0.007320806026458741, | |
0.007268005847930908, | |
0.0072713661193847656, | |
0.007276485919952393, | |
0.007256327152252197, | |
0.007274886131286621, | |
0.007274725914001465, | |
0.00731648588180542, | |
0.007248486042022705, | |
0.007273766040802002, | |
0.007257445812225342, | |
0.007293127059936524, | |
0.007284485816955567, | |
0.0072811260223388675, | |
0.007284325122833252, | |
0.007302725791931152, | |
0.007239366054534912, | |
0.0072792072296142575, | |
0.007248805999755859, | |
0.007309606075286865, | |
0.007320645809173584, | |
0.007291205883026123, | |
0.007280645847320556 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.45445099483223 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |