IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a240441 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"device": "cuda",
"device_ids": "5",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_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,
"memory": true,
"latency": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1069.707264,
"max_global_vram": 68702.69952,
"max_process_vram": 48591.09376,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2047119140625,
"mean": 8.2047119140625,
"stdev": 0.0,
"p50": 8.2047119140625,
"p90": 8.2047119140625,
"p95": 8.2047119140625,
"p99": 8.2047119140625,
"values": [
8.2047119140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1199.59552,
"max_global_vram": 68702.69952,
"max_process_vram": 242000.580608,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.0046987166404726,
"mean": 0.007025865151331975,
"stdev": 0.0013618956503978613,
"p50": 0.006735343933105469,
"p90": 0.007546766090393066,
"p95": 0.007629261970520019,
"p99": 0.013313585004806635,
"values": [
0.007219822883605957,
0.007008142948150635,
0.006682864189147949,
0.0068195037841796875,
0.006941263198852539,
0.006928782939910888,
0.006850863933563232,
0.006852462768554688,
0.007931661128997803,
0.006839503765106201,
0.006775983810424805,
0.006717264175415039,
0.006684944152832031,
0.006675824165344239,
0.00667790412902832,
0.006660304069519043,
0.006660624027252197,
0.006638063907623291,
0.006668144226074218,
0.019074993133544924,
0.00703790283203125,
0.006760303974151611,
0.006722864151000977,
0.00669758415222168,
0.0066814241409301756,
0.006629583835601807,
0.006620463848114014,
0.006633425235748291,
0.006607024192810058,
0.006651984214782715,
0.007920781135559081,
0.006967184066772461,
0.006714863777160645,
0.006660624027252197,
0.006652304172515869,
0.006672944068908691,
0.006692783832550049,
0.0066489439010620115,
0.006676303863525391,
0.006670063972473145,
0.006687344074249268,
0.00668782377243042,
0.006685103893280029,
0.00666158390045166,
0.006684304237365723,
0.006682864189147949,
0.006700463771820068,
0.006697904109954834,
0.006717103958129883,
0.006679183959960937,
0.006694223880767822,
0.006719024181365967,
0.006691984176635742,
0.006648784160614014,
0.006917902946472168,
0.006868144035339355,
0.006983663082122803,
0.006907823085784912,
0.006900784015655518,
0.006732624053955078,
0.006754384040832519,
0.006757102966308594,
0.006744624137878418,
0.006735023975372315,
0.006746064186096192,
0.006729423999786377,
0.006794223785400391,
0.006788302898406982,
0.006809743881225586,
0.006759024143218994,
0.00674510383605957,
0.006755983829498291,
0.006747182846069336,
0.006762864112854004,
0.00673854398727417,
0.006714223861694336,
0.0067291040420532225,
0.006935663223266601,
0.0067811040878295896,
0.0067247838973999025,
0.006738383769989014,
0.006744624137878418,
0.006746222972869873,
0.006759664058685303,
0.006782063961029053,
0.0067118239402771,
0.0067150239944458005,
0.006726223945617676,
0.0067126240730285645,
0.006731503963470459,
0.006786703109741211,
0.006697264194488526,
0.0067076640129089355,
0.006701744079589843,
0.0067247838973999025,
0.006732783794403076,
0.006712783813476562,
0.006731184005737305,
0.006741583824157715,
0.006741902828216553,
0.006709104061126709,
0.006690063953399658,
0.006758384227752686,
0.006735343933105469,
0.0067198238372802735,
0.006732304096221924,
0.006717264175415039,
0.006691343784332275,
0.006727824211120606,
0.006746542930603027,
0.00671886396408081,
0.006691984176635742,
0.006727344036102295,
0.006711184024810791,
0.006758863925933838,
0.006759664058685303,
0.006731664180755615,
0.017210840225219726,
0.007572462081909179,
0.007606222152709961,
0.007629261970520019,
0.007110863208770752,
0.007443982124328613,
0.0076316618919372555,
0.007598542213439942,
0.0075828609466552736,
0.006969423770904541,
0.007403982162475586,
0.007365901947021484,
0.007339023113250733,
0.007411821842193604,
0.007653101921081543,
0.007635661125183105,
0.007629261970520019,
0.0076110210418701175,
0.007580142021179199,
0.007106702804565429,
0.007152623176574707,
0.007139183044433593,
0.007015182971954346,
0.007027822971343994,
0.006735184192657471,
0.006732463836669922
]
},
"throughput": {
"unit": "samples/s",
"value": 142.33122590040293
},
"energy": null,
"efficiency": null
}
}
}