IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a97c93c
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.2.1", | |
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.082368, | |
"max_global_vram": 1877.516288, | |
"max_process_vram": 171501.920256, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9991180067062381, | |
"mean": 0.007805609427392482, | |
"stdev": 0.00042697011318466605, | |
"p50": 0.007835144281387329, | |
"p90": 0.007931400632858276, | |
"p95": 0.008714002895355224, | |
"p99": 0.009029578561782835, | |
"values": [ | |
0.007802905082702637, | |
0.007609622955322266, | |
0.0076584239006042484, | |
0.007798903942108154, | |
0.007729464054107666, | |
0.008078584671020508, | |
0.007870745182037354, | |
0.007924505233764648, | |
0.007601304054260254, | |
0.007915863990783692, | |
0.007881783962249755, | |
0.007445303916931152, | |
0.007380503177642822, | |
0.007080502033233642, | |
0.007201783180236817, | |
0.006946901798248291, | |
0.007246582984924316, | |
0.0071689820289611815, | |
0.007174743175506592, | |
0.007204661846160889, | |
0.007650904178619385, | |
0.007759704113006592, | |
0.007463862895965576, | |
0.007738265037536621, | |
0.007377303123474121, | |
0.0073352231979370115, | |
0.007265782833099365, | |
0.007825304985046386, | |
0.010246432304382325, | |
0.007675864219665527, | |
0.007704504013061523, | |
0.007726583957672119, | |
0.007717944145202636, | |
0.007707543849945068, | |
0.007715864181518555, | |
0.007676663875579834, | |
0.00768834400177002, | |
0.007665143966674805, | |
0.007701303958892822, | |
0.007681144237518311, | |
0.007711863994598388, | |
0.0076913838386535646, | |
0.007677624225616455, | |
0.0076915440559387205, | |
0.007656504154205322, | |
0.0077288241386413575, | |
0.007672344207763672, | |
0.007692823886871338, | |
0.007689785003662109, | |
0.0076393837928771975, | |
0.0076179437637329105, | |
0.007676504135131836, | |
0.007652184009552002, | |
0.007766903877258301, | |
0.008355546951293945, | |
0.009011708259582519, | |
0.008933307647705079, | |
0.008645466804504395, | |
0.008947068214416504, | |
0.00903618812561035, | |
0.008916028022766113, | |
0.008750906944274902, | |
0.008456347465515136, | |
0.008158905029296875, | |
0.00793666410446167, | |
0.007919704914093018, | |
0.007865624904632568, | |
0.007855064868927002, | |
0.007840983867645264, | |
0.007852503776550293, | |
0.00783778476715088, | |
0.007860344886779785, | |
0.007860663890838624, | |
0.007837944030761719, | |
0.007836985111236571, | |
0.007827383995056152, | |
0.007901463985443115, | |
0.007846105098724365, | |
0.007847545146942138, | |
0.007827703952789306, | |
0.007883705139160157, | |
0.007859065055847167, | |
0.007796343803405762, | |
0.007875224113464356, | |
0.007820825099945068, | |
0.007851544857025147, | |
0.00784930419921875, | |
0.00783394479751587, | |
0.007826584815979004, | |
0.007902584075927734, | |
0.00786082410812378, | |
0.007877144813537598, | |
0.007912344932556152, | |
0.007876025199890137, | |
0.007887224197387695, | |
0.00790226411819458, | |
0.007864665031433106, | |
0.007856665134429931, | |
0.007863544940948486, | |
0.007880023956298828, | |
0.007920023918151855, | |
0.007929144859313965, | |
0.007909625053405762, | |
0.007919225215911865, | |
0.007828023910522461, | |
0.007874584197998047, | |
0.007908665180206298, | |
0.007872505187988281, | |
0.007889945030212403, | |
0.007857625007629394, | |
0.007860504150390624, | |
0.007844025135040284, | |
0.007868985176086425, | |
0.00783634376525879, | |
0.007858745098114014, | |
0.007844504833221435, | |
0.007888504981994629, | |
0.007875063896179198, | |
0.007883544921875, | |
0.007614103794097901, | |
0.007476984024047851, | |
0.0076205039024353025, | |
0.007583383083343506, | |
0.007166262149810791, | |
0.006983222007751465, | |
0.007160821914672852, | |
0.006996181964874268, | |
0.006989781856536865 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.11299480225938 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |