IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e0ec048 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",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.0",
"optimum_benchmark_commit": "8ef7b0420a1d5aa903d786290f7ab247769da879",
"transformers_version": "4.40.2",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1005.871104,
"max_global_vram": 930.562048,
"max_process_vram": 252732.542976,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 140,
"total": 1.0037660169601437,
"mean": 0.007169757264001029,
"stdev": 0.00040911975271247736,
"p50": 0.006991871356964111,
"p90": 0.00782300114631653,
"p95": 0.007853898143768311,
"p99": 0.008743456611633284,
"values": [
0.009181376457214355,
0.008058505058288574,
0.00968457317352295,
0.007860586166381836,
0.007743465900421143,
0.007787466049194336,
0.007813705921173095,
0.007789546966552734,
0.007837544918060303,
0.00783034610748291,
0.0077938661575317385,
0.007819625854492187,
0.007846506118774414,
0.007853546142578126,
0.007822185039520264,
0.00786090612411499,
0.0073956289291381835,
0.007369228839874268,
0.006942031860351562,
0.006950511932373047,
0.006953872203826904,
0.006928431987762451,
0.006939151763916016,
0.006910831928253174,
0.00691483211517334,
0.006949552059173584,
0.006983632087707519,
0.006983311176300049,
0.0069988322257995604,
0.0069919519424438475,
0.006998671054840088,
0.0071948299407958985,
0.006943312168121338,
0.007006832122802734,
0.006981872081756592,
0.006991790771484375,
0.006989712238311767,
0.00699531078338623,
0.006957231998443603,
0.006950511932373047,
0.006950511932373047,
0.006994990825653076,
0.00694155216217041,
0.006973711967468261,
0.006945072174072265,
0.006971151828765869,
0.00698443078994751,
0.006953711986541748,
0.006954991817474365,
0.006926671981811523,
0.00696347188949585,
0.006954512119293213,
0.006971471786499024,
0.006925072193145752,
0.006877071857452392,
0.006961872100830078,
0.006920591831207275,
0.006990352153778076,
0.006966671943664551,
0.0069749908447265625,
0.006974671840667725,
0.006980432033538818,
0.006980910778045655,
0.006950831890106201,
0.0069583520889282225,
0.006965871810913086,
0.006931312084197998,
0.006973072052001953,
0.006966032028198242,
0.00698443078994751,
0.007007472038269043,
0.0070196309089660645,
0.006988592147827148,
0.0073313088417053226,
0.007124910831451416,
0.007013071060180664,
0.006999631881713867,
0.006995312213897705,
0.007350509166717529,
0.006980431079864502,
0.006976912021636963,
0.007171310901641846,
0.006995951175689697,
0.007014992237091064,
0.0069721112251281735,
0.007008272171020508,
0.007104111194610596,
0.007259309768676758,
0.006986831188201904,
0.006965551853179932,
0.006988912105560303,
0.00699531078338623,
0.006983632087707519,
0.006949872016906738,
0.006919472217559814,
0.006996431827545166,
0.006925712108612061,
0.006993230819702149,
0.006984111785888672,
0.006988592147827148,
0.007001070976257324,
0.007155790805816651,
0.007852745056152344,
0.007910826206207276,
0.00785322618484497,
0.007848265171051026,
0.007872585773468017,
0.007532907962799072,
0.007306348800659179,
0.007224269866943359,
0.007259789943695068,
0.007366028785705567,
0.007344589233398437,
0.007192590236663818,
0.006975312232971192,
0.0069417119026184086,
0.007006351947784424,
0.006964911937713623,
0.006960432052612305,
0.0069969120025634764,
0.007409549236297607,
0.007039950847625732,
0.007028591156005859,
0.006985712051391602,
0.007202829837799072,
0.006936111927032471,
0.006940112113952636,
0.007031951904296875,
0.006988911151885986,
0.006984272003173828,
0.0069700322151184085,
0.006972590923309326,
0.007018511772155762,
0.007002991199493408,
0.007022192001342773,
0.006978032112121582,
0.007028110980987549,
0.007019629955291748,
0.007022031784057617,
0.007051311016082764
]
},
"throughput": {
"unit": "samples/s",
"value": 139.47473577954264
},
"energy": null,
"efficiency": null
}
}
}