IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1f4e518
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.140928, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44912.541696, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.478630859375, | |
"mean": 8.478630859375, | |
"stdev": 0.0, | |
"p50": 8.478630859375, | |
"p90": 8.478630859375, | |
"p95": 8.478630859375, | |
"p99": 8.478630859375, | |
"values": [ | |
8.478630859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.352064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 242334.732288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9993410384654995, | |
"mean": 0.008191319987422131, | |
"stdev": 0.0015409613075808022, | |
"p50": 0.008339849948883057, | |
"p90": 0.008422250652313234, | |
"p95": 0.008469801712036132, | |
"p99": 0.014773857488632148, | |
"values": [ | |
0.00840896987915039, | |
0.008372810363769531, | |
0.008357290267944337, | |
0.008398249626159668, | |
0.008366089820861816, | |
0.008345609664916992, | |
0.009521931648254394, | |
0.008421930313110351, | |
0.008455209732055664, | |
0.008469929695129394, | |
0.008464969635009766, | |
0.00857041072845459, | |
0.008451689720153808, | |
0.008477609634399414, | |
0.008486410140991212, | |
0.008405289649963378, | |
0.00838113021850586, | |
0.008353930473327636, | |
0.00837185001373291, | |
0.008403690338134765, | |
0.008364970207214356, | |
0.008377610206604004, | |
0.008375049591064453, | |
0.008370889663696288, | |
0.008350250244140624, | |
0.008340490341186524, | |
0.008360170364379882, | |
0.00833905029296875, | |
0.008351691246032715, | |
0.008349289894104004, | |
0.008345450401306152, | |
0.008349610328674316, | |
0.008377289772033692, | |
0.008370409965515137, | |
0.008349929809570313, | |
0.008371049880981446, | |
0.008379850387573242, | |
0.00838992977142334, | |
0.008396969795227052, | |
0.008422250747680665, | |
0.008390250205993653, | |
0.019758583068847656, | |
0.002486562967300415, | |
0.0044211258888244625, | |
0.008381609916687011, | |
0.008387370109558106, | |
0.008359210014343262, | |
0.008353449821472169, | |
0.008343850135803223, | |
0.008323209762573242, | |
0.008344809532165527, | |
0.008354089736938476, | |
0.008337289810180663, | |
0.00833920955657959, | |
0.008378890991210938, | |
0.008356010437011719, | |
0.008341930389404296, | |
0.008369770050048828, | |
0.008336970329284668, | |
0.008372810363769531, | |
0.008347049713134765, | |
0.008147689819335937, | |
0.007938088893890381, | |
0.008065130233764648, | |
0.007780008792877198, | |
0.007977610111236572, | |
0.007609768867492676, | |
0.0076377692222595215, | |
0.007566410064697266, | |
0.007596808910369873, | |
0.00752656888961792, | |
0.007583689212799072, | |
0.007573449134826661, | |
0.007547049045562744, | |
0.007591848850250244, | |
0.007705770015716553, | |
0.007544488906860352, | |
0.0077264089584350585, | |
0.007518568992614746, | |
0.007875050067901611, | |
0.007610408782958984, | |
0.00753040885925293, | |
0.007726889133453369, | |
0.016169939041137695, | |
0.002527843952178955, | |
0.007972168922424316, | |
0.007916969776153564, | |
0.008082408905029297, | |
0.00813105010986328, | |
0.007806409835815429, | |
0.008036648750305176, | |
0.007900969982147217, | |
0.007816809177398682, | |
0.007909130096435547, | |
0.007843849182128906, | |
0.007877769947052003, | |
0.007910569190979004, | |
0.007725769996643066, | |
0.007838249206542969, | |
0.007604488849639893, | |
0.007560489177703858, | |
0.007615368843078613, | |
0.0083331298828125, | |
0.00845249080657959, | |
0.008393610000610351, | |
0.008422249794006348, | |
0.008412010192871093, | |
0.00846737003326416, | |
0.008321450233459473, | |
0.008259209632873535, | |
0.008420010566711426, | |
0.008100488662719726, | |
0.008280329704284668, | |
0.008181449890136718, | |
0.00813296890258789, | |
0.008045129776000977, | |
0.008064648628234864, | |
0.008027050018310547, | |
0.00823104953765869, | |
0.007858088970184326, | |
0.007604650020599365, | |
0.007805609226226807 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.08044631823832 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |