IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
46cb8c5
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": 1070.608384, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45599.76448, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.6010517578125, | |
"mean": 8.6010517578125, | |
"stdev": 0.0, | |
"p50": 8.6010517578125, | |
"p90": 8.6010517578125, | |
"p95": 8.6010517578125, | |
"p99": 8.6010517578125, | |
"values": [ | |
8.6010517578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1200.070656, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 237582.757888, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9993320851325991, | |
"mean": 0.007189439461385603, | |
"stdev": 0.0006476414446780048, | |
"p50": 0.007172969818115235, | |
"p90": 0.007575146961212158, | |
"p95": 0.007592490005493164, | |
"p99": 0.008395074234008796, | |
"values": [ | |
0.007354249954223633, | |
0.007412489891052246, | |
0.007324810028076172, | |
0.007245130062103271, | |
0.007512330055236816, | |
0.007310410022735595, | |
0.0072571301460266115, | |
0.007646410942077637, | |
0.00885393238067627, | |
0.007321929931640625, | |
0.007496970176696777, | |
0.006823688983917236, | |
0.00679872989654541, | |
0.006844008922576904, | |
0.006796648979187012, | |
0.006759209156036377, | |
0.0067481698989868165, | |
0.006791529178619385, | |
0.006759209156036377, | |
0.006712008953094482, | |
0.006957930088043213, | |
0.0072411298751831055, | |
0.006973128795623779, | |
0.013336498260498047, | |
0.007099850177764893, | |
0.006838889122009278, | |
0.006938729763031006, | |
0.006841448783874512, | |
0.0067952098846435546, | |
0.006751849174499512, | |
0.006804328918457031, | |
0.006755690097808838, | |
0.006900009155273438, | |
0.006989129066467285, | |
0.0075040111541748045, | |
0.00758096981048584, | |
0.007530250072479248, | |
0.007556810855865479, | |
0.007539850234985351, | |
0.007534090042114258, | |
0.007490570068359375, | |
0.007553290843963623, | |
0.0075158500671386715, | |
0.007534890174865722, | |
0.007561131000518799, | |
0.007336810111999512, | |
0.007522089958190918, | |
0.007534890174865722, | |
0.0075731310844421385, | |
0.0075598502159118655, | |
0.007572329998016357, | |
0.007553609848022461, | |
0.00755345106124878, | |
0.007568649768829346, | |
0.007528329849243164, | |
0.007574251174926758, | |
0.007604810237884521, | |
0.007592010021209717, | |
0.007574090957641602, | |
0.0075654501914978025, | |
0.00757873010635376, | |
0.00755472993850708, | |
0.007587689876556397, | |
0.0073995299339294435, | |
0.007264170169830322, | |
0.007190249919891358, | |
0.0071561698913574215, | |
0.006883049011230468, | |
0.006811688899993897, | |
0.007584970951080322, | |
0.007538730144500732, | |
0.0069396901130676265, | |
0.007547689914703369, | |
0.006904969215393067, | |
0.007198729991912842, | |
0.007263370037078857, | |
0.0072435297966003415, | |
0.007155370235443115, | |
0.007098409175872802, | |
0.007191370010375977, | |
0.007136169910430908, | |
0.007133769989013672, | |
0.007090729236602783, | |
0.00705472993850708, | |
0.007224810123443603, | |
0.0073396902084350586, | |
0.007201610088348388, | |
0.0073096098899841306, | |
0.0069777688980102535, | |
0.007128970146179199, | |
0.0070864100456237795, | |
0.006861769199371338, | |
0.006934729099273682, | |
0.006662409782409668, | |
0.0067136092185974125, | |
0.006696329116821289, | |
0.0067068891525268555, | |
0.0066976089477539065, | |
0.0066572890281677245, | |
0.0067115302085876466, | |
0.006863529205322265, | |
0.006703528881072998, | |
0.006707688808441162, | |
0.00667664909362793, | |
0.006691689014434814, | |
0.006661129951477051, | |
0.006658888816833496, | |
0.006686089038848877, | |
0.006653929233551025, | |
0.006632489204406738, | |
0.006708008766174316, | |
0.006694249153137207, | |
0.006649609088897705, | |
0.006641129016876221, | |
0.006685769081115723, | |
0.006678569793701172, | |
0.006830409049987793, | |
0.006701128959655762, | |
0.006640008926391602, | |
0.0066932888031005855, | |
0.00661392879486084, | |
0.006646728992462158, | |
0.006701449871063233, | |
0.006645449161529541, | |
0.006726569175720215, | |
0.007313290119171143, | |
0.00757873010635376, | |
0.007536330223083496, | |
0.007572010993957519, | |
0.007637129783630371, | |
0.00756576919555664, | |
0.007219850063323974, | |
0.007172969818115235, | |
0.007405449867248535, | |
0.007288010120391846, | |
0.007617610931396485, | |
0.007579529762268066, | |
0.007529129981994629, | |
0.00759680986404419 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.09290221734094 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |