
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f3f7a2f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.285632, | |
"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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.367552, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.12218212890625, | |
"mean": 7.12218212890625, | |
"stdev": 0.0, | |
"p50": 7.12218212890625, | |
"p90": 7.12218212890625, | |
"p95": 7.12218212890625, | |
"p99": 7.12218212890625, | |
"values": [ | |
7.12218212890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.201586246490479e-07, | |
"ram": 4.883368192878379e-07, | |
"gpu": 1.7150013720008267e-06, | |
"total": 3.1234968159377123e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.103424, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 193, | |
"total": 1.001838845252991, | |
"mean": 0.005190874845870418, | |
"stdev": 0.00017977926038602484, | |
"p50": 0.0052070398330688475, | |
"p90": 0.005394636821746826, | |
"p95": 0.0054503421783447265, | |
"p99": 0.00556580850601196, | |
"values": [ | |
0.005699584007263184, | |
0.005879807949066162, | |
0.005554175853729248, | |
0.005444608211517334, | |
0.005416959762573242, | |
0.005439487934112549, | |
0.005396480083465576, | |
0.005406720161437988, | |
0.005434368133544922, | |
0.005455872058868408, | |
0.005241856098175048, | |
0.005306367874145508, | |
0.005243904113769531, | |
0.005298175811767578, | |
0.00531660795211792, | |
0.005231616020202637, | |
0.00520908784866333, | |
0.005182464122772217, | |
0.0051333122253417966, | |
0.005311488151550293, | |
0.005294079780578613, | |
0.005279744148254394, | |
0.005387263774871826, | |
0.005336063861846924, | |
0.005312511920928955, | |
0.005257215976715088, | |
0.005272575855255127, | |
0.005215231895446777, | |
0.005148672103881836, | |
0.005295104026794434, | |
0.005416959762573242, | |
0.005323775768280029, | |
0.00531660795211792, | |
0.005346303939819336, | |
0.005320703983306885, | |
0.005288959980010987, | |
0.005285888195037842, | |
0.005269504070281982, | |
0.005272575855255127, | |
0.005299200057983398, | |
0.005323775768280029, | |
0.00530944013595581, | |
0.005203968048095703, | |
0.0051333122253417966, | |
0.00515993595123291, | |
0.005142528057098389, | |
0.005193727970123291, | |
0.0051998720169067385, | |
0.00520908784866333, | |
0.005341184139251709, | |
0.005273600101470947, | |
0.005278719902038574, | |
0.005311488151550293, | |
0.005342207908630371, | |
0.0053606400489807126, | |
0.005355519771575928, | |
0.005288959980010987, | |
0.005312511920928955, | |
0.005287936210632324, | |
0.005212160110473632, | |
0.005181439876556396, | |
0.00531660795211792, | |
0.005285888195037842, | |
0.005285888195037842, | |
0.005320703983306885, | |
0.0053678078651428224, | |
0.005303296089172363, | |
0.005327871799468994, | |
0.00520908784866333, | |
0.0051701760292053225, | |
0.005361663818359375, | |
0.005452799797058106, | |
0.005479423999786377, | |
0.005538815975189209, | |
0.005405695915222168, | |
0.005430272102355957, | |
0.005370880126953125, | |
0.0052408318519592285, | |
0.005223423957824707, | |
0.005239808082580567, | |
0.005216256141662597, | |
0.005274623870849609, | |
0.0053350720405578615, | |
0.005480447769165039, | |
0.005387263774871826, | |
0.005377024173736572, | |
0.005336063861846924, | |
0.00537395191192627, | |
0.005362688064575195, | |
0.005311488151550293, | |
0.005273600101470947, | |
0.00530944013595581, | |
0.00531660795211792, | |
0.0053637118339538575, | |
0.005371903896331787, | |
0.005492735862731934, | |
0.005253119945526123, | |
0.005189631938934326, | |
0.005164031982421875, | |
0.0050462718009948735, | |
0.004957183837890625, | |
0.005123136043548584, | |
0.005180416107177735, | |
0.005091328144073487, | |
0.0051333122253417966, | |
0.0049572157859802245, | |
0.004922368049621582, | |
0.004963327884674072, | |
0.004977663993835449, | |
0.004967423915863037, | |
0.005279744148254394, | |
0.005377024173736572, | |
0.005318655967712403, | |
0.005350399971008301, | |
0.0053821439743042, | |
0.005506048202514649, | |
0.005448703765869141, | |
0.005269504070281982, | |
0.005268479824066162, | |
0.005182464122772217, | |
0.005145599842071533, | |
0.005185535907745361, | |
0.005112832069396973, | |
0.0052070398330688475, | |
0.005182464122772217, | |
0.0051404800415039064, | |
0.005132287979125977, | |
0.00511897611618042, | |
0.005175295829772949, | |
0.005102591991424561, | |
0.005105663776397705, | |
0.005094399929046631, | |
0.00496127986907959, | |
0.0049489917755126955, | |
0.004971519947052002, | |
0.004971519947052002, | |
0.004985856056213379, | |
0.0049725441932678225, | |
0.004941823959350586, | |
0.0049500160217285155, | |
0.004977663993835449, | |
0.004951039791107178, | |
0.004960256099700928, | |
0.004928512096405029, | |
0.004960256099700928, | |
0.0049192957878112795, | |
0.004947968006134033, | |
0.004937727928161621, | |
0.004977663993835449, | |
0.004946944236755371, | |
0.0049203200340270994, | |
0.004951039791107178, | |
0.004959231853485108, | |
0.004944896221160889, | |
0.004937727928161621, | |
0.00501145601272583, | |
0.004974592208862305, | |
0.0049489917755126955, | |
0.005085184097290039, | |
0.0051435518264770505, | |
0.005139455795288086, | |
0.005102591991424561, | |
0.005111807823181152, | |
0.005093376159667969, | |
0.005119999885559082, | |
0.0051066880226135255, | |
0.005114880084991455, | |
0.005083136081695557, | |
0.004966400146484375, | |
0.005053440093994141, | |
0.005100543975830078, | |
0.005139455795288086, | |
0.005142591953277588, | |
0.0050769920349121095, | |
0.004936704158782959, | |
0.004955135822296143, | |
0.004933695793151855, | |
0.005004288196563721, | |
0.004933631896972656, | |
0.004955135822296143, | |
0.004931583881378174, | |
0.004940800189971924, | |
0.004985856056213379, | |
0.004967423915863037, | |
0.0049428482055664065, | |
0.004937727928161621, | |
0.0049387521743774416, | |
0.004944896221160889, | |
0.0049489917755126955, | |
0.0049797120094299315, | |
0.005369855880737305, | |
0.004964352130889893, | |
0.004937727928161621 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 192.6457542692532 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8186404750276075e-08, | |
"ram": 3.169316135133973e-08, | |
"gpu": 1.230570090146345e-07, | |
"total": 2.1293657511625029e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4696234.07558829 | |
} | |
} | |
} | |
} |