IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2f34b39 verified
raw
history blame
10.2 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": "1981150adc21fc49153cb832dbc6f0ecca02bc2a",
"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.201728,
"max_global_vram": 1919.258624,
"max_process_vram": 200948.641792,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 130,
"total": 1.0027230644226073,
"mean": 0.007713254341712365,
"stdev": 0.00022453702249540994,
"p50": 0.007667761564254761,
"p90": 0.007743873310089112,
"p95": 0.007876185607910157,
"p99": 0.008985287122726435,
"values": [
0.007708002090454102,
0.007666720867156983,
0.0075920019149780275,
0.007644960880279541,
0.0076315212249755855,
0.007642402172088623,
0.007675200939178467,
0.007752001762390137,
0.007611680984497071,
0.007640001773834229,
0.007681120872497558,
0.0075795211791992185,
0.007637921810150146,
0.007662880897521973,
0.007638082027435302,
0.007668001174926758,
0.0076747221946716305,
0.007664801120758057,
0.007656802177429199,
0.0076649608612060546,
0.007636480808258057,
0.007636002063751221,
0.007671521186828613,
0.00769392204284668,
0.007726080894470215,
0.008194722175598145,
0.009209120750427246,
0.007668161869049072,
0.008437280654907226,
0.008226080894470215,
0.007665921211242676,
0.0076038408279418945,
0.007651680946350097,
0.007628002166748047,
0.007692800998687744,
0.007667521953582764,
0.007666400909423828,
0.007651041984558105,
0.007669761180877686,
0.007636960983276367,
0.007634562015533447,
0.007684161186218261,
0.007637921810150146,
0.007709280967712402,
0.007644961833953858,
0.0076723208427429196,
0.007636161804199218,
0.00765648078918457,
0.0077414407730102535,
0.007663201808929443,
0.0076864008903503415,
0.007629601955413818,
0.007670880794525147,
0.007676482200622559,
0.007620800971984863,
0.007680321216583252,
0.007610722064971924,
0.007673760890960693,
0.007656802177429199,
0.007639680862426758,
0.0077014417648315426,
0.00760128116607666,
0.007675362110137939,
0.007612161159515381,
0.007656001091003418,
0.0076488018035888675,
0.007630880832672119,
0.00765408182144165,
0.0076417608261108395,
0.007674881935119629,
0.007683200836181641,
0.0076203207969665525,
0.0076532821655273435,
0.007641601085662842,
0.007631522178649902,
0.007622401237487793,
0.007655521869659424,
0.007638881206512451,
0.007711041927337647,
0.007688480854034424,
0.007696960926055908,
0.007668801784515381,
0.007618401050567627,
0.00768080186843872,
0.007683841228485108,
0.00764800214767456,
0.009376320838928223,
0.007957441806793213,
0.007743521213531494,
0.007691041946411133,
0.007707520961761475,
0.007665761947631836,
0.007661601066589355,
0.007711202144622803,
0.007666720867156983,
0.007618081092834472,
0.0076299219131469725,
0.0077054409980773925,
0.007660161972045898,
0.007702081203460693,
0.007716641902923584,
0.007738561153411865,
0.007898722171783447,
0.00784864091873169,
0.00767856216430664,
0.007666881084442139,
0.007718881130218506,
0.007747042179107666,
0.0076644811630249025,
0.007772161960601807,
0.007651680946350097,
0.007812161922454834,
0.007730081081390381,
0.007668642044067383,
0.00774928092956543,
0.007683520793914795,
0.007710562229156494,
0.007695681095123291,
0.007671361923217774,
0.0076961607933044435,
0.007646721839904785,
0.007639201164245606,
0.007649762153625488,
0.0076486411094665524,
0.00768480110168457,
0.007681760787963867,
0.00765376091003418,
0.007731361865997315,
0.007700321197509766,
0.007677921772003174
]
},
"throughput": {
"unit": "samples/s",
"value": 129.6469629676437
},
"energy": null,
"efficiency": null
}
}
}