IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6a8fa3a verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": {},
"hub_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,
"latency": true,
"memory": true,
"energy": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "402644384abc46743e46dac65be6512bc68c9d92",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.958336,
"max_global_vram": 938.651648,
"max_process_vram": 144065.298432,
"max_reserved": 589.299712,
"max_allocated": 439.6928
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.0019398589134216,
"mean": 0.007313429627105268,
"stdev": 0.00044252860680926026,
"p50": 0.007027021884918213,
"p90": 0.007897740173339843,
"p95": 0.007942476177215576,
"p99": 0.008180542907714843,
"values": [
0.008971016883850097,
0.008201739311218263,
0.008142860412597656,
0.00810525894165039,
0.008045260429382323,
0.007942220211029053,
0.007904139995574952,
0.00792110013961792,
0.007870220184326171,
0.007941259860992431,
0.00794350004196167,
0.007920458793640136,
0.007979979991912842,
0.007895500183105468,
0.007832940101623536,
0.007869740009307862,
0.007827980041503906,
0.007827499866485595,
0.007834060192108154,
0.007901100158691407,
0.007878699779510497,
0.007257262229919434,
0.006999182224273682,
0.006923342227935791,
0.006943663120269775,
0.006884141921997071,
0.006953423023223877,
0.006877262115478516,
0.0069489431381225585,
0.006857421875,
0.006877263069152832,
0.006874382972717285,
0.006890542030334472,
0.006892783164978027,
0.006966062068939209,
0.006866542816162109,
0.007122220993041992,
0.006997743129730225,
0.006956622123718261,
0.006937262058258057,
0.007103822231292725,
0.007072941780090332,
0.00717070198059082,
0.006875983238220215,
0.006988622188568115,
0.0069222221374511715,
0.0069251031875610354,
0.006938541889190674,
0.007024621963500977,
0.006933262825012207,
0.007160301208496094,
0.006909263134002685,
0.006942222118377686,
0.006943822860717774,
0.006942543029785156,
0.006975982189178467,
0.006930862903594971,
0.006982062816619873,
0.006905901908874512,
0.006983181953430176,
0.006949263095855713,
0.006980621814727783,
0.006950861930847168,
0.006988142967224121,
0.006869262218475342,
0.006894543170928955,
0.006951181888580322,
0.006953581809997559,
0.006911663055419922,
0.00699438190460205,
0.00736142110824585,
0.007928460121154786,
0.0073204607963562015,
0.007369582176208496,
0.007304780960083008,
0.0071761422157287594,
0.007167022228240966,
0.00736798095703125,
0.007846859931945801,
0.007795820236206055,
0.007802859783172607,
0.007539660930633545,
0.007467020988464355,
0.007256621837615967,
0.007825419902801514,
0.00780702018737793,
0.0074788608551025395,
0.007758220195770263,
0.007807499885559082,
0.007827341079711914,
0.007767660140991211,
0.007785260200500488,
0.0077390198707580566,
0.007755021095275879,
0.007825419902801514,
0.007783979892730713,
0.007740940093994141,
0.0078119797706604,
0.007791820049285888,
0.007820140838623047,
0.00782285976409912,
0.007823339939117432,
0.007822700023651123,
0.007867179870605468,
0.007882060050964356,
0.0076466999053955076,
0.007402061939239502,
0.007414700984954834,
0.006952462196350098,
0.00695070219039917,
0.006985582828521728,
0.007015182018280029,
0.007239020824432373,
0.0069630231857299805,
0.006984622001647949,
0.006975182056427002,
0.007027021884918213,
0.007045262813568115,
0.007004463195800782,
0.007000301837921143,
0.006987021923065185,
0.006983181953430176,
0.006945103168487549,
0.006999022006988526,
0.006935182094573974,
0.006989422798156738,
0.007029262065887451,
0.00701182222366333,
0.006988780975341797,
0.006939501762390137,
0.00694622278213501,
0.006926861763000489,
0.006909263134002685,
0.006913422107696533,
0.0068900628089904785,
0.006908942222595215,
0.0069239821434021
]
},
"throughput": {
"unit": "samples/s",
"value": 136.73475386893284
},
"energy": null,
"efficiency": null
}
}
}