IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1bdc029 verified
raw
history blame
14 kB
{
"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.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.261056,
"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.14475830078125,
"mean": 7.14475830078125,
"stdev": 0.0,
"p50": 7.14475830078125,
"p90": 7.14475830078125,
"p95": 7.14475830078125,
"p99": 7.14475830078125,
"values": [
7.14475830078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.475818938679165e-07,
"ram": 4.900230337736389e-07,
"gpu": 1.8536125940011444e-06,
"total": 3.2912175216426997e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.017408,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 190,
"total": 1.0018346905708313,
"mean": 0.005272814160899112,
"stdev": 0.00022314215731526548,
"p50": 0.0052152321338653565,
"p90": 0.005506560182571411,
"p95": 0.00556743688583374,
"p99": 0.006338088769912717,
"values": [
0.005649407863616943,
0.005669888019561768,
0.005542912006378174,
0.00538316822052002,
0.005409791946411133,
0.005495808124542236,
0.005784575939178467,
0.005393407821655274,
0.005313536167144775,
0.005302271842956543,
0.005339136123657226,
0.005235712051391602,
0.005282815933227539,
0.0052971520423889164,
0.005406720161437988,
0.005310463905334473,
0.005259263992309571,
0.005164031982421875,
0.0051333122253417966,
0.005261312007904053,
0.005281792163848877,
0.005342207908630371,
0.005313536167144775,
0.005550079822540284,
0.00530841588973999,
0.005436416149139404,
0.005283840179443359,
0.005158912181854248,
0.005214208126068115,
0.005292031764984131,
0.005314559936523438,
0.0052971520423889164,
0.0053012480735778805,
0.005284863948822022,
0.005285888195037842,
0.00531660795211792,
0.0052715520858764645,
0.005252096176147461,
0.005254144191741943,
0.005295104026794434,
0.0053043198585510255,
0.005336063861846924,
0.005246975898742676,
0.005183487892150879,
0.005163008213043213,
0.0051404800415039064,
0.005187583923339844,
0.005234687805175781,
0.005190656185150146,
0.005149695873260498,
0.00522649621963501,
0.005343232154846191,
0.005249023914337158,
0.005355519771575928,
0.0053340158462524415,
0.005343232154846191,
0.005314559936523438,
0.005336063861846924,
0.005277696132659912,
0.005511168003082275,
0.005241856098175048,
0.005194752216339111,
0.005244927883148193,
0.005307392120361328,
0.005291007995605469,
0.005274623870849609,
0.005305344104766845,
0.0055203838348388675,
0.0053678078651428224,
0.005178368091583252,
0.005129216194152832,
0.0051968002319335935,
0.005213183879852295,
0.005241856098175048,
0.005296127796173096,
0.00521830415725708,
0.005192704200744629,
0.005274623870849609,
0.005368832111358642,
0.005243904113769531,
0.005194752216339111,
0.005241856098175048,
0.005506048202514649,
0.005468160152435303,
0.005474336147308349,
0.0055848960876464845,
0.005571584224700928,
0.005553152084350586,
0.0055623679161071774,
0.005553152084350586,
0.005536767959594726,
0.005495808124542236,
0.00531660795211792,
0.005329919815063477,
0.005262335777282715,
0.005152768135070801,
0.005538815975189209,
0.005223423957824707,
0.005198847770690918,
0.0051363840103149415,
0.005048319816589355,
0.004936704158782959,
0.0050841598510742185,
0.005203968048095703,
0.005097472190856934,
0.004923391819000244,
0.0049428482055664065,
0.004939775943756103,
0.004960319995880127,
0.004985856056213379,
0.005025792121887207,
0.00497049617767334,
0.005451776027679443,
0.006238207817077636,
0.006325247764587402,
0.006602752208709717,
0.006441984176635742,
0.0058388481140136715,
0.005277696132659912,
0.0052367358207702636,
0.0052070398330688475,
0.00516812801361084,
0.0052111358642578124,
0.0051998720169067385,
0.0051773438453674315,
0.005157887935638428,
0.005186560153961181,
0.005158912181854248,
0.005154816150665284,
0.005189631938934326,
0.0051363840103149415,
0.0051363840103149415,
0.0051701760292053225,
0.005167103767395019,
0.005130239963531494,
0.00516096019744873,
0.005149695873260498,
0.005214208126068115,
0.005212160110473632,
0.00517632007598877,
0.0053637118339538575,
0.005148672103881836,
0.0051660799980163576,
0.0051701760292053225,
0.005167103767395019,
0.005138432025909424,
0.005149695873260498,
0.005098495960235596,
0.005188608169555664,
0.005127168178558349,
0.00516096019744873,
0.005117951869964599,
0.005146624088287354,
0.005171199798583984,
0.005139455795288086,
0.005127168178558349,
0.005179391860961914,
0.005404672145843506,
0.005320703983306885,
0.005344255924224854,
0.005223423957824707,
0.005179391860961914,
0.005141503810882568,
0.005216256141662597,
0.005178368091583252,
0.005123072147369385,
0.005127168178558349,
0.005154816150665284,
0.005142528057098389,
0.005180416107177735,
0.0052070398330688475,
0.00510975980758667,
0.0051363840103149415,
0.005182464122772217,
0.005119999885559082,
0.005117951869964599,
0.005161983966827393,
0.0051497921943664555,
0.005156864166259765,
0.005139455795288086,
0.005338111877441406,
0.0051968002319335935,
0.0051435518264770505,
0.005206016063690186,
0.005141503810882568,
0.005164031982421875,
0.005134335994720459,
0.0051435518264770505,
0.005061632156372071,
0.005007359981536865
]
},
"throughput": {
"unit": "samples/s",
"value": 189.65204717730492
},
"energy": {
"unit": "kWh",
"cpu": 6.074888838662042e-08,
"ram": 3.321352155687274e-08,
"gpu": 1.307166287897385e-07,
"total": 2.2467903873323166e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4450793.476944375
}
}
}
}