
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dc32cf6
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": "0", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.227-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 818.62656, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07860838317871094 | |
], | |
"count": 1, | |
"total": 0.07860838317871094, | |
"mean": 0.07860838317871094, | |
"p50": 0.07860838317871094, | |
"p90": 0.07860838317871094, | |
"p95": 0.07860838317871094, | |
"p99": 0.07860838317871094, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1095.979008, | |
"max_global_vram": 1207.435264, | |
"max_process_vram": 0.0, | |
"max_reserved": 559.939584, | |
"max_allocated": 510.51264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006214655876159668, | |
0.005856256008148194, | |
0.005955584049224853, | |
0.005839871883392334, | |
0.005901311874389649, | |
0.005854207992553711, | |
0.00582041597366333, | |
0.005863520145416259, | |
0.005832736015319824, | |
0.005841983795166016, | |
0.005908480167388916, | |
0.0058009281158447265, | |
0.005852159976959229, | |
0.005948416233062744, | |
0.0058388481140136715, | |
0.0061173119544982914, | |
0.006068384170532227, | |
0.006048768043518066, | |
0.00608358383178711, | |
0.006043776035308838, | |
0.00603545618057251, | |
0.006082560062408447, | |
0.006050816059112549, | |
0.006079487800598145, | |
0.006041600227355957, | |
0.006078495979309082, | |
0.006111231803894043, | |
0.006073247909545898, | |
0.006058080196380615, | |
0.00601907205581665, | |
0.006022143840789795, | |
0.00603545618057251, | |
0.006392672061920166, | |
0.006024191856384278, | |
0.006037504196166992, | |
0.006036608219146728, | |
0.006060031890869141, | |
0.006049791812896729, | |
0.006040671825408936, | |
0.006057983875274659, | |
0.006081759929656982, | |
0.00617574405670166, | |
0.006103040218353272, | |
0.006230016231536865, | |
0.006047776222229004, | |
0.006239232063293457, | |
0.006216639995574951, | |
0.006153151988983154, | |
0.006212736129760742, | |
0.006202271938323975, | |
0.006013951778411865, | |
0.006039552211761475, | |
0.006052864074707031, | |
0.006053887844085694, | |
0.00603545618057251, | |
0.0060702719688415525, | |
0.006042623996734619, | |
0.006091775894165039, | |
0.006135807991027832, | |
0.006127615928649902, | |
0.006301695823669433, | |
0.006079487800598145, | |
0.006060128211975098, | |
0.006086656093597412, | |
0.006072319984436035, | |
0.0060702719688415525, | |
0.006247424125671387, | |
0.0062679038047790524, | |
0.006141952037811279, | |
0.006053887844085694, | |
0.006085472106933594, | |
0.006106239795684814, | |
0.006350815773010254, | |
0.0065812478065490725, | |
0.0062975997924804685, | |
0.006351871967315674, | |
0.006908927917480469, | |
0.00638153600692749, | |
0.006269951820373535, | |
0.006051839828491211, | |
0.00607539176940918, | |
0.006081535816192627, | |
0.006051839828491211, | |
0.006238207817077636, | |
0.006097760200500488, | |
0.00626585578918457, | |
0.006073344230651856, | |
0.006451200008392334, | |
0.006067200183868408, | |
0.006053887844085694, | |
0.006095871925354004, | |
0.006076416015625, | |
0.006065152168273926, | |
0.006015999794006348, | |
0.006032447814941406, | |
0.006021120071411133, | |
0.006044672012329101, | |
0.006071263790130615, | |
0.006092895984649658, | |
0.006009856224060059, | |
0.0060631041526794435, | |
0.006254591941833496, | |
0.006309919834136963, | |
0.00608358383178711, | |
0.006085631847381592, | |
0.006030335903167725, | |
0.006025216102600098, | |
0.006188992023468017, | |
0.006110208034515381, | |
0.006051839828491211, | |
0.006108191967010498, | |
0.006037504196166992, | |
0.006231040000915527, | |
0.006074368000030517, | |
0.0060415358543396, | |
0.006061056137084961, | |
0.006004735946655273, | |
0.006032383918762207, | |
0.006031360149383545, | |
0.006402048110961914, | |
0.006333439826965332, | |
0.006312960147857666, | |
0.006235136032104492, | |
0.00633241605758667, | |
0.0062566399574279785, | |
0.0062156801223754886, | |
0.006345727920532227, | |
0.006351871967315674, | |
0.00633241605758667, | |
0.00624128007888794, | |
0.006188032150268555, | |
0.006275072097778321, | |
0.006169600009918213, | |
0.006275072097778321, | |
0.0062740478515625, | |
0.006436863899230957, | |
0.006354944229125976, | |
0.006200319766998291, | |
0.006202367782592774, | |
0.006165503978729248, | |
0.006191103935241699, | |
0.006100992202758789, | |
0.006087679862976075, | |
0.006104063987731933, | |
0.00611737585067749, | |
0.006138879776000977, | |
0.006182911872863769, | |
0.0062863359451293946, | |
0.006143008232116699, | |
0.006076543807983398, | |
0.006026303768157959, | |
0.006076511859893799, | |
0.006050816059112549, | |
0.006196224212646485, | |
0.006067200183868408, | |
0.00601203203201294, | |
0.00612665605545044, | |
0.006106112003326416, | |
0.006056960105895996, | |
0.00601804780960083, | |
0.006058047771453858, | |
0.006022079944610596, | |
0.0061008319854736325 | |
], | |
"count": 163, | |
"total": 0.9972273898124694, | |
"mean": 0.006117959446702267, | |
"p50": 0.006079487800598145, | |
"p90": 0.006308275032043458, | |
"p95": 0.006351871967315674, | |
"p99": 0.006500618171691894, | |
"stdev": 0.00014707380597687064, | |
"stdev_": 2.4039683044343665 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 326.9063839705655 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.282588151839846e-08, | |
"ram": 3.978702170203643e-08, | |
"gpu": 1.8107717280981825e-07, | |
"total": 2.9369007603025315e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6809899.833980019 | |
} | |
} | |
} | |
} |