
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
aaa5e71
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.424128, | |
"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.372923828125, | |
"mean": 7.372923828125, | |
"stdev": 0.0, | |
"p50": 7.372923828125, | |
"p90": 7.372923828125, | |
"p95": 7.372923828125, | |
"p99": 7.372923828125, | |
"values": [ | |
7.372923828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.494746263887541e-07, | |
"ram": 5.04684826709593e-07, | |
"gpu": 1.7002791379994858e-06, | |
"total": 3.154438591097833e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 924.676096, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 1.0035744962692261, | |
"mean": 0.0055141455838968465, | |
"stdev": 0.00018017208046143998, | |
"p50": 0.005557760000228881, | |
"p90": 0.005708083057403565, | |
"p95": 0.005764198422431946, | |
"p99": 0.005893867349624634, | |
"values": [ | |
0.005832704067230224, | |
0.006045695781707764, | |
0.00586137580871582, | |
0.005765120029449463, | |
0.005836800098419189, | |
0.005776383876800537, | |
0.005781536102294922, | |
0.005701632022857666, | |
0.005787648200988769, | |
0.005673984050750733, | |
0.00561356782913208, | |
0.00568012809753418, | |
0.005610527992248535, | |
0.005676032066345215, | |
0.005725183963775635, | |
0.005656576156616211, | |
0.005542912006378174, | |
0.005504000186920166, | |
0.005544960021972656, | |
0.005603328227996827, | |
0.0057118721008300784, | |
0.005629951953887939, | |
0.005673984050750733, | |
0.005730303764343261, | |
0.005627903938293457, | |
0.005675007820129394, | |
0.005612544059753418, | |
0.005536767959594726, | |
0.005537792205810547, | |
0.005588992118835449, | |
0.005686272144317627, | |
0.005675007820129394, | |
0.005686272144317627, | |
0.005708799839019775, | |
0.005659647941589355, | |
0.0056852478981018065, | |
0.005599232196807862, | |
0.0056780800819396975, | |
0.0056566400527954105, | |
0.005628928184509278, | |
0.005695487976074219, | |
0.005657599925994873, | |
0.00555622386932373, | |
0.00550707197189331, | |
0.005476352214813233, | |
0.005549056053161621, | |
0.005545983791351319, | |
0.005618688106536865, | |
0.00561356782913208, | |
0.005619711875915527, | |
0.0056217598915100095, | |
0.005604351997375488, | |
0.005697535991668701, | |
0.005746687889099121, | |
0.005667840003967285, | |
0.005740543842315674, | |
0.005667840003967285, | |
0.005699584007263184, | |
0.005615615844726562, | |
0.0055552000999450684, | |
0.00557260799407959, | |
0.005640192031860352, | |
0.0056555519104003905, | |
0.005610496044158936, | |
0.0056483840942382815, | |
0.005654528141021729, | |
0.005637119770050049, | |
0.005619711875915527, | |
0.005486591815948487, | |
0.005578752040863037, | |
0.005636096000671387, | |
0.005559296131134033, | |
0.00567193603515625, | |
0.005677055835723877, | |
0.00561356782913208, | |
0.005561344146728516, | |
0.005570559978485107, | |
0.0056780800819396975, | |
0.005610496044158936, | |
0.005653503894805908, | |
0.005603328227996827, | |
0.0055848960876464845, | |
0.005605375766754151, | |
0.005654528141021729, | |
0.005695487976074219, | |
0.005695487976074219, | |
0.005635072231292724, | |
0.005715968132019043, | |
0.005676032066345215, | |
0.005699584007263184, | |
0.005547008037567139, | |
0.005657599925994873, | |
0.006032383918762207, | |
0.005519360065460205, | |
0.005472256183624268, | |
0.005610496044158936, | |
0.005582848072052002, | |
0.0055203838348388675, | |
0.005525599956512451, | |
0.005587967872619629, | |
0.00530841588973999, | |
0.005362688064575195, | |
0.00557260799407959, | |
0.005486591815948487, | |
0.0052930560111999515, | |
0.005275648117065429, | |
0.005261312007904053, | |
0.005281792163848877, | |
0.005354496002197265, | |
0.005470208168029785, | |
0.005468160152435303, | |
0.005537792205810547, | |
0.005472256183624268, | |
0.005585919857025146, | |
0.005611519813537597, | |
0.005738495826721191, | |
0.005617663860321045, | |
0.005345280170440674, | |
0.005343232154846191, | |
0.005329919815063477, | |
0.005287936210632324, | |
0.00531660795211792, | |
0.0053340158462524415, | |
0.005299200057983398, | |
0.005342207908630371, | |
0.005312511920928955, | |
0.005276671886444092, | |
0.005346303939819336, | |
0.0052971520423889164, | |
0.005277696132659912, | |
0.005329919815063477, | |
0.00530944013595581, | |
0.005282815933227539, | |
0.005349376201629639, | |
0.0052971520423889164, | |
0.005276671886444092, | |
0.005320703983306885, | |
0.005320703983306885, | |
0.005259263992309571, | |
0.00526643180847168, | |
0.005318655967712403, | |
0.005251071929931641, | |
0.005255167961120606, | |
0.005336063861846924, | |
0.005245952129364013, | |
0.0052674560546875, | |
0.005312511920928955, | |
0.0052715520858764645, | |
0.0052715520858764645, | |
0.005288959980010987, | |
0.0052715520858764645, | |
0.005281792163848877, | |
0.00530944013595581, | |
0.005387263774871826, | |
0.005442560195922852, | |
0.005723135948181152, | |
0.005831679821014404, | |
0.005435391902923584, | |
0.00531763219833374, | |
0.0053043198585510255, | |
0.005337088108062744, | |
0.00557260799407959, | |
0.00531660795211792, | |
0.005346303939819336, | |
0.00531660795211792, | |
0.0053002238273620605, | |
0.005314559936523438, | |
0.005288959980010987, | |
0.00526643180847168, | |
0.005305344104766845, | |
0.005298175811767578, | |
0.00531763219833374, | |
0.005361663818359375, | |
0.005281792163848877, | |
0.0053002238273620605, | |
0.005319680213928223, | |
0.005279744148254394, | |
0.005282815933227539, | |
0.005313536167144775, | |
0.0053012480735778805, | |
0.005283840179443359, | |
0.005302271842956543 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.35175881469928 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.220120351585025e-08, | |
"ram": 3.400685456814235e-08, | |
"gpu": 1.2783896207329774e-07, | |
"total": 2.2404702015729035e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4463348.806415538 | |
} | |
} | |
} | |
} |