IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0c8f094
verified
{ | |
"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": {}, | |
"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": "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": "76a02351fb822bf768d5e23c9b8129d5e0d491b2", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.117632, | |
"max_global_vram": 2580.80768, | |
"max_process_vram": 43007.340544, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2110380859375, | |
"mean": 7.2110380859375, | |
"stdev": 0.0, | |
"p50": 7.2110380859375, | |
"p90": 7.2110380859375, | |
"p95": 7.2110380859375, | |
"p99": 7.2110380859375, | |
"values": [ | |
7.2110380859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.499648, | |
"max_global_vram": 2644.344832, | |
"max_process_vram": 252322.238464, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9900073380470269, | |
"mean": 0.007500055591265361, | |
"stdev": 0.00030618697746187523, | |
"p50": 0.007475984573364258, | |
"p90": 0.0078502357006073, | |
"p95": 0.007925923013687134, | |
"p99": 0.008105579652786256, | |
"values": [ | |
0.007867739200592042, | |
0.007907419204711915, | |
0.007850619792938232, | |
0.007767580032348633, | |
0.0076811819076538085, | |
0.0077560610771179195, | |
0.008031256675720215, | |
0.007969337940216065, | |
0.007892378807067871, | |
0.007948538780212403, | |
0.008105976104736328, | |
0.007846778869628906, | |
0.00783542013168335, | |
0.007813819885253906, | |
0.007852540016174317, | |
0.007873818874359131, | |
0.007873340129852295, | |
0.007830780029296875, | |
0.007788859844207764, | |
0.007797019958496094, | |
0.00779286003112793, | |
0.007802140235900879, | |
0.007840539932250977, | |
0.007986777782440186, | |
0.007757339954376221, | |
0.00747430419921875, | |
0.0074475851058959965, | |
0.007427744865417481, | |
0.007403585910797119, | |
0.0074287052154541015, | |
0.007397026062011719, | |
0.007418145179748535, | |
0.0074943041801452635, | |
0.007407905101776123, | |
0.007388545989990235, | |
0.007373345851898193, | |
0.007384706020355225, | |
0.00910836410522461, | |
0.007723260879516602, | |
0.007541664123535156, | |
0.0074666237831115725, | |
0.007470624923706055, | |
0.0074090251922607426, | |
0.007443904876708984, | |
0.00742502498626709, | |
0.00744758415222168, | |
0.007429985046386719, | |
0.007421024799346924, | |
0.007406146049499512, | |
0.007473504066467285, | |
0.007509823799133301, | |
0.007597982883453369, | |
0.00741686487197876, | |
0.007451744079589844, | |
0.007431745052337646, | |
0.007418145179748535, | |
0.007400065898895264, | |
0.007453184127807617, | |
0.007425344944000244, | |
0.0074315848350524905, | |
0.007463105201721191, | |
0.007448544979095459, | |
0.007424705028533936, | |
0.0074336638450622555, | |
0.00744790506362915, | |
0.007502463817596436, | |
0.007481184005737305, | |
0.007521344184875488, | |
0.007380704879760742, | |
0.007505824089050293, | |
0.0073384661674499516, | |
0.007122788906097412, | |
0.0072666268348693846, | |
0.007074629783630371, | |
0.006986790180206299, | |
0.007141668796539307, | |
0.006880712032318115, | |
0.0066400752067565915, | |
0.0072237482070922855, | |
0.006885831832885742, | |
0.006654794216156006, | |
0.007146628856658935, | |
0.007206947803497315, | |
0.006997829914093018, | |
0.007157349109649659, | |
0.007100708961486816, | |
0.007105508804321289, | |
0.006773192882537842, | |
0.006924232006072998, | |
0.007004069805145264, | |
0.006844391822814941, | |
0.0076130228042602536, | |
0.00753542423248291, | |
0.007509664058685302, | |
0.00758262300491333, | |
0.0074311051368713375, | |
0.007486144065856934, | |
0.007495104789733887, | |
0.007504384994506836, | |
0.007469985008239746, | |
0.007528863906860352, | |
0.0075064640045166015, | |
0.007503903865814209, | |
0.007465184211730957, | |
0.007506944179534912, | |
0.007558463096618652, | |
0.008104697227478027, | |
0.007465023994445801, | |
0.007426465034484863, | |
0.00747382402420044, | |
0.007477664947509765, | |
0.007519904136657715, | |
0.00759158182144165, | |
0.007531424045562744, | |
0.007561822891235351, | |
0.007704222202301025, | |
0.007496543884277344, | |
0.00743702507019043, | |
0.007447264194488525, | |
0.007565824031829834, | |
0.007479904174804687, | |
0.007505343914031982, | |
0.007472383975982666, | |
0.0075954217910766605, | |
0.00763414192199707, | |
0.007705341815948486, | |
0.007610941886901855, | |
0.007531263828277588, | |
0.007556063175201416, | |
0.007572383880615235, | |
0.007421986103057861, | |
0.007515903949737549 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.33234505149667 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |