
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6cd0cfe
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": 757.61664, | |
"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.421177734375, | |
"mean": 7.421177734375, | |
"stdev": 0.0, | |
"p50": 7.421177734375, | |
"p90": 7.421177734375, | |
"p95": 7.421177734375, | |
"p99": 7.421177734375, | |
"values": [ | |
7.421177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.591767625001938e-07, | |
"ram": 4.988931856999088e-07, | |
"gpu": 0.0, | |
"total": 1.4580699482001025e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 924.880896, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 1.0003324465751648, | |
"mean": 0.005466297522268659, | |
"stdev": 0.00023510356660650964, | |
"p50": 0.005406720161437988, | |
"p90": 0.005721292781829835, | |
"p95": 0.005934489536285401, | |
"p99": 0.006124195766448975, | |
"values": [ | |
0.005938176155090332, | |
0.006014976024627685, | |
0.005910528182983398, | |
0.005816319942474365, | |
0.005941247940063477, | |
0.005553152084350586, | |
0.005525504112243652, | |
0.0054568958282470706, | |
0.005433343887329102, | |
0.005475327968597412, | |
0.005462016105651855, | |
0.005402624130249023, | |
0.005406720161437988, | |
0.005377024173736572, | |
0.005403647899627686, | |
0.005473279953002929, | |
0.005361663818359375, | |
0.005249023914337158, | |
0.00537395191192627, | |
0.0054906878471374515, | |
0.0056217598915100095, | |
0.005545983791351319, | |
0.005612544059753418, | |
0.005669888019561768, | |
0.0054271998405456545, | |
0.005425151824951172, | |
0.005470208168029785, | |
0.005361663818359375, | |
0.0054568958282470706, | |
0.006020095825195313, | |
0.00573747205734253, | |
0.005796864032745362, | |
0.005937151908874512, | |
0.006281216144561768, | |
0.005692416191101074, | |
0.0057292799949646, | |
0.0067758078575134275, | |
0.0057415680885314945, | |
0.005647359848022461, | |
0.006055935859680176, | |
0.006017024040222168, | |
0.005661695957183838, | |
0.005599232196807862, | |
0.005615615844726562, | |
0.005473279953002929, | |
0.005419007778167725, | |
0.00547430419921875, | |
0.005458943843841553, | |
0.005517312049865723, | |
0.005553152084350586, | |
0.005561344146728516, | |
0.005597184181213379, | |
0.00551423978805542, | |
0.005560319900512695, | |
0.005689343929290771, | |
0.005633024215698243, | |
0.005683199882507324, | |
0.0056852478981018065, | |
0.005713920116424561, | |
0.005402624130249023, | |
0.0053637118339538575, | |
0.005323775768280029, | |
0.005280767917633057, | |
0.0053678078651428224, | |
0.005470208168029785, | |
0.005384191989898681, | |
0.005389311790466309, | |
0.005430272102355957, | |
0.0056145920753479005, | |
0.005596159934997558, | |
0.0055808000564575196, | |
0.005470208168029785, | |
0.005606400012969971, | |
0.005606400012969971, | |
0.005596159934997558, | |
0.005757952213287353, | |
0.005585919857025146, | |
0.005548031806945801, | |
0.005567488193511963, | |
0.005590015888214111, | |
0.005605375766754151, | |
0.005586944103240967, | |
0.005596159934997558, | |
0.005611519813537597, | |
0.005586944103240967, | |
0.0056555519104003905, | |
0.005682176113128662, | |
0.005702655792236328, | |
0.005694464206695556, | |
0.0057292799949646, | |
0.005723135948181152, | |
0.005690368175506591, | |
0.006089727878570556, | |
0.005640192031860352, | |
0.005689343929290771, | |
0.005591040134429932, | |
0.0055285758972167965, | |
0.005616640090942383, | |
0.005559296131134033, | |
0.005560319900512695, | |
0.005261312007904053, | |
0.0051968002319335935, | |
0.005093376159667969, | |
0.005122047901153564, | |
0.005269504070281982, | |
0.005264383792877197, | |
0.005101568222045898, | |
0.005127168178558349, | |
0.005313536167144775, | |
0.005347328186035156, | |
0.005288959980010987, | |
0.005328927993774414, | |
0.005444608211517334, | |
0.005406720161437988, | |
0.00535756778717041, | |
0.005404672145843506, | |
0.005473279953002929, | |
0.005578752040863037, | |
0.005653503894805908, | |
0.005349376201629639, | |
0.0053350400924682614, | |
0.005338111877441406, | |
0.005295104026794434, | |
0.005392384052276611, | |
0.005342207908630371, | |
0.00530841588973999, | |
0.005385216236114502, | |
0.00531660795211792, | |
0.0053043198585510255, | |
0.005359615802764893, | |
0.005488639831542969, | |
0.0052899842262268066, | |
0.005346303939819336, | |
0.005294079780578613, | |
0.005273600101470947, | |
0.0052787837982177736, | |
0.0052930560111999515, | |
0.005274623870849609, | |
0.005287936210632324, | |
0.005312511920928955, | |
0.005265408039093018, | |
0.005342207908630371, | |
0.005312511920928955, | |
0.005261312007904053, | |
0.0053043198585510255, | |
0.005262335777282715, | |
0.005253119945526123, | |
0.005284863948822022, | |
0.005251071929931641, | |
0.00525932788848877, | |
0.0053043198585510255, | |
0.0052930560111999515, | |
0.005258240222930908, | |
0.005284863948822022, | |
0.005227519989013672, | |
0.005184512138366699, | |
0.005186560153961181, | |
0.0052070398330688475, | |
0.005232639789581299, | |
0.005180416107177735, | |
0.005202943801879883, | |
0.005190656185150146, | |
0.005198847770690918, | |
0.005167103767395019, | |
0.005296127796173096, | |
0.005277696132659912, | |
0.005242879867553711, | |
0.005287936210632324, | |
0.005305344104766845, | |
0.005268479824066162, | |
0.005291007995605469, | |
0.005258240222930908, | |
0.005283840179443359, | |
0.005314559936523438, | |
0.005264383792877197, | |
0.005281792163848877, | |
0.0052899842262268066, | |
0.005279744148254394, | |
0.005282815933227539, | |
0.0052705278396606445, | |
0.005314559936523438, | |
0.0052633600234985355, | |
0.0052715520858764645 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.93918249531603 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.130673305412591e-08, | |
"ram": 3.3515992840996836e-08, | |
"gpu": 1.2652215161855702e-07, | |
"total": 2.2134487751367977e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4517836.650356622 | |
} | |
} | |
} | |
} |