IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0ee4761 verified
raw
history blame
9.99 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_type": "bert",
"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": "41836e67badc33c5e7a42b3b53f44695ff51963e",
"transformers_version": "4.42.4",
"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": 1015.267328,
"max_global_vram": 938.889216,
"max_process_vram": 256190.758912,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 126,
"total": 0.9992990527153012,
"mean": 0.007930944862819853,
"stdev": 0.00013864568115347996,
"p50": 0.007894928455352782,
"p90": 0.008076127529144286,
"p95": 0.008156527280807496,
"p99": 0.008303887367248535,
"values": [
0.008904924392700195,
0.008028127670288087,
0.00806604766845703,
0.008040448188781739,
0.008090686798095704,
0.008029248237609863,
0.008067487716674804,
0.008083168029785157,
0.007979328155517579,
0.007914368152618409,
0.00789116907119751,
0.007860447883605957,
0.007853088855743408,
0.007856287956237794,
0.007810049057006836,
0.007781729221343994,
0.00789660882949829,
0.007882207870483398,
0.007886369228363038,
0.007901088237762451,
0.007855809211730957,
0.007823647975921631,
0.007870688915252685,
0.0077970890998840334,
0.007853249073028564,
0.007910529136657714,
0.007895648002624512,
0.007849248886108398,
0.00789500904083252,
0.007852768898010254,
0.007797248840332031,
0.007813889026641846,
0.007876129150390624,
0.00788588809967041,
0.007877728939056396,
0.007836927890777588,
0.007843489170074464,
0.00790540885925293,
0.007973087787628173,
0.008013407707214355,
0.008005728721618652,
0.007926047801971436,
0.008066847801208496,
0.008015168190002442,
0.00809932804107666,
0.007992767810821533,
0.008040287971496581,
0.008030688285827637,
0.007958687782287598,
0.008002688407897949,
0.007947648048400879,
0.00793452787399292,
0.00794956922531128,
0.007876448154449463,
0.008019007682800294,
0.008331167221069335,
0.008222047805786132,
0.008069087028503417,
0.008057248115539551,
0.008087807655334473,
0.00814860725402832,
0.00817004680633545,
0.008145248413085938,
0.008175006866455078,
0.007990687847137452,
0.007869409084320069,
0.007880127906799317,
0.007938208103179932,
0.0079255690574646,
0.007884768009185791,
0.007934369087219239,
0.008056607246398926,
0.007843489170074464,
0.00786988878250122,
0.007881728172302246,
0.007887009143829346,
0.007873568058013916,
0.007801568984985351,
0.00790636920928955,
0.007975168228149414,
0.007938848018646241,
0.007891808986663819,
0.007914527893066407,
0.008159167289733886,
0.00816156768798828,
0.007979648113250732,
0.007995168209075927,
0.007895328044891358,
0.007919969081878662,
0.008027968406677246,
0.007959648132324219,
0.007894847869873047,
0.00786060905456543,
0.007833728790283203,
0.007899328231811524,
0.007868288040161132,
0.007860128879547118,
0.007910848140716553,
0.007886048793792724,
0.007894527912139893,
0.007836449146270751,
0.007864608764648437,
0.007837088108062744,
0.007842369079589843,
0.007891168117523193,
0.007868608951568604,
0.007926368236541748,
0.007900769233703614,
0.007897568225860596,
0.007857248783111573,
0.007767649173736573,
0.007829248905181885,
0.007805247783660888,
0.007782369136810303,
0.007799648761749268,
0.00784412908554077,
0.007824288845062257,
0.0077799692153930665,
0.007801568031311035,
0.007786209106445312,
0.007788768768310547,
0.007777247905731201,
0.0078174090385437,
0.007807329177856446,
0.007808448791503907,
0.007765248775482177
]
},
"throughput": {
"unit": "samples/s",
"value": 126.08838130851024
},
"energy": null,
"efficiency": null
}
}
}