IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d1ddc6b verified
raw
history blame
10.6 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": "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.2.1",
"optimum_benchmark_commit": "619f91dd928d405e72e9e7724b958f1538ca7d80",
"transformers_version": "4.41.0",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1008.746496,
"max_global_vram": 1919.275008,
"max_process_vram": 200153.137152,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9998260307312008,
"mean": 0.007141614505222865,
"stdev": 0.00037882533263790974,
"p50": 0.00705578351020813,
"p90": 0.007641016912460327,
"p95": 0.007664689207077027,
"p99": 0.007734771299362182,
"values": [
0.00767442512512207,
0.007623065948486328,
0.007232664108276367,
0.007341784000396728,
0.0074459447860717775,
0.007120343208312988,
0.007226263999938965,
0.007122903823852539,
0.007147704124450684,
0.007212022781372071,
0.0069205031394958495,
0.006870102882385254,
0.006879703044891357,
0.006829782962799073,
0.0070715432167053225,
0.006879542827606201,
0.006993143081665039,
0.006914422988891601,
0.0071349039077758785,
0.006918103218078613,
0.00691746187210083,
0.006860182762145996,
0.007042903900146485,
0.007122743129730225,
0.007197303771972656,
0.007244984149932862,
0.0071435441970825195,
0.007119382858276367,
0.007128824234008789,
0.007066743850708008,
0.0073336238861083985,
0.009288830757141113,
0.0077632260322570805,
0.0076094651222229,
0.0076014652252197265,
0.007631226062774658,
0.0075830650329589844,
0.00765810489654541,
0.007616186141967773,
0.007623064994812012,
0.007629624843597412,
0.007596505165100098,
0.0076427459716796875,
0.007583865165710449,
0.00766194486618042,
0.007665144920349121,
0.007648505210876465,
0.007664665222167969,
0.007669946193695068,
0.007631704807281494,
0.0076773052215576175,
0.007631385803222656,
0.00763954496383667,
0.007616664886474609,
0.00764866590499878,
0.007633625030517578,
0.007600025177001953,
0.0076136250495910645,
0.007643385887145996,
0.0076128249168396,
0.007390903949737549,
0.006907382965087891,
0.007104983806610107,
0.007175384044647216,
0.006935543060302735,
0.006855062007904053,
0.00679282283782959,
0.006823222160339356,
0.006830742835998535,
0.006816022872924805,
0.006828981876373291,
0.006863702774047851,
0.0068904228210449215,
0.006833622932434082,
0.006921621799468994,
0.007282424926757813,
0.0068270621299743655,
0.006856022834777832,
0.007058423042297363,
0.0067478628158569335,
0.006860181808471679,
0.006768503189086914,
0.006870583057403564,
0.006840981960296631,
0.006828823089599609,
0.006874582767486572,
0.006828022003173828,
0.007068024158477783,
0.006935702800750732,
0.006822581768035889,
0.006893463134765625,
0.006732663154602051,
0.00674610185623169,
0.006753622055053711,
0.00674034309387207,
0.006910583019256592,
0.007640824794769287,
0.007566744804382324,
0.007627706050872803,
0.007596024990081787,
0.00769026517868042,
0.00725762414932251,
0.007103384017944336,
0.0071457839012146,
0.007284664154052735,
0.006979543209075928,
0.007172664165496826,
0.007129942893981934,
0.007197783946990967,
0.007097464084625244,
0.007064342975616455,
0.006927382946014404,
0.006816983222961426,
0.0068110618591308595,
0.006804663181304932,
0.007002263069152832,
0.00704770278930664,
0.006833622932434082,
0.006847222805023193,
0.0068110618591308595,
0.007053143978118896,
0.007100502967834473,
0.006835223197937012,
0.0069589028358459475,
0.006934103012084961,
0.00682722282409668,
0.006822261810302734,
0.006805142879486084,
0.006790262222290039,
0.00681298303604126,
0.006759541988372803,
0.006730902194976807,
0.006748021125793457,
0.006747861862182617,
0.006775863170623779,
0.006757942199707032,
0.006731381893157959,
0.006771543025970459,
0.006706421852111817,
0.006660181999206543
]
},
"throughput": {
"unit": "samples/s",
"value": 140.024359935512
},
"energy": null,
"efficiency": null
}
}
}