IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9dd2f4e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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", | |
"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": "56d026bf244c6516d8cb780280ce7cc6505f270e", | |
"transformers_version": "4.40.2", | |
"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": 1003.7248, | |
"max_global_vram": 1878.839296, | |
"max_process_vram": 221212.643328, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 133, | |
"total": 1.000747857570648, | |
"mean": 0.007524419981734198, | |
"stdev": 0.00032205131044108013, | |
"p50": 0.007361132144927979, | |
"p90": 0.008138637351989747, | |
"p95": 0.008191469383239745, | |
"p99": 0.008289528846740724, | |
"values": [ | |
0.008795374870300294, | |
0.007819851875305176, | |
0.007956653118133546, | |
0.007633933067321777, | |
0.008032492637634277, | |
0.008145453453063965, | |
0.007512012004852295, | |
0.007391372203826904, | |
0.007641293048858642, | |
0.007465291976928711, | |
0.007826892852783204, | |
0.00750897216796875, | |
0.007261452198028565, | |
0.007279531955718994, | |
0.007527371883392334, | |
0.007291691780090332, | |
0.007316492080688477, | |
0.007361132144927979, | |
0.007257612228393555, | |
0.0073411321640014645, | |
0.007301290988922119, | |
0.007272972106933594, | |
0.007276812076568604, | |
0.007312972068786621, | |
0.007325131893157959, | |
0.007274251937866211, | |
0.007308492183685303, | |
0.0073020920753479, | |
0.007306571960449219, | |
0.007322411060333252, | |
0.007290410995483399, | |
0.00727105188369751, | |
0.00727105188369751, | |
0.007276172161102295, | |
0.007526731967926025, | |
0.007348011970520019, | |
0.007299211978912354, | |
0.007254891872406006, | |
0.007291051864624023, | |
0.007764331817626953, | |
0.007203210830688476, | |
0.007402252197265625, | |
0.007277931213378906, | |
0.00727489185333252, | |
0.007943532943725585, | |
0.007517611980438233, | |
0.007396972179412842, | |
0.007296971797943115, | |
0.00752897310256958, | |
0.007442252159118652, | |
0.007301452159881591, | |
0.007285770893096924, | |
0.007521771907806397, | |
0.0074763321876525875, | |
0.007410892009735107, | |
0.007824812889099121, | |
0.008207693099975585, | |
0.008158892631530761, | |
0.008195533752441406, | |
0.008012972831726074, | |
0.007311212062835693, | |
0.007485611915588379, | |
0.007276172161102295, | |
0.007259212017059326, | |
0.00725969123840332, | |
0.007264330863952637, | |
0.007267372131347656, | |
0.007370731830596924, | |
0.007562091827392578, | |
0.0073008108139038085, | |
0.007344972133636474, | |
0.007277132034301758, | |
0.007301931858062744, | |
0.007290731906890869, | |
0.007879212856292724, | |
0.007493931770324707, | |
0.007472492218017578, | |
0.007272012233734131, | |
0.007340012073516845, | |
0.007337451934814453, | |
0.007316812038421631, | |
0.007281132221221924, | |
0.007283852100372314, | |
0.007278410911560058, | |
0.0072352118492126465, | |
0.007253131866455078, | |
0.007312012195587158, | |
0.007272332191467285, | |
0.007286411762237549, | |
0.007316971778869629, | |
0.00730433177947998, | |
0.007285611152648926, | |
0.007248012065887452, | |
0.007269931793212891, | |
0.0073435320854187015, | |
0.007314092159271241, | |
0.007305292129516602, | |
0.00769185209274292, | |
0.00821489429473877, | |
0.008231212615966797, | |
0.008181452751159668, | |
0.008189932823181152, | |
0.007807532787322998, | |
0.007860012054443359, | |
0.007583211898803711, | |
0.007763052940368652, | |
0.007539212226867676, | |
0.007520172119140625, | |
0.0075472121238708495, | |
0.007539853096008301, | |
0.007304172039031983, | |
0.0073008108139038085, | |
0.007641932010650635, | |
0.007453291893005371, | |
0.00811137294769287, | |
0.008193774223327637, | |
0.0074120121002197266, | |
0.007285451889038086, | |
0.007560972213745117, | |
0.007452651977539062, | |
0.007313611984252929, | |
0.007872172832489014, | |
0.008171213150024415, | |
0.007711692810058594, | |
0.0073264122009277345, | |
0.007470411777496338, | |
0.0074260921478271485, | |
0.007733612060546875, | |
0.007719371795654297, | |
0.008018412590026856, | |
0.008189772605895996, | |
0.008175212860107422, | |
0.00831697177886963 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.90060927321124 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |