IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1b4d79e
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.3.0", | |
"optimum_benchmark_commit": "19eeac52e408e408898ac1fac3d9abefced0131b", | |
"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": 1009.115136, | |
"max_global_vram": 938.913792, | |
"max_process_vram": 189746.147328, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.0055894441604616, | |
"mean": 0.007032094015108121, | |
"stdev": 0.0004320315270645075, | |
"p50": 0.006870532035827636, | |
"p90": 0.007548480987548828, | |
"p95": 0.007593921184539795, | |
"p99": 0.008427927036285402, | |
"values": [ | |
0.00835628604888916, | |
0.00847980499267578, | |
0.008112767219543456, | |
0.007213570117950439, | |
0.006965091228485107, | |
0.0069260520935058596, | |
0.006947330951690674, | |
0.006922690868377685, | |
0.006910531997680664, | |
0.006859331130981445, | |
0.00686541223526001, | |
0.006882370948791504, | |
0.006867012023925781, | |
0.006870532035827636, | |
0.006884131908416748, | |
0.006855011940002442, | |
0.006914210796356201, | |
0.00686381196975708, | |
0.006883971214294434, | |
0.006881571769714355, | |
0.0068412508964538574, | |
0.006837411880493164, | |
0.006916612148284912, | |
0.006909410953521728, | |
0.006877572059631348, | |
0.006927971839904785, | |
0.006854052066802978, | |
0.006886692047119141, | |
0.006838051795959472, | |
0.0068241310119628905, | |
0.0067374129295349125, | |
0.006735971927642822, | |
0.0069476509094238284, | |
0.006764132022857666, | |
0.0067206130027771, | |
0.006806050777435303, | |
0.0068527722358703615, | |
0.0068961319923400875, | |
0.006791172027587891, | |
0.006815970897674561, | |
0.006869411945343017, | |
0.006844932079315185, | |
0.006872130870819092, | |
0.006845091819763184, | |
0.00995547866821289, | |
0.007272930145263672, | |
0.006743331909179687, | |
0.006871012210845948, | |
0.006686532020568848, | |
0.007109890937805176, | |
0.007157410144805908, | |
0.007253089904785156, | |
0.007507328987121582, | |
0.0075487689971923825, | |
0.00754732894897461, | |
0.007567169189453125, | |
0.0075404481887817384, | |
0.007538528919219971, | |
0.007516448974609375, | |
0.007537408828735352, | |
0.007453089237213135, | |
0.007104290962219238, | |
0.006953890800476074, | |
0.006962050914764404, | |
0.006857411861419678, | |
0.0072071700096130375, | |
0.007353250026702881, | |
0.0075126090049743655, | |
0.0075554890632629395, | |
0.007554209232330323, | |
0.007508928775787353, | |
0.007529569149017334, | |
0.007573887825012207, | |
0.0076001291275024415, | |
0.007554688930511475, | |
0.007544289112091065, | |
0.007521088123321533, | |
0.007019811153411866, | |
0.0071654109954833985, | |
0.007137889862060547, | |
0.006723331928253174, | |
0.006716932773590088, | |
0.006677251815795898, | |
0.006728611946105957, | |
0.006672452926635742, | |
0.006736452102661133, | |
0.007377728939056396, | |
0.006767171859741211, | |
0.006711651802062988, | |
0.00713853120803833, | |
0.00669517183303833, | |
0.006713891983032226, | |
0.006947651863098144, | |
0.0066655721664428715, | |
0.006702211856842041, | |
0.00669517183303833, | |
0.007669248104095459, | |
0.007612129211425781, | |
0.007594209194183349, | |
0.007591329097747803, | |
0.00738012981414795, | |
0.007125730037689209, | |
0.007206049919128418, | |
0.007288770198822021, | |
0.007225729942321777, | |
0.00723484992980957, | |
0.0071391711235046385, | |
0.007293570041656494, | |
0.006986851215362549, | |
0.006723651885986328, | |
0.006740771770477295, | |
0.006706851959228516, | |
0.006721092224121094, | |
0.006712772846221924, | |
0.006741732120513916, | |
0.006748931884765625, | |
0.006772932052612305, | |
0.006757091999053955, | |
0.006799811840057373, | |
0.006755651950836182, | |
0.006731172084808349, | |
0.006758212089538574, | |
0.006754851818084716, | |
0.006755971908569336, | |
0.006784451961517334, | |
0.006739171981811523, | |
0.006778371810913086, | |
0.006754851818084716, | |
0.006706212043762207, | |
0.0067092528343200685, | |
0.006721732139587403, | |
0.006687972068786621, | |
0.00669389295578003, | |
0.006677251815795898, | |
0.006722852230072022, | |
0.006699652194976807, | |
0.006689892768859863, | |
0.006708131790161133, | |
0.00669949197769165, | |
0.006665412902832031, | |
0.0066942119598388675, | |
0.0067218918800354, | |
0.006839331150054932 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.20515224221225 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |