
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5cda6b5
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.64608, | |
"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.1588486328125, | |
"mean": 7.1588486328125, | |
"stdev": 0.0, | |
"p50": 7.1588486328125, | |
"p90": 7.1588486328125, | |
"p95": 7.1588486328125, | |
"p99": 7.1588486328125, | |
"values": [ | |
7.1588486328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.408858087327746e-07, | |
"ram": 4.867324272737505e-07, | |
"gpu": 1.70083469399826e-06, | |
"total": 3.128452930004785e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.390144, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 180, | |
"total": 1.0017967042922975, | |
"mean": 0.005565537246068318, | |
"stdev": 0.0002559391597661286, | |
"p50": 0.005625856161117554, | |
"p90": 0.005846425533294678, | |
"p95": 0.005944525003433228, | |
"p99": 0.006224814171791077, | |
"values": [ | |
0.005917695999145508, | |
0.0061562881469726565, | |
0.005913599967956543, | |
0.005933055877685547, | |
0.005884928226470947, | |
0.005888000011444092, | |
0.00581324815750122, | |
0.005846015930175781, | |
0.005758975982666016, | |
0.005850111961364746, | |
0.005835775852203369, | |
0.005702655792236328, | |
0.0058009600639343266, | |
0.005733376026153565, | |
0.005786623954772949, | |
0.005629951953887939, | |
0.005574656009674072, | |
0.005640192031860352, | |
0.005683199882507324, | |
0.005733376026153565, | |
0.005769216060638428, | |
0.005858304023742676, | |
0.005769216060638428, | |
0.005835775852203369, | |
0.005707808017730713, | |
0.005635072231292724, | |
0.005713920116424561, | |
0.005752831935882568, | |
0.005786623954772949, | |
0.005723135948181152, | |
0.005756927967071533, | |
0.005716991901397705, | |
0.0057415680885314945, | |
0.0057415680885314945, | |
0.005753856182098388, | |
0.005780479907989502, | |
0.00576204776763916, | |
0.005793791770935058, | |
0.005708799839019775, | |
0.00586137580871582, | |
0.005624832153320313, | |
0.005666816234588623, | |
0.005641215801239013, | |
0.0056852478981018065, | |
0.005660672187805176, | |
0.005605375766754151, | |
0.005703680038452149, | |
0.005667840003967285, | |
0.00570470380783081, | |
0.005801983833312988, | |
0.00573747205734253, | |
0.005801983833312988, | |
0.0057118721008300784, | |
0.005708799839019775, | |
0.0057497601509094234, | |
0.005626880168914795, | |
0.00571289587020874, | |
0.005723135948181152, | |
0.005767168045043946, | |
0.005840896129608154, | |
0.0057487359046936035, | |
0.005681151866912842, | |
0.00568832015991211, | |
0.005611519813537597, | |
0.005591040134429932, | |
0.005730303764343261, | |
0.005627903938293457, | |
0.005675007820129394, | |
0.005784575939178467, | |
0.0056483840942382815, | |
0.005666816234588623, | |
0.006102015972137451, | |
0.005699584007263184, | |
0.005765120029449463, | |
0.006359039783477783, | |
0.006266880035400391, | |
0.006213632106781006, | |
0.005801983833312988, | |
0.005981184005737304, | |
0.005814271926879883, | |
0.005798912048339844, | |
0.005739520072937012, | |
0.005775360107421875, | |
0.0056863040924072265, | |
0.006089727878570556, | |
0.00601804780960083, | |
0.005667840003967285, | |
0.005573631763458252, | |
0.005635072231292724, | |
0.0057415680885314945, | |
0.0056217598915100095, | |
0.005542912006378174, | |
0.0054609918594360355, | |
0.005371903896331787, | |
0.005693439960479736, | |
0.005566463947296142, | |
0.005464064121246338, | |
0.005378047943115235, | |
0.005314559936523438, | |
0.005328896045684814, | |
0.005389311790466309, | |
0.005417984008789062, | |
0.005385216236114502, | |
0.005495808124542236, | |
0.005398528099060058, | |
0.005435391902923584, | |
0.005605375766754151, | |
0.005687295913696289, | |
0.005944320201873779, | |
0.005446656227111817, | |
0.005403647899627686, | |
0.005398528099060058, | |
0.005436416149139404, | |
0.005446656227111817, | |
0.005387263774871826, | |
0.005442560195922852, | |
0.005401599884033203, | |
0.00531660795211792, | |
0.005337088108062744, | |
0.005368832111358642, | |
0.005321728229522705, | |
0.005319680213928223, | |
0.005426176071166992, | |
0.005320703983306885, | |
0.005351424217224121, | |
0.005385216236114502, | |
0.005338111877441406, | |
0.005328896045684814, | |
0.005383200168609619, | |
0.005331967830657959, | |
0.005328896045684814, | |
0.005368832111358642, | |
0.005286911964416504, | |
0.005292031764984131, | |
0.00530841588973999, | |
0.00530841588973999, | |
0.005371903896331787, | |
0.005303296089172363, | |
0.005277696132659912, | |
0.005285888195037842, | |
0.005321728229522705, | |
0.005715968132019043, | |
0.005378047943115235, | |
0.0053534722328186036, | |
0.005215231895446777, | |
0.0052070398330688475, | |
0.00521727991104126, | |
0.0051660799980163576, | |
0.005321728229522705, | |
0.005329919815063477, | |
0.0053821439743042, | |
0.0053340158462524415, | |
0.005372928142547607, | |
0.005315584182739258, | |
0.005268479824066162, | |
0.005291007995605469, | |
0.005182464122772217, | |
0.00522649621963501, | |
0.005278719902038574, | |
0.005213183879852295, | |
0.005238783836364746, | |
0.005188608169555664, | |
0.005252096176147461, | |
0.005193727970123291, | |
0.005206016063690186, | |
0.005232639789581299, | |
0.005179391860961914, | |
0.00520908784866333, | |
0.005224448204040527, | |
0.005251071929931641, | |
0.0051968002319335935, | |
0.005198847770690918, | |
0.005261312007904053, | |
0.005188608169555664, | |
0.005280767917633057, | |
0.005195775985717774, | |
0.0051968002319335935, | |
0.005173247814178467, | |
0.005948416233062744, | |
0.0057825279235839844 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 179.67717325159103 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.109510654026701e-08, | |
"ram": 3.3399941270547874e-08, | |
"gpu": 1.2676986086600313e-07, | |
"total": 2.2126490867681802e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4519469.472046338 | |
} | |
} | |
} | |
} |