IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c43b37a
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": 2, | |
"sequence_length": 16, | |
"num_choices": 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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1058.414592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5037.105152, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08888787078857421 | |
], | |
"count": 1, | |
"total": 0.08888787078857421, | |
"mean": 0.08888787078857421, | |
"p50": 0.08888787078857421, | |
"p90": 0.08888787078857421, | |
"p95": 0.08888787078857421, | |
"p99": 0.08888787078857421, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1181.966336, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 217017.602048, | |
"max_reserved": 589.299712, | |
"max_allocated": 443.303936 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007502534866333008, | |
0.0071446170806884765, | |
0.007114216804504394, | |
0.007110537052154541, | |
0.007127336978912354, | |
0.007147017002105713, | |
0.007147497177124024, | |
0.007166697025299072, | |
0.007129257202148438, | |
0.007159175872802734, | |
0.007392457008361816, | |
0.007138376235961914, | |
0.00714173698425293, | |
0.007139017105102539, | |
0.007133097171783447, | |
0.007165256977081299, | |
0.007211337089538574, | |
0.007195816040039062, | |
0.007140457153320312, | |
0.007162217140197754, | |
0.007162537097930908, | |
0.0071567769050598145, | |
0.00721053695678711, | |
0.007155176162719727, | |
0.0071738967895507814, | |
0.007196617126464844, | |
0.007213897228240966, | |
0.007175655841827393, | |
0.007153256893157959, | |
0.00715213680267334, | |
0.007143657207489013, | |
0.007222217082977295, | |
0.007193575859069825, | |
0.0071550168991088865, | |
0.007219336986541748, | |
0.007202537059783936, | |
0.007171337127685547, | |
0.007145417213439941, | |
0.007175656795501709, | |
0.007175016880035401, | |
0.007180936813354492, | |
0.007172135829925537, | |
0.007174696922302246, | |
0.007324935913085938, | |
0.007223816871643066, | |
0.00718653678894043, | |
0.007222055912017822, | |
0.007202376842498779, | |
0.007226537227630616, | |
0.0071996569633483885, | |
0.007411976814270019, | |
0.007199016094207764, | |
0.007162376880645752, | |
0.008088773727416992, | |
0.008086693763732911, | |
0.00807037353515625, | |
0.007689095020294189, | |
0.007526854991912842, | |
0.007558856010437012, | |
0.0077004551887512205, | |
0.007571815967559814, | |
0.0075726151466369625, | |
0.00753437614440918, | |
0.00752365493774414, | |
0.007588136196136475, | |
0.007284776210784912, | |
0.007319177150726318, | |
0.008084612846374512, | |
0.008123014450073242, | |
0.008104454040527344, | |
0.007771814823150635, | |
0.007637575149536133, | |
0.007671014785766601, | |
0.007667815208435059, | |
0.0075399761199951175, | |
0.007444456100463868, | |
0.0074145359992980955, | |
0.007467495918273926, | |
0.00755101490020752, | |
0.007441736221313476, | |
0.0072657370567321775, | |
0.007195497035980224, | |
0.007228775978088379, | |
0.007243657112121582, | |
0.007195656776428223, | |
0.007267816066741943, | |
0.007182217121124267, | |
0.0071777372360229495, | |
0.007179815769195557, | |
0.007189736843109131, | |
0.007205097198486328, | |
0.007213736057281494, | |
0.007200457096099853, | |
0.007196297168731689, | |
0.0071764569282531734, | |
0.007209415912628174, | |
0.007161577224731445, | |
0.007189257144927979, | |
0.0071972570419311524, | |
0.007161736011505127, | |
0.0071586971282958985, | |
0.0071782169342041015, | |
0.007203337192535401, | |
0.007168937206268311, | |
0.007196616172790527, | |
0.0072044568061828615, | |
0.007195336818695068, | |
0.007195176124572754, | |
0.007158216953277588, | |
0.007143816947937012, | |
0.007181577205657959, | |
0.007160137176513672, | |
0.007162696838378906, | |
0.007160136222839356, | |
0.00719133710861206, | |
0.00717997694015503, | |
0.007162537097930908, | |
0.007159017086029053, | |
0.0071777358055114746, | |
0.007158536911010743, | |
0.007159817218780518, | |
0.007223496913909912, | |
0.007145896911621093, | |
0.0071889362335205076, | |
0.007169736862182617, | |
0.007173737049102783, | |
0.007226216793060303, | |
0.007233575820922851, | |
0.007197576999664307, | |
0.0071550168991088865, | |
0.007165417194366455, | |
0.007187816143035888, | |
0.007224936962127685, | |
0.0071500568389892575, | |
0.007166216850280762, | |
0.007172615051269531, | |
0.007160457134246826, | |
0.007145096778869629 | |
], | |
"count": 138, | |
"total": 1.0048261914253234, | |
"mean": 0.007281349213226982, | |
"p50": 0.007190536975860595, | |
"p90": 0.007572055721282959, | |
"p95": 0.0077111591339111335, | |
"p99": 0.008098652324676514, | |
"stdev": 0.0002257120494434139, | |
"stdev_": 3.0998657368801266 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 274.6743689159815 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |