IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d746874
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "65fa416fd503cfe9a2be7637ee30c70a4a1f96f1", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.260992, | |
"max_global_vram": 875.331584, | |
"max_process_vram": 42632.876032, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.684748046875, | |
"mean": 6.684748046875, | |
"stdev": 0.0, | |
"p50": 6.684748046875, | |
"p90": 6.684748046875, | |
"p95": 6.684748046875, | |
"p99": 6.684748046875, | |
"values": [ | |
6.684748046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.880576, | |
"max_global_vram": 938.876928, | |
"max_process_vram": 224138.0352, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.0011488580703736, | |
"mean": 0.0066743257204691575, | |
"stdev": 0.0008525872013783128, | |
"p50": 0.006548614501953125, | |
"p90": 0.00676805419921875, | |
"p95": 0.006902886056900024, | |
"p99": 0.010280326461791951, | |
"values": [ | |
0.006895493984222412, | |
0.006754213809967041, | |
0.006870213985443115, | |
0.006952613830566406, | |
0.006908934116363525, | |
0.008050370216369628, | |
0.006746533870697021, | |
0.006773094177246094, | |
0.006737895011901855, | |
0.006686374187469483, | |
0.006645575046539307, | |
0.006620615005493164, | |
0.006576456069946289, | |
0.006615335941314697, | |
0.006556455135345459, | |
0.006549415111541748, | |
0.006511654853820801, | |
0.006493256092071533, | |
0.014988423347473145, | |
0.007656771183013916, | |
0.006986534118652344, | |
0.006428454875946045, | |
0.006434375762939453, | |
0.0064262161254882814, | |
0.006391816139221192, | |
0.006393415927886963, | |
0.0064238147735595705, | |
0.00641485595703125, | |
0.006406055927276611, | |
0.006454216003417969, | |
0.006403175830841065, | |
0.0064759750366210934, | |
0.006461575984954834, | |
0.006426055908203125, | |
0.006404295921325683, | |
0.006435975074768067, | |
0.006401576042175293, | |
0.006409575939178467, | |
0.006422056198120117, | |
0.006434215068817139, | |
0.006429096221923828, | |
0.006420455932617188, | |
0.0064734148979187014, | |
0.006501895904541016, | |
0.0064655752182006835, | |
0.006486695766448974, | |
0.0064844551086425785, | |
0.006466216087341309, | |
0.006490694999694824, | |
0.006485735893249512, | |
0.0065505352020263675, | |
0.006531974792480469, | |
0.00646173620223999, | |
0.006489095211029053, | |
0.0064658961296081546, | |
0.006470376014709472, | |
0.006465895175933838, | |
0.006474215984344483, | |
0.00645165491104126, | |
0.006495975971221924, | |
0.006457574844360351, | |
0.006526855945587158, | |
0.006495015144348144, | |
0.006514376163482666, | |
0.006476614952087402, | |
0.00648029613494873, | |
0.006514214992523194, | |
0.006499814987182617, | |
0.006458375930786133, | |
0.00651709508895874, | |
0.006494056224822998, | |
0.006501894950866699, | |
0.00648637580871582, | |
0.006522055149078369, | |
0.0065433349609375, | |
0.006511975765228271, | |
0.006497574806213379, | |
0.006499335765838623, | |
0.0065351748466491695, | |
0.006493575096130371, | |
0.006496456146240235, | |
0.006502214908599853, | |
0.006484776020050049, | |
0.006531654834747314, | |
0.006480455875396729, | |
0.006494054794311524, | |
0.012422833442687988, | |
0.006522696018218994, | |
0.0065401349067687985, | |
0.006539175033569336, | |
0.006489096164703369, | |
0.006520774841308594, | |
0.0065137348175048826, | |
0.006554855823516846, | |
0.006553255081176758, | |
0.0065804548263549804, | |
0.006577895164489746, | |
0.006584615230560303, | |
0.006579014778137207, | |
0.006564614772796631, | |
0.0065964550971984864, | |
0.006597095012664795, | |
0.006576615810394287, | |
0.0065866951942443845, | |
0.0065754947662353515, | |
0.006584935188293457, | |
0.006579494953155517, | |
0.00660173511505127, | |
0.0065914950370788575, | |
0.006585255146026612, | |
0.006580455780029297, | |
0.00671389389038086, | |
0.006865893840789795, | |
0.0068570938110351564, | |
0.0068458948135375975, | |
0.006913894176483154, | |
0.006728135108947754, | |
0.0066606149673461915, | |
0.006767494201660156, | |
0.00678301477432251, | |
0.006658373832702636, | |
0.006744615077972412, | |
0.006728294849395752, | |
0.006697733879089355, | |
0.006708775043487549, | |
0.006587814807891845, | |
0.0065815749168396, | |
0.006582855224609375, | |
0.006585734844207764, | |
0.006559815883636475, | |
0.00655965518951416, | |
0.006592615127563477, | |
0.006548295021057129, | |
0.006557254791259765, | |
0.0065562958717346196, | |
0.006552454948425293, | |
0.006586534976959229, | |
0.006609095096588135, | |
0.006590215206146241, | |
0.006578054904937744, | |
0.0065823750495910644, | |
0.006593736171722412, | |
0.006580935955047607, | |
0.0065590147972106935, | |
0.006546535015106201, | |
0.0065895748138427735, | |
0.006539336204528809, | |
0.0065498948097229, | |
0.006548933982849121, | |
0.006556934833526611 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.8278690434825 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |