IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9a18bee
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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": "5", | |
"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.34.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": 1388.085248, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 10.827095703125, | |
"mean": 10.827095703125, | |
"stdev": 0.0, | |
"p50": 10.827095703125, | |
"p90": 10.827095703125, | |
"p95": 10.827095703125, | |
"p99": 10.827095703125, | |
"values": [ | |
10.827095703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1517.109248, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 115, | |
"total": 0.9966321477890014, | |
"mean": 0.008666366502513055, | |
"stdev": 0.0001883770484279769, | |
"p50": 0.008634209632873535, | |
"p90": 0.008939073944091797, | |
"p95": 0.009021425151824951, | |
"p99": 0.009231354179382324, | |
"values": [ | |
0.008567331314086914, | |
0.009016769409179688, | |
0.008871489524841309, | |
0.009080768585205078, | |
0.009252769470214844, | |
0.008733570098876953, | |
0.008732769966125488, | |
0.008684930801391601, | |
0.008652449607849121, | |
0.008674851417541504, | |
0.008682530403137207, | |
0.00865437126159668, | |
0.008634209632873535, | |
0.008556771278381347, | |
0.008484930992126464, | |
0.008426692008972168, | |
0.008468131065368652, | |
0.008426530838012695, | |
0.008512611389160157, | |
0.008499811172485352, | |
0.00847805118560791, | |
0.008527650833129882, | |
0.00847181224822998, | |
0.008454372406005859, | |
0.00846285057067871, | |
0.008452450752258301, | |
0.00854957103729248, | |
0.008674851417541504, | |
0.008716610908508301, | |
0.00866429042816162, | |
0.008613571166992188, | |
0.008620130538940429, | |
0.008631970405578613, | |
0.00861677074432373, | |
0.008590210914611816, | |
0.008468931198120117, | |
0.008472930908203126, | |
0.008448930740356445, | |
0.00851085090637207, | |
0.00849581241607666, | |
0.008446372032165528, | |
0.00847213077545166, | |
0.008569570541381836, | |
0.008720609664916992, | |
0.00879164981842041, | |
0.008891169548034667, | |
0.008806050300598145, | |
0.008691169738769532, | |
0.008660930633544922, | |
0.008793089866638184, | |
0.008821889877319336, | |
0.008707810401916503, | |
0.008707651138305664, | |
0.008568771362304687, | |
0.00855117130279541, | |
0.008512451171875, | |
0.008548931121826172, | |
0.008898850440979003, | |
0.008730850219726562, | |
0.008728770256042481, | |
0.008650370597839355, | |
0.008621891021728516, | |
0.008541090965270996, | |
0.008546212196350097, | |
0.008660131454467774, | |
0.008981409072875977, | |
0.008964770317077637, | |
0.008945408821105958, | |
0.008933409690856934, | |
0.008770210266113281, | |
0.0087212495803833, | |
0.008652291297912597, | |
0.008619650840759278, | |
0.008810530662536621, | |
0.008769571304321289, | |
0.00884397029876709, | |
0.009099969863891602, | |
0.009241568565368652, | |
0.009168608665466309, | |
0.009032288551330566, | |
0.009004130363464355, | |
0.008915010452270508, | |
0.008942850112915039, | |
0.008930209159851075, | |
0.008822050094604492, | |
0.008757411003112793, | |
0.008822851181030274, | |
0.008739810943603515, | |
0.008666529655456542, | |
0.008636131286621093, | |
0.008528290748596191, | |
0.008502850532531738, | |
0.008601410865783692, | |
0.008542211532592773, | |
0.008447172164916993, | |
0.008580290794372558, | |
0.0087068510055542, | |
0.008538371086120605, | |
0.008412771224975586, | |
0.008814530372619629, | |
0.008798049926757813, | |
0.008679011344909667, | |
0.008532610893249512, | |
0.008533250808715821, | |
0.008496291160583496, | |
0.008471490859985352, | |
0.008489411354064941, | |
0.008530211448669434, | |
0.008511171340942383, | |
0.008504131317138671, | |
0.008484130859375, | |
0.008497410774230958, | |
0.008493572235107423, | |
0.008444451332092285, | |
0.00852381134033203 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 115.38861179134554 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |