
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
240551f
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.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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.736192, | |
"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.18426318359375, | |
"mean": 7.18426318359375, | |
"stdev": 0.0, | |
"p50": 7.18426318359375, | |
"p90": 7.18426318359375, | |
"p95": 7.18426318359375, | |
"p99": 7.18426318359375, | |
"values": [ | |
7.18426318359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.834660424126518e-07, | |
"ram": 5.232740623496094e-07, | |
"gpu": 1.6541679899997538e-06, | |
"total": 3.160908094762015e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.49664, | |
"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.0007860469818108, | |
"mean": 0.005380570145063502, | |
"stdev": 0.00022632735451579743, | |
"p50": 0.005322751998901367, | |
"p90": 0.005645824193954468, | |
"p95": 0.005715711951255798, | |
"p99": 0.00618864631652832, | |
"values": [ | |
0.005757952213287353, | |
0.006159359931945801, | |
0.0057190399169921875, | |
0.005699584007263184, | |
0.00566476821899414, | |
0.005667840003967285, | |
0.00566476821899414, | |
0.005633024215698243, | |
0.005658624172210694, | |
0.005414912223815918, | |
0.005347328186035156, | |
0.005287936210632324, | |
0.005303296089172363, | |
0.0053678078651428224, | |
0.005349376201629639, | |
0.0053043198585510255, | |
0.005201920032501221, | |
0.005152768135070801, | |
0.005195839881896973, | |
0.005262335777282715, | |
0.005346303939819336, | |
0.0053821439743042, | |
0.005362688064575195, | |
0.005401599884033203, | |
0.005403679847717285, | |
0.005343232154846191, | |
0.005494783878326416, | |
0.005214208126068115, | |
0.005238783836364746, | |
0.00537497615814209, | |
0.00538316822052002, | |
0.005597184181213379, | |
0.005677055835723877, | |
0.005345280170440674, | |
0.005401599884033203, | |
0.005354496002197265, | |
0.005307392120361328, | |
0.005339136123657226, | |
0.005347328186035156, | |
0.005312511920928955, | |
0.0053637118339538575, | |
0.005379072189331055, | |
0.005262335777282715, | |
0.005156864166259765, | |
0.0051998720169067385, | |
0.00536575984954834, | |
0.005305344104766845, | |
0.005313536167144775, | |
0.00520908784866333, | |
0.005255167961120606, | |
0.005292031764984131, | |
0.005246975898742676, | |
0.005381120204925537, | |
0.005347328186035156, | |
0.005400576114654541, | |
0.005409791946411133, | |
0.005375999927520752, | |
0.005354496002197265, | |
0.005354496002197265, | |
0.005314559936523438, | |
0.005253119945526123, | |
0.005264383792877197, | |
0.005329919815063477, | |
0.005433343887329102, | |
0.0053340158462524415, | |
0.005530623912811279, | |
0.005590015888214111, | |
0.005629951953887939, | |
0.005567488193511963, | |
0.005445631980895996, | |
0.005493760108947754, | |
0.0055582718849182125, | |
0.0055511040687561035, | |
0.005697535991668701, | |
0.005603328227996827, | |
0.00547430419921875, | |
0.005560319900512695, | |
0.005553152084350586, | |
0.005574656009674072, | |
0.0054917120933532714, | |
0.005573631763458252, | |
0.005544960021972656, | |
0.005553152084350586, | |
0.005617663860321045, | |
0.0056852478981018065, | |
0.005705728054046631, | |
0.005389311790466309, | |
0.00538316822052002, | |
0.005351424217224121, | |
0.005371903896331787, | |
0.005337088108062744, | |
0.00531660795211792, | |
0.0053637118339538575, | |
0.0052971520423889164, | |
0.005192704200744629, | |
0.005292031764984131, | |
0.005321728229522705, | |
0.005361663818359375, | |
0.005212160110473632, | |
0.005082111835479736, | |
0.004994048118591309, | |
0.005094399929046631, | |
0.005258240222930908, | |
0.005187583923339844, | |
0.004973567962646484, | |
0.0050094079971313476, | |
0.004932608127593994, | |
0.004955135822296143, | |
0.005014527797698975, | |
0.004983808040618896, | |
0.005362720012664795, | |
0.005455872058868408, | |
0.005326848030090332, | |
0.005371903896331787, | |
0.0054568958282470706, | |
0.005527552127838135, | |
0.0063836159706115725, | |
0.0060999679565429685, | |
0.006096896171569824, | |
0.006095871925354004, | |
0.006162432193756104, | |
0.006209536075592041, | |
0.005377024173736572, | |
0.005283840179443359, | |
0.0052367358207702636, | |
0.006184959888458252, | |
0.005496831893920898, | |
0.0053606400489807126, | |
0.005255167961120606, | |
0.005187583923339844, | |
0.005230591773986816, | |
0.005355519771575928, | |
0.005202943801879883, | |
0.005391359806060791, | |
0.005254144191741943, | |
0.005323775768280029, | |
0.005393407821655274, | |
0.005243904113769531, | |
0.0053002238273620605, | |
0.0052705278396606445, | |
0.005298175811767578, | |
0.0053002238273620605, | |
0.005279744148254394, | |
0.005245952129364013, | |
0.0052971520423889164, | |
0.005232639789581299, | |
0.005312511920928955, | |
0.005281792163848877, | |
0.005305344104766845, | |
0.005278719902038574, | |
0.005454847812652588, | |
0.0053002238273620605, | |
0.005318655967712403, | |
0.00526643180847168, | |
0.005351424217224121, | |
0.005273600101470947, | |
0.005264383792877197, | |
0.005283840179443359, | |
0.005256192207336426, | |
0.005275648117065429, | |
0.005237760066986084, | |
0.005299200057983398, | |
0.005249023914337158, | |
0.0052408318519592285, | |
0.005272575855255127, | |
0.005253119945526123, | |
0.005242879867553711, | |
0.005273600101470947, | |
0.005239808082580567, | |
0.005250048160552978, | |
0.00522649621963501, | |
0.005310463905334473, | |
0.005298175811767578, | |
0.00537395191192627, | |
0.005255167961120606, | |
0.005259263992309571, | |
0.005235712051391602, | |
0.005292031764984131, | |
0.005286911964416504, | |
0.005234687805175781, | |
0.00530841588973999, | |
0.005258240222930908, | |
0.005302271842956543, | |
0.005259263992309571, | |
0.0052930560111999515, | |
0.005234687805175781 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.85391009491204 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.195187861858696e-08, | |
"ram": 3.387142891747352e-08, | |
"gpu": 1.2740750933333048e-07, | |
"total": 2.2323081686939095e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4479668.237674752 | |
} | |
} | |
} | |
} |