
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
04be208
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.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.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.388032, | |
"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.18664404296875, | |
"mean": 7.18664404296875, | |
"stdev": 0.0, | |
"p50": 7.18664404296875, | |
"p90": 7.18664404296875, | |
"p95": 7.18664404296875, | |
"p99": 7.18664404296875, | |
"values": [ | |
7.18664404296875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.367398089832731e-07, | |
"ram": 4.866383832820512e-07, | |
"gpu": 0.0, | |
"total": 1.4233781922653243e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.156672, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0033306207656865, | |
"mean": 0.005394250649277882, | |
"stdev": 0.00030084091926219927, | |
"p50": 0.005515775918960571, | |
"p90": 0.005717504024505615, | |
"p95": 0.005747967958450317, | |
"p99": 0.005881958532333374, | |
"values": [ | |
0.005911551952362061, | |
0.006065152168273926, | |
0.005876736164093017, | |
0.005785600185394287, | |
0.0058091521263122555, | |
0.005786623954772949, | |
0.0057794561386108395, | |
0.005745664119720459, | |
0.005726208209991455, | |
0.005720064163208007, | |
0.005739520072937012, | |
0.005672959804534912, | |
0.005700607776641845, | |
0.005661695957183838, | |
0.005652480125427246, | |
0.005576704025268555, | |
0.00552243185043335, | |
0.005561344146728516, | |
0.005659647941589355, | |
0.005670911788940429, | |
0.005710847854614258, | |
0.005703680038452149, | |
0.0057415680885314945, | |
0.0057118721008300784, | |
0.005698560237884521, | |
0.005582848072052002, | |
0.005565440177917481, | |
0.005676032066345215, | |
0.005725183963775635, | |
0.005692416191101074, | |
0.005723135948181152, | |
0.005705728054046631, | |
0.005672959804534912, | |
0.005645311832427978, | |
0.005665791988372803, | |
0.0056217598915100095, | |
0.005676032066345215, | |
0.005681151866912842, | |
0.005627903938293457, | |
0.005695487976074219, | |
0.0055920639038085935, | |
0.005530623912811279, | |
0.00552243185043335, | |
0.005540863990783691, | |
0.005600255966186523, | |
0.005545983791351319, | |
0.0055244798660278325, | |
0.005669888019561768, | |
0.00561356782913208, | |
0.005670944213867188, | |
0.005447679996490478, | |
0.005472256183624268, | |
0.005450751781463623, | |
0.005395455837249756, | |
0.005459968090057373, | |
0.0054579200744628905, | |
0.005595136165618897, | |
0.005586944103240967, | |
0.005590015888214111, | |
0.005679103851318359, | |
0.005708799839019775, | |
0.005626880168914795, | |
0.0057118721008300784, | |
0.005693439960479736, | |
0.005683199882507324, | |
0.005588992118835449, | |
0.005604351997375488, | |
0.005674015998840332, | |
0.005595136165618897, | |
0.005661695957183838, | |
0.00571289587020874, | |
0.005629951953887939, | |
0.005607423782348633, | |
0.005636096000671387, | |
0.005705728054046631, | |
0.0056217598915100095, | |
0.005670911788940429, | |
0.005660672187805176, | |
0.005598207950592041, | |
0.005686272144317627, | |
0.005753856182098388, | |
0.0057149438858032225, | |
0.0057487359046936035, | |
0.005784575939178467, | |
0.0057149438858032225, | |
0.005718016147613526, | |
0.005593088150024414, | |
0.005646336078643799, | |
0.005724160194396972, | |
0.005582848072052002, | |
0.005585919857025146, | |
0.005670911788940429, | |
0.005574656009674072, | |
0.00551423978805542, | |
0.005506048202514649, | |
0.0053043198585510255, | |
0.005377024173736572, | |
0.005518335819244385, | |
0.00551526403427124, | |
0.005310463905334473, | |
0.005302271842956543, | |
0.005331967830657959, | |
0.0052971520423889164, | |
0.005387263774871826, | |
0.005421055793762207, | |
0.005375999927520752, | |
0.00551423978805542, | |
0.005516287803649903, | |
0.005576704025268555, | |
0.0055101442337036136, | |
0.0056217598915100095, | |
0.005585919857025146, | |
0.005716991901397705, | |
0.005422080039978027, | |
0.005035007953643799, | |
0.0050462718009948735, | |
0.005000192165374756, | |
0.005026815891265869, | |
0.005007359981536865, | |
0.005038080215454102, | |
0.005075967788696289, | |
0.005018623828887939, | |
0.005055488109588623, | |
0.005078015804290771, | |
0.005040128231048584, | |
0.005057536125183106, | |
0.005070847988128662, | |
0.0050841598510742185, | |
0.00505241584777832, | |
0.0050421757698059086, | |
0.005024767875671386, | |
0.005028863906860351, | |
0.005029888153076172, | |
0.00501145601272583, | |
0.005035007953643799, | |
0.004996096134185791, | |
0.005025792121887207, | |
0.005035007953643799, | |
0.005038080215454102, | |
0.005022719860076904, | |
0.005031936168670655, | |
0.005033984184265137, | |
0.005054463863372802, | |
0.005033984184265137, | |
0.005015552043914795, | |
0.005008384227752686, | |
0.005026815891265869, | |
0.005001215934753418, | |
0.005037055969238281, | |
0.0050063362121582035, | |
0.00505241584777832, | |
0.005017600059509277, | |
0.0050421757698059086, | |
0.00501964807510376, | |
0.005057536125183106, | |
0.00501145601272583, | |
0.0050421757698059086, | |
0.005058559894561767, | |
0.005049344062805176, | |
0.0050503678321838375, | |
0.00505241584777832, | |
0.0050421757698059086, | |
0.005090303897857666, | |
0.005025792121887207, | |
0.00502784013748169, | |
0.005037055969238281, | |
0.0050462718009948735, | |
0.005028863906860351, | |
0.005031936168670655, | |
0.005044223785400391, | |
0.005028863906860351, | |
0.005025792121887207, | |
0.0050432000160217285, | |
0.005045248031616211, | |
0.005028863906860351, | |
0.0050206718444824215, | |
0.005044223785400391, | |
0.0050432000160217285, | |
0.005030911922454834, | |
0.0050360321998596195, | |
0.00505241584777832, | |
0.005064703941345215, | |
0.005049344062805176, | |
0.0050503678321838375, | |
0.0050503678321838375, | |
0.0050503678321838375 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.38256099276146 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.951961580433039e-08, | |
"ram": 3.254137030294772e-08, | |
"gpu": 1.2183845592964986e-07, | |
"total": 2.1389944203692798e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4675094.009022044 | |
} | |
} | |
} | |
} |