IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d29f8ef verified
raw
history blame
10.1 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.3.1",
"optimum_benchmark_commit": "50da7b73412b5fcfdb3831f32e0f2c5b8acaf7cf",
"transformers_version": "4.42.3",
"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": 1162.268672,
"max_global_vram": 939.208704,
"max_process_vram": 154553.053184,
"max_reserved": 589.299712,
"max_allocated": 439.6928
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.0009641485214236,
"mean": 0.00782003241032362,
"stdev": 0.00012901793060373268,
"p50": 0.007785976886749268,
"p90": 0.007927209186553956,
"p95": 0.00798520107269287,
"p99": 0.008390489673614502,
"values": [
0.008587175369262696,
0.007854057788848876,
0.007945416927337646,
0.007979496955871582,
0.007971177101135254,
0.007939977169036865,
0.007921737194061279,
0.007850858211517334,
0.007890857219696045,
0.007792137145996094,
0.007836458206176757,
0.007825256824493408,
0.007891817092895508,
0.007888456821441651,
0.007826858043670655,
0.007795016765594482,
0.007774057865142822,
0.007803657054901123,
0.007843177795410156,
0.007835978031158448,
0.007871177196502686,
0.007877737045288087,
0.00781837797164917,
0.007814857006072998,
0.007814056873321533,
0.007743817806243896,
0.007739498138427735,
0.007710856914520264,
0.007704937934875488,
0.007738378047943115,
0.007760937213897705,
0.007730856895446777,
0.007704458236694336,
0.007784138202667237,
0.007772296905517578,
0.007739818096160889,
0.007726377010345459,
0.007778378009796143,
0.007757577896118164,
0.007787016868591309,
0.007747178077697754,
0.007699976921081543,
0.007755018234252929,
0.007754857063293457,
0.007732778072357178,
0.0077927780151367185,
0.007767336845397949,
0.007803338050842285,
0.007777896881103516,
0.007752458095550537,
0.00779405689239502,
0.007766057968139648,
0.007836297035217285,
0.007771656990051269,
0.007838858127593993,
0.0077922968864440915,
0.007767337799072266,
0.0077801370620727535,
0.007675498008728027,
0.007755177974700928,
0.007754537105560302,
0.007717418193817139,
0.007784777164459229,
0.007713257789611816,
0.007743817806243896,
0.007739817142486572,
0.007797418117523193,
0.00773341703414917,
0.007748938083648681,
0.007702377796173096,
0.007774537086486817,
0.007716457843780517,
0.007795816898345948,
0.007739498138427735,
0.0077849369049072265,
0.007757897853851318,
0.007737577915191651,
0.007766537189483643,
0.007835177898406983,
0.007781258106231689,
0.007801577091217041,
0.0078116579055786135,
0.007862697124481201,
0.007915337085723877,
0.007837418079376221,
0.007815176963806153,
0.007865417003631591,
0.007781898021697998,
0.007806056976318359,
0.007742378234863281,
0.00776013708114624,
0.007775018215179444,
0.00775197696685791,
0.007759657859802246,
0.007848776817321778,
0.0077476568222045895,
0.0077761378288269045,
0.007815176963806153,
0.007761417865753174,
0.007810697078704834,
0.007739657878875732,
0.007837576866149902,
0.007775177955627441,
0.007849896907806396,
0.007729578018188477,
0.00779885721206665,
0.007762378215789795,
0.007866217136383056,
0.007801416873931885,
0.007817738056182862,
0.007915496826171875,
0.007954216957092286,
0.007795657157897949,
0.007755177974700928,
0.007903337001800537,
0.007985257148742675,
0.008122056007385255,
0.007839978218078613,
0.00802653694152832,
0.007711816787719727,
0.008252776145935059,
0.00830557632446289,
0.00791789722442627,
0.00842189598083496,
0.007744136810302734,
0.007658537864685059,
0.00798509693145752,
0.007728298187255859
]
},
"throughput": {
"unit": "samples/s",
"value": 127.87670786119115
},
"energy": null,
"efficiency": null
}
}
}