
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e998cc9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 759.02976, | |
"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.3681796875, | |
"mean": 7.3681796875, | |
"stdev": 0.0, | |
"p50": 7.3681796875, | |
"p90": 7.3681796875, | |
"p95": 7.3681796875, | |
"p99": 7.3681796875, | |
"values": [ | |
7.3681796875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.324261055558245e-07, | |
"ram": 4.946401290913637e-07, | |
"gpu": 0.0, | |
"total": 1.4270662346471882e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 926.16704, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 195, | |
"total": 1.00302051115036, | |
"mean": 0.005143694928976206, | |
"stdev": 0.00023081795166922996, | |
"p50": 0.005033984184265137, | |
"p90": 0.005305958366394043, | |
"p95": 0.005643264150619506, | |
"p99": 0.005985238838195801, | |
"values": [ | |
0.005715968132019043, | |
0.005984255790710449, | |
0.005774335861206055, | |
0.005755904197692871, | |
0.005696512222290039, | |
0.005686272144317627, | |
0.005710847854614258, | |
0.005624832153320313, | |
0.006000639915466309, | |
0.005197824001312256, | |
0.005018623828887939, | |
0.0050135040283203125, | |
0.004994048118591309, | |
0.004984831809997559, | |
0.004996096134185791, | |
0.005001215934753418, | |
0.005190656185150146, | |
0.005248000144958496, | |
0.005275648117065429, | |
0.005276671886444092, | |
0.0052705278396606445, | |
0.005256192207336426, | |
0.0052633600234985355, | |
0.005246975898742676, | |
0.005252096176147461, | |
0.005256192207336426, | |
0.005251071929931641, | |
0.005237760066986084, | |
0.0052899842262268066, | |
0.0052674560546875, | |
0.005261312007904053, | |
0.0053637118339538575, | |
0.005408768177032471, | |
0.005259263992309571, | |
0.0053002238273620605, | |
0.0052633600234985355, | |
0.005260287761688232, | |
0.0052899842262268066, | |
0.005255167961120606, | |
0.005242879867553711, | |
0.005246975898742676, | |
0.005246975898742676, | |
0.005249023914337158, | |
0.005250048160552978, | |
0.005262335777282715, | |
0.005273600101470947, | |
0.0052633600234985355, | |
0.005256192207336426, | |
0.005248000144958496, | |
0.0052367358207702636, | |
0.005296127796173096, | |
0.005220352172851562, | |
0.005244927883148193, | |
0.005274623870849609, | |
0.005274623870849609, | |
0.0052971520423889164, | |
0.005306367874145508, | |
0.005305344104766845, | |
0.005186560153961181, | |
0.005172224044799805, | |
0.005212160110473632, | |
0.00515993595123291, | |
0.005183487892150879, | |
0.005237760066986084, | |
0.005248000144958496, | |
0.0051968002319335935, | |
0.00511078405380249, | |
0.005004288196563721, | |
0.0050135040283203125, | |
0.0050063362121582035, | |
0.005073919773101807, | |
0.005000192165374756, | |
0.005026815891265869, | |
0.005014527797698975, | |
0.005100543975830078, | |
0.0050094079971313476, | |
0.0050360321998596195, | |
0.005035007953643799, | |
0.005064703941345215, | |
0.004988927841186524, | |
0.005008384227752686, | |
0.004986879825592041, | |
0.0050360321998596195, | |
0.004986879825592041, | |
0.004998144149780274, | |
0.004994048118591309, | |
0.005030911922454834, | |
0.0049827837944030765, | |
0.005001215934753418, | |
0.005018623828887939, | |
0.005015552043914795, | |
0.0049489917755126955, | |
0.005401599884033203, | |
0.0050206718444824215, | |
0.004980735778808594, | |
0.004984831809997559, | |
0.005001215934753418, | |
0.005033984184265137, | |
0.0050124797821044925, | |
0.004985856056213379, | |
0.004976640224456787, | |
0.005000192165374756, | |
0.004987904071807861, | |
0.00496127986907959, | |
0.004978687763214112, | |
0.004992000102996826, | |
0.005018623828887939, | |
0.0049623680114746094, | |
0.004980735778808594, | |
0.004988927841186524, | |
0.005014527797698975, | |
0.00497049617767334, | |
0.004987904071807861, | |
0.004976640224456787, | |
0.005022719860076904, | |
0.004960256099700928, | |
0.004974592208862305, | |
0.004989952087402344, | |
0.005021696090698242, | |
0.004977663993835449, | |
0.004967423915863037, | |
0.0049827837944030765, | |
0.005006368160247803, | |
0.004964352130889893, | |
0.004964352130889893, | |
0.0049797120094299315, | |
0.005029888153076172, | |
0.0049797120094299315, | |
0.0049838399887084965, | |
0.004984831809997559, | |
0.005026815891265869, | |
0.004989952087402344, | |
0.004996096134185791, | |
0.005724160194396972, | |
0.005244927883148193, | |
0.005198847770690918, | |
0.005269504070281982, | |
0.005186560153961181, | |
0.005486591815948487, | |
0.005351424217224121, | |
0.0052367358207702636, | |
0.005351424217224121, | |
0.006717440128326416, | |
0.005337088108062744, | |
0.0052715520858764645, | |
0.0051773438453674315, | |
0.005178368091583252, | |
0.005187583923339844, | |
0.005284863948822022, | |
0.005171199798583984, | |
0.0051998720169067385, | |
0.005251071929931641, | |
0.005161983966827393, | |
0.005171199798583984, | |
0.005232639789581299, | |
0.005178368091583252, | |
0.005193727970123291, | |
0.005171199798583984, | |
0.005212160110473632, | |
0.005179391860961914, | |
0.005191679954528809, | |
0.004985856056213379, | |
0.004969471931457519, | |
0.004951039791107178, | |
0.004957183837890625, | |
0.004983808040618896, | |
0.004947008132934571, | |
0.004941823959350586, | |
0.0049489917755126955, | |
0.004968448162078858, | |
0.004959231853485108, | |
0.004940800189971924, | |
0.004975615978240967, | |
0.005379072189331055, | |
0.005008384227752686, | |
0.004931583881378174, | |
0.0049387521743774416, | |
0.004965375900268554, | |
0.004958208084106445, | |
0.004923391819000244, | |
0.004940800189971924, | |
0.004951039791107178, | |
0.004967423915863037, | |
0.004925439834594727, | |
0.004941823959350586, | |
0.004941823959350586, | |
0.004959231853485108, | |
0.004933631896972656, | |
0.004978687763214112, | |
0.0049459199905395506, | |
0.0050032639503479, | |
0.0049428482055664065, | |
0.004943871974945068, | |
0.004962336063385009, | |
0.005021696090698242 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 194.4127740482149 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.914457301685943e-08, | |
"ram": 3.23377462064622e-08, | |
"gpu": 1.2921375732338548e-07, | |
"total": 2.206960765467071e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4531118.158724333 | |
} | |
} | |
} | |
} |