
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4e6b16e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": null, | |
"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": 909.717504, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9986535625457766, | |
"mean": 0.00811913465484371, | |
"stdev": 0.00028246648188854116, | |
"p50": 0.008138751983642578, | |
"p90": 0.008476051139831544, | |
"p95": 0.008539443397521973, | |
"p99": 0.008865455150604249, | |
"values": [ | |
0.008938431739807129, | |
0.008399871826171875, | |
0.008454143524169922, | |
0.008460288047790527, | |
0.008367103576660156, | |
0.008398847579956055, | |
0.008339455604553223, | |
0.008336383819580078, | |
0.008236031532287597, | |
0.008217599868774414, | |
0.009230400085449219, | |
0.008523776054382324, | |
0.008606719970703124, | |
0.00832921600341797, | |
0.00840499210357666, | |
0.008565728187561034, | |
0.008555456161499024, | |
0.008559616088867187, | |
0.008532992362976074, | |
0.008445952415466309, | |
0.008479743957519532, | |
0.008260607719421387, | |
0.008376319885253907, | |
0.008160256385803222, | |
0.008145919799804687, | |
0.00821452808380127, | |
0.00819916820526123, | |
0.008225791931152344, | |
0.00831283187866211, | |
0.00829030418395996, | |
0.00829030418395996, | |
0.008285183906555176, | |
0.008164287567138672, | |
0.008231936454772949, | |
0.008254464149475099, | |
0.008233920097351074, | |
0.008181759834289551, | |
0.008171520233154296, | |
0.008165375709533691, | |
0.00839475154876709, | |
0.008136704444885253, | |
0.00818380832672119, | |
0.008174592018127442, | |
0.008157183647155761, | |
0.00820633602142334, | |
0.008254464149475099, | |
0.00830361557006836, | |
0.008274944305419921, | |
0.008240127563476562, | |
0.008256511688232422, | |
0.008169471740722656, | |
0.008525823593139649, | |
0.008540160179138183, | |
0.008138751983642578, | |
0.008011775970458984, | |
0.008139871597290039, | |
0.008028160095214844, | |
0.007837696075439453, | |
0.007853055953979492, | |
0.007895040035247802, | |
0.008208383560180664, | |
0.008407039642333984, | |
0.00846127986907959, | |
0.008498175621032715, | |
0.008493056297302246, | |
0.00828825569152832, | |
0.008085503578186035, | |
0.008130559921264649, | |
0.00807423973083496, | |
0.008103936195373536, | |
0.00812339210510254, | |
0.008116224288940429, | |
0.008142848014831543, | |
0.008132608413696289, | |
0.007918591976165772, | |
0.007771135807037354, | |
0.0077578239440917966, | |
0.007796735763549805, | |
0.00786636781692505, | |
0.007781375885009765, | |
0.007768064022064209, | |
0.007780352115631104, | |
0.008017919540405273, | |
0.007799808025360107, | |
0.007767039775848389, | |
0.007778304100036621, | |
0.007778304100036621, | |
0.007766016006469726, | |
0.007759935855865478, | |
0.007771135807037354, | |
0.008116224288940429, | |
0.008085503578186035, | |
0.008135616302490234, | |
0.008118271827697754, | |
0.008101823806762696, | |
0.008039392471313477, | |
0.008055808067321778, | |
0.008051712036132813, | |
0.008036352157592774, | |
0.008144895553588867, | |
0.008128512382507324, | |
0.007814144134521485, | |
0.007708672046661377, | |
0.007707647800445557, | |
0.007705599784851074, | |
0.007726079940795898, | |
0.007700479984283447, | |
0.007733248233795166, | |
0.00773529577255249, | |
0.007777279853820801, | |
0.007771135807037354, | |
0.0077751679420471195, | |
0.007786496162414551, | |
0.00781004810333252, | |
0.007867392063140868, | |
0.007795648097991943, | |
0.007803904056549072, | |
0.007882751941680909, | |
0.00779366397857666, | |
0.007802879810333252, | |
0.007822336196899414, | |
0.007906303882598878, | |
0.007798783779144287 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.16583509345055 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.240944846553294e-08, | |
"ram": 5.048468356992879e-08, | |
"gpu": 1.682516419224826e-07, | |
"total": 3.1114577395794434e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3213927.6303819055 | |
} | |
} | |
} | |
} |