IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4a7bdf2
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": "6", | |
"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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1071.087616, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48171.569152, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.785978515625, | |
"mean": 8.785978515625, | |
"stdev": 0.0, | |
"p50": 8.785978515625, | |
"p90": 8.785978515625, | |
"p95": 8.785978515625, | |
"p99": 8.785978515625, | |
"values": [ | |
8.785978515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1200.472064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 263398.600704, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.999183155536652, | |
"mean": 0.007993465244293212, | |
"stdev": 0.001657256580361642, | |
"p50": 0.007713292121887207, | |
"p90": 0.007920908069610596, | |
"p95": 0.008015980911254883, | |
"p99": 0.017878209152221693, | |
"values": [ | |
0.007816011905670167, | |
0.007789291858673096, | |
0.007820813179016114, | |
0.007769772052764893, | |
0.007761291980743408, | |
0.007741131782531738, | |
0.007683852195739746, | |
0.007672972202301025, | |
0.008719053268432617, | |
0.007712811946868897, | |
0.007647371768951416, | |
0.007624011993408203, | |
0.007634091854095459, | |
0.007633131980895996, | |
0.007612651824951172, | |
0.007648012161254883, | |
0.007627051830291748, | |
0.0076358518600463865, | |
0.007688971996307373, | |
0.007643692016601563, | |
0.007677290916442871, | |
0.007686892032623291, | |
0.020668352127075195, | |
0.007731212139129639, | |
0.007710092067718506, | |
0.0076542520523071285, | |
0.007681292057037353, | |
0.007736331939697265, | |
0.007636332035064698, | |
0.007715211868286133, | |
0.007693292140960694, | |
0.007652011871337891, | |
0.007668171882629395, | |
0.0076780920028686524, | |
0.00769137191772461, | |
0.007704172134399414, | |
0.007775531768798828, | |
0.007776971817016602, | |
0.007715531826019287, | |
0.007711852073669433, | |
0.007700332164764404, | |
0.007722891807556152, | |
0.007766571998596192, | |
0.00784113311767578, | |
0.0077252922058105465, | |
0.007762412071228028, | |
0.00770273208618164, | |
0.007704011917114258, | |
0.0076800122261047364, | |
0.007668972015380859, | |
0.00766129207611084, | |
0.0077086520195007325, | |
0.0077729721069335934, | |
0.00776337194442749, | |
0.007838572025299072, | |
0.007858732223510741, | |
0.00780305290222168, | |
0.007750731945037842, | |
0.007697132110595703, | |
0.0076731319427490235, | |
0.00774481201171875, | |
0.007765932083129883, | |
0.007713292121887207, | |
0.007703211784362793, | |
0.0077196922302246096, | |
0.007738411903381348, | |
0.007801931858062744, | |
0.007725612163543701, | |
0.007781291961669922, | |
0.0076891322135925295, | |
0.007678731918334961, | |
0.007679691791534424, | |
0.00767441177368164, | |
0.007695531845092774, | |
0.007675372123718262, | |
0.007633292198181153, | |
0.007665452003479004, | |
0.007708812236785888, | |
0.007768812179565429, | |
0.007828492164611817, | |
0.01854402732849121, | |
0.007714571952819824, | |
0.0073459320068359375, | |
0.0076824121475219725, | |
0.007794891834259033, | |
0.007746091842651367, | |
0.007773292064666748, | |
0.007669611930847168, | |
0.00787905216217041, | |
0.007862253189086914, | |
0.007878252029418945, | |
0.007853611946105957, | |
0.0077656121253967285, | |
0.0077252922058105465, | |
0.00784113311767578, | |
0.007806252002716065, | |
0.007877131938934327, | |
0.007815052032470703, | |
0.0078102521896362305, | |
0.007257290840148926, | |
0.007241611003875732, | |
0.007371531963348389, | |
0.007837292194366454, | |
0.007656492233276367, | |
0.0077012920379638675, | |
0.007675372123718262, | |
0.007613612174987793, | |
0.007646411895751953, | |
0.007625132083892822, | |
0.007640811920166015, | |
0.007684650897979736, | |
0.007679050922393799, | |
0.008002893447875976, | |
0.008063213348388672, | |
0.008014251708984375, | |
0.008135373115539551, | |
0.008011052131652832, | |
0.008016013145446777, | |
0.008015851974487304, | |
0.00800721263885498, | |
0.007948812007904052, | |
0.007685770988464355, | |
0.015769784927368163, | |
0.007675372123718262, | |
0.007782251834869385 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.1021890304623 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |