IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f4a0927
verified
{ | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.737856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43568.922624, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.5401123046875, | |
"mean": 7.5401123046875, | |
"stdev": 0.0, | |
"p50": 7.5401123046875, | |
"p90": 7.5401123046875, | |
"p95": 7.5401123046875, | |
"p99": 7.5401123046875, | |
"values": [ | |
7.5401123046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1155.035136, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 227941.052416, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0039940123558044, | |
"mean": 0.007222978506156868, | |
"stdev": 0.0003379172634522948, | |
"p50": 0.007181899070739746, | |
"p90": 0.007660424995422363, | |
"p95": 0.007683721017837525, | |
"p99": 0.007738981838226319, | |
"values": [ | |
0.007669258117675781, | |
0.007669897079467774, | |
0.007704617977142334, | |
0.007664776802062988, | |
0.0075670180320739746, | |
0.007596618175506592, | |
0.007520617008209229, | |
0.0074090991020202635, | |
0.007344297885894776, | |
0.007235498905181885, | |
0.00714509916305542, | |
0.007137098789215088, | |
0.00723677921295166, | |
0.00712637996673584, | |
0.007197897911071777, | |
0.007127179145812988, | |
0.007120460033416748, | |
0.007182538986206055, | |
0.007181899070739746, | |
0.007010059833526611, | |
0.007105578899383545, | |
0.007204459190368652, | |
0.007154539108276368, | |
0.006964299201965332, | |
0.006890860080718994, | |
0.0069463791847229, | |
0.007080619812011719, | |
0.00691581916809082, | |
0.007036139965057373, | |
0.007087179183959961, | |
0.006953098773956299, | |
0.009672612190246581, | |
0.007158699035644531, | |
0.006941740036010742, | |
0.007252939224243164, | |
0.007101259231567383, | |
0.007257418155670166, | |
0.007106860160827636, | |
0.006873579025268555, | |
0.006887179851531982, | |
0.006915180206298828, | |
0.00690765905380249, | |
0.0069281401634216306, | |
0.006935019969940185, | |
0.00704413890838623, | |
0.0069145398139953615, | |
0.006924458980560303, | |
0.006809899806976319, | |
0.006843180179595947, | |
0.0072028589248657226, | |
0.006865419864654541, | |
0.007497737884521485, | |
0.007324617862701416, | |
0.00726301908493042, | |
0.007659337043762207, | |
0.007230538845062256, | |
0.007419338226318359, | |
0.007324298858642578, | |
0.007360298156738282, | |
0.007587337970733642, | |
0.0076143770217895505, | |
0.007311338901519775, | |
0.007264298915863037, | |
0.0073498978614807125, | |
0.007154378890991211, | |
0.0072967782020568845, | |
0.007301578998565674, | |
0.007119658946990967, | |
0.007189259052276611, | |
0.007132618904113769, | |
0.007245899200439453, | |
0.007270058155059814, | |
0.007166059017181397, | |
0.007137898921966553, | |
0.007114378929138183, | |
0.007336459159851074, | |
0.007478377819061279, | |
0.0071906991004943846, | |
0.0075039777755737305, | |
0.007574057102203369, | |
0.007471337795257569, | |
0.007297739028930664, | |
0.007235339164733887, | |
0.0072617378234863285, | |
0.007303339004516601, | |
0.0072145390510559085, | |
0.007077259063720703, | |
0.0072764577865600585, | |
0.007104619026184082, | |
0.00714125919342041, | |
0.006972620010375977, | |
0.006975819110870361, | |
0.006834060192108154, | |
0.006837739944458008, | |
0.00692110013961792, | |
0.007019818782806397, | |
0.006917419910430908, | |
0.006896938800811768, | |
0.006976940155029297, | |
0.0071594991683959965, | |
0.00698301887512207, | |
0.006925899982452393, | |
0.007123498916625976, | |
0.0069582200050354, | |
0.006974699020385743, | |
0.006746059894561768, | |
0.006775979995727539, | |
0.006753739833831787, | |
0.006679340839385987, | |
0.00671422004699707, | |
0.006764299869537353, | |
0.0067292599678039555, | |
0.007561898231506348, | |
0.007669417858123779, | |
0.007683176994323731, | |
0.00768861722946167, | |
0.00723469877243042, | |
0.0069964599609375, | |
0.007104299068450928, | |
0.007474857807159424, | |
0.007729257106781006, | |
0.007732137203216553, | |
0.007437098026275635, | |
0.007461098194122315, | |
0.007634218215942383, | |
0.0076785368919372555, | |
0.007672458171844482, | |
0.007465258121490479, | |
0.0071172590255737305, | |
0.007136458873748779, | |
0.0070958189964294436, | |
0.007323819160461426, | |
0.007743176937103272, | |
0.0077086172103881835, | |
0.00753341817855835, | |
0.0072505388259887695, | |
0.007193579196929932, | |
0.007321257114410401, | |
0.007175339221954346 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.4470408083867 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |