IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6364539
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": "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": "074fc31a7e13e70facbebbf8b363a0c312f75f69", | |
"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.536448, | |
"max_global_vram": 938.909696, | |
"max_process_vram": 187343.33952, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0040016322135925, | |
"mean": 0.0073823649427470035, | |
"stdev": 0.00033728596227724426, | |
"p50": 0.007308202505111694, | |
"p90": 0.007613641500473022, | |
"p95": 0.007651601552963257, | |
"p99": 0.008111926651000977, | |
"values": [ | |
0.0073598031997680665, | |
0.007347483158111573, | |
0.0073734021186828615, | |
0.007461243152618409, | |
0.007464763164520264, | |
0.0074878020286560055, | |
0.007491322040557862, | |
0.0074431619644165035, | |
0.007475162029266357, | |
0.0074210820198059085, | |
0.007388282775878907, | |
0.007335962772369385, | |
0.0073519620895385746, | |
0.007300443172454834, | |
0.007326202869415283, | |
0.007339643001556396, | |
0.0074210820198059085, | |
0.007312763214111328, | |
0.00732524299621582, | |
0.007303322792053223, | |
0.007354843139648438, | |
0.007327483177185058, | |
0.007353561878204346, | |
0.007308602809906006, | |
0.007390522956848144, | |
0.007356762886047363, | |
0.007333722114562988, | |
0.0073558030128479, | |
0.0073242831230163575, | |
0.007282523155212403, | |
0.007314682960510254, | |
0.007292442798614502, | |
0.007313882827758789, | |
0.007342042922973632, | |
0.007402522087097168, | |
0.007347322940826416, | |
0.0075777220726013185, | |
0.007615481853485108, | |
0.00752252197265625, | |
0.007539161205291748, | |
0.007525082111358643, | |
0.007549881935119629, | |
0.010806344985961914, | |
0.007363801956176758, | |
0.007258042812347412, | |
0.007211324214935303, | |
0.007241882801055908, | |
0.0072330827713012694, | |
0.007214364051818848, | |
0.007227162837982178, | |
0.007274043083190918, | |
0.007270523071289062, | |
0.007286843776702881, | |
0.007254524230957031, | |
0.007241083145141602, | |
0.007190683841705322, | |
0.007303002834320068, | |
0.007513720989227295, | |
0.007258364200592041, | |
0.007240122795104981, | |
0.007225082874298096, | |
0.007280602931976319, | |
0.007205883979797364, | |
0.0072655630111694335, | |
0.0072319631576538085, | |
0.0072348442077636715, | |
0.007265082836151123, | |
0.007211963176727295, | |
0.007255483150482178, | |
0.007229084014892578, | |
0.007198362827301025, | |
0.007262042999267578, | |
0.007277723789215088, | |
0.007251163005828857, | |
0.00726412296295166, | |
0.007240763187408447, | |
0.007234203815460205, | |
0.007177083015441894, | |
0.0072814030647277836, | |
0.00719788408279419, | |
0.007204442977905273, | |
0.007233883857727051, | |
0.00721500301361084, | |
0.0072727627754211426, | |
0.007293882846832275, | |
0.0072350029945373534, | |
0.00791756010055542, | |
0.007206523895263672, | |
0.007295002937316894, | |
0.007245243072509766, | |
0.007281083106994629, | |
0.0072158041000366215, | |
0.007209403991699219, | |
0.00792572021484375, | |
0.007666360855102539, | |
0.007623641967773437, | |
0.00820779800415039, | |
0.007933879852294922, | |
0.00764668083190918, | |
0.007631481170654297, | |
0.007689401149749756, | |
0.0076466817855834965, | |
0.00763676118850708, | |
0.007611801147460937, | |
0.007616442203521728, | |
0.0075540409088134764, | |
0.007415643215179443, | |
0.007259162902832031, | |
0.007217722892761231, | |
0.007205244064331055, | |
0.007250362873077392, | |
0.007271323204040527, | |
0.007228602886199951, | |
0.007255643844604492, | |
0.007359002113342285, | |
0.007376442909240723, | |
0.007387803077697754, | |
0.007307802200317383, | |
0.007337722778320312, | |
0.007293083190917969, | |
0.007328602790832519, | |
0.007282203197479248, | |
0.007323482990264893, | |
0.007292603015899658, | |
0.007346043109893799, | |
0.007303643226623535, | |
0.007363001823425293, | |
0.007310842990875244, | |
0.007292922973632813, | |
0.007291162967681885, | |
0.007314202785491944, | |
0.0073366031646728514, | |
0.007283163070678711, | |
0.007292603015899658, | |
0.007292602062225342, | |
0.007325882911682129 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.45794711523655 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |