IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
002e799
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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.228-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.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 809.848832, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08063488006591797 | |
], | |
"count": 1, | |
"total": 0.08063488006591797, | |
"mean": 0.08063488006591797, | |
"p50": 0.08063488006591797, | |
"p90": 0.08063488006591797, | |
"p95": 0.08063488006591797, | |
"p99": 0.08063488006591797, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.61401695111118e-05, | |
"ram": 5.26729798996195e-05, | |
"gpu": 0.00012796538015000074, | |
"total": 0.00027677852956073206 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1056.874496, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006591487884521485, | |
0.0062975997924804685, | |
0.006391808032989502, | |
0.006386688232421875, | |
0.006449151992797852, | |
0.006393856048583985, | |
0.006336512088775635, | |
0.0063569917678833006, | |
0.006301695823669433, | |
0.006372352123260498, | |
0.006305791854858398, | |
0.0062740478515625, | |
0.0064849920272827145, | |
0.006315008163452148, | |
0.006346752166748047, | |
0.006467584133148193, | |
0.006178815841674804, | |
0.006201344013214111, | |
0.006191135883331299, | |
0.00628223991394043, | |
0.006304768085479737, | |
0.006214687824249268, | |
0.006301695823669433, | |
0.006951935768127441, | |
0.006177792072296143, | |
0.0061521921157836916, | |
0.006135807991027832, | |
0.006095871925354004, | |
0.0062975997924804685, | |
0.0061296639442443845, | |
0.006067200183868408, | |
0.006109183788299561, | |
0.006081535816192627, | |
0.0062638077735900875, | |
0.006312960147857666, | |
0.006400000095367431, | |
0.006606847763061524, | |
0.006255616188049316, | |
0.00626585578918457, | |
0.006103040218353272, | |
0.006120448112487793, | |
0.00613478422164917, | |
0.006252543926239014, | |
0.006148096084594727, | |
0.0061296639442443845, | |
0.006195199966430664, | |
0.006261760234832763, | |
0.00622489595413208, | |
0.006100992202758789, | |
0.006157311916351318, | |
0.006182911872863769, | |
0.006260735988616943, | |
0.006434815883636475, | |
0.0062259202003479, | |
0.006207488059997559, | |
0.0062156801223754886, | |
0.00622489595413208, | |
0.0062494721412658695, | |
0.0060364799499511715, | |
0.006037504196166992, | |
0.006110208034515381, | |
0.006055935859680176, | |
0.006110208034515381, | |
0.006062079906463623, | |
0.006116352081298828, | |
0.006161407947540283, | |
0.006296576023101807, | |
0.0062740478515625, | |
0.006210559844970703, | |
0.006371327877044678, | |
0.006188032150268555, | |
0.006276095867156982, | |
0.00622489595413208, | |
0.006116352081298828, | |
0.006007808208465576, | |
0.006174719810485839, | |
0.006340608119964599, | |
0.006056960105895996, | |
0.0059054079055786135, | |
0.00592793607711792, | |
0.005907455921173096, | |
0.0060928001403808595, | |
0.006056960105895996, | |
0.006159359931945801, | |
0.006116352081298828, | |
0.006202367782592774, | |
0.006255616188049316, | |
0.006238207817077636, | |
0.0062945599555969236, | |
0.006180863857269287, | |
0.006115327835083008, | |
0.006001664161682129, | |
0.006057983875274659, | |
0.00601907205581665, | |
0.006051839828491211, | |
0.006005760192871094, | |
0.00603545618057251, | |
0.005962751865386963, | |
0.006030335903167725, | |
0.005914624214172363, | |
0.005961728096008301, | |
0.005954559803009033, | |
0.005964799880981446, | |
0.005949440002441406, | |
0.005953536033630371, | |
0.005945375919342041, | |
0.005909503936767578, | |
0.005903359889984131, | |
0.005948416233062744, | |
0.005883903980255127, | |
0.005868544101715088, | |
0.005889023780822754, | |
0.005964799880981446, | |
0.005956607818603516, | |
0.0059688959121704105, | |
0.005949440002441406, | |
0.005970943927764893, | |
0.005907455921173096, | |
0.005990399837493897, | |
0.0059351038932800295, | |
0.005933055877685547, | |
0.005914624214172363, | |
0.005921792030334472, | |
0.0058419198989868165, | |
0.00586956787109375, | |
0.0058726401329040525, | |
0.005758975982666016, | |
0.00581324815750122, | |
0.005822463989257813, | |
0.005849088191986084, | |
0.00582144021987915, | |
0.005910528182983398, | |
0.005815296173095703, | |
0.005938176155090332, | |
0.005804031848907471, | |
0.005854207992553711, | |
0.005857279777526855, | |
0.005909503936767578, | |
0.005928959846496582, | |
0.005899263858795166, | |
0.0059064321517944334, | |
0.00602726411819458, | |
0.0058726401329040525, | |
0.005903359889984131, | |
0.005838912010192871, | |
0.005829631805419922, | |
0.005896192073822021, | |
0.005854207992553711, | |
0.006000639915466309, | |
0.00591871976852417, | |
0.005732351779937744, | |
0.005858304023742676, | |
0.005922815799713135, | |
0.005923840045928955, | |
0.005895167827606201, | |
0.005944320201873779, | |
0.005839871883392334, | |
0.0058787841796875, | |
0.0059658241271972655, | |
0.005883903980255127, | |
0.005834752082824707, | |
0.005831679821014404, | |
0.005876736164093017, | |
0.005938176155090332, | |
0.0058757119178771975 | |
], | |
"count": 165, | |
"total": 1.0040045423507686, | |
"mean": 0.006084876014247086, | |
"p50": 0.006057983875274659, | |
"p90": 0.0063279105186462405, | |
"p95": 0.006393446445465088, | |
"p99": 0.006597017440795898, | |
"stdev": 0.00019839472238852832, | |
"stdev_": 3.2604562841380553 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 328.68377191535444 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.082586674107396e-08, | |
"ram": 3.87009560560162e-08, | |
"gpu": 1.6662215710714626e-07, | |
"total": 2.761489799042364e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7242467.456130255 | |
} | |
} | |
} | |
} |