IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
60c29c7 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.2.1",
"optimum_benchmark_commit": "cc9b50765eac8085269af1a207e20c6a9b260b67",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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.52416,
"max_global_vram": 938.913792,
"max_process_vram": 208959.913984,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 128,
"total": 1.0031074867248535,
"mean": 0.007836777240037918,
"stdev": 0.00040853240686043,
"p50": 0.0076362938880920415,
"p90": 0.008347443580627441,
"p95": 0.008357700204849243,
"p99": 0.008949940710067753,
"values": [
0.009139328956604005,
0.00782797384262085,
0.007934213161468506,
0.007783333778381348,
0.00771869421005249,
0.007539813995361328,
0.007488615036010742,
0.007752133846282959,
0.0077238140106201175,
0.0077598137855529785,
0.007696454048156738,
0.007519175052642822,
0.007662693977355957,
0.007485734939575195,
0.007502374172210694,
0.007504455089569092,
0.007511174201965332,
0.0074948549270629885,
0.007529415130615234,
0.007573093891143799,
0.007453414916992187,
0.007560133934020996,
0.007469254970550537,
0.0075034937858581546,
0.007830373764038086,
0.008437891006469727,
0.00837533187866211,
0.00808253288269043,
0.007947813034057618,
0.008294052124023437,
0.008278371810913086,
0.008291811943054199,
0.00827741241455078,
0.008278852462768554,
0.008277892112731933,
0.008273892402648926,
0.00826173210144043,
0.008307332038879395,
0.008232131958007812,
0.008245892524719238,
0.008257251739501953,
0.008287172317504882,
0.008274051666259765,
0.008317251205444336,
0.008322531700134278,
0.00835069179534912,
0.008298051834106446,
0.008290851593017578,
0.008359492301940918,
0.008312771797180176,
0.00831213092803955,
0.008350051879882813,
0.008333731651306152,
0.008354372024536132,
0.00834093189239502,
0.008322690963745117,
0.008313571929931641,
0.008330211639404297,
0.00834093189239502,
0.008282052040100098,
0.008348451614379884,
0.008350211143493652,
0.008312771797180176,
0.008367972373962402,
0.00834957218170166,
0.007473574161529541,
0.007449254989624023,
0.0074258952140808104,
0.007439014911651612,
0.007423174858093262,
0.007469894886016845,
0.0074778938293457034,
0.007429415225982666,
0.007414535045623779,
0.007425095081329346,
0.0074166150093078614,
0.007389255046844482,
0.007436775207519532,
0.007473733901977539,
0.00756573486328125,
0.007424135208129883,
0.007433895111083984,
0.007475813865661621,
0.00813501262664795,
0.008370051383972168,
0.00834701156616211,
0.009220129013061523,
0.008275491714477539,
0.007854533195495606,
0.007907013893127441,
0.00792525291442871,
0.007931172847747803,
0.007829254150390624,
0.007817893028259278,
0.007859973907470704,
0.007594375133514404,
0.007400454998016358,
0.0075409340858459475,
0.007575334072113037,
0.007469894886016845,
0.007461414813995361,
0.007468134880065918,
0.007480134010314941,
0.007459654808044434,
0.007427975177764893,
0.007485254764556885,
0.007483014106750488,
0.007463494777679444,
0.007414535045623779,
0.00742973518371582,
0.007493733882904053,
0.007524455070495605,
0.007463974952697754,
0.0074962940216064455,
0.0075559749603271486,
0.0074918150901794435,
0.007533574104309082,
0.007514054775238037,
0.007496774196624756,
0.007494694232940674,
0.007487335205078125,
0.007510054111480713,
0.007400935173034668,
0.007576614856719971,
0.0076055750846862795,
0.007671333789825439,
0.00760301399230957,
0.007609893798828125
]
},
"throughput": {
"unit": "samples/s",
"value": 127.60347389881424
},
"energy": null,
"efficiency": null
}
}
}