IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3e7d3bc
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.1", | |
"optimum_benchmark_commit": "c31e63ddb94c29460ba90ff599147e94ff80543a", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1015.320576, | |
"max_global_vram": 938.688512, | |
"max_process_vram": 168882.622464, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.6928 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.002824944972992, | |
"mean": 0.007834569882601498, | |
"stdev": 0.00018330403459145578, | |
"p50": 0.0078066630363464356, | |
"p90": 0.008065380954742431, | |
"p95": 0.008144627952575685, | |
"p99": 0.008285622520446777, | |
"values": [ | |
0.007551465034484863, | |
0.007736904144287109, | |
0.007778982162475586, | |
0.007832262992858887, | |
0.007927621841430664, | |
0.007925861835479737, | |
0.007834342002868653, | |
0.007813862800598145, | |
0.007750823020935059, | |
0.0077527427673339845, | |
0.007695623874664307, | |
0.007686502933502197, | |
0.007722023010253906, | |
0.007717702865600586, | |
0.007912422180175781, | |
0.007771623134613037, | |
0.007725382804870605, | |
0.0077191429138183595, | |
0.0077522630691528325, | |
0.007785062789916992, | |
0.008001380920410157, | |
0.007886181831359864, | |
0.007837381839752198, | |
0.007777062892913819, | |
0.007872742176055908, | |
0.007887301921844482, | |
0.00783610200881958, | |
0.007808743000030517, | |
0.007790502071380615, | |
0.007723302841186524, | |
0.007886662006378173, | |
0.008073220252990723, | |
0.008144740104675294, | |
0.007912261009216309, | |
0.007940581798553467, | |
0.007967781066894532, | |
0.007958341121673583, | |
0.007952742099761963, | |
0.008025541305541992, | |
0.007953862190246581, | |
0.007932102203369141, | |
0.007927940845489503, | |
0.007882182121276855, | |
0.007845703125, | |
0.007871623039245606, | |
0.007859302043914796, | |
0.008062021255493164, | |
0.008103619575500489, | |
0.007980741024017335, | |
0.007930662155151367, | |
0.007999141216278077, | |
0.00804090118408203, | |
0.008118820190429688, | |
0.00811258029937744, | |
0.008371779441833496, | |
0.008290979385375976, | |
0.00827113914489746, | |
0.008244579315185546, | |
0.008223138809204101, | |
0.008100899696350097, | |
0.00814441967010498, | |
0.008217059135437011, | |
0.008038979530334472, | |
0.00802346134185791, | |
0.008054020881652833, | |
0.00800282096862793, | |
0.00800090217590332, | |
0.0079433012008667, | |
0.007911302089691163, | |
0.007952421188354493, | |
0.007837062835693359, | |
0.007978181838989257, | |
0.00805034065246582, | |
0.007984580993652344, | |
0.008014341354370118, | |
0.007826342105865478, | |
0.007793703079223633, | |
0.007736103057861328, | |
0.007778502941131592, | |
0.007719782829284668, | |
0.007703463077545166, | |
0.00788634204864502, | |
0.00790538215637207, | |
0.007826182842254639, | |
0.0077529029846191404, | |
0.007758982181549072, | |
0.007777702808380127, | |
0.0077660231590271, | |
0.007756903171539307, | |
0.0078049030303955075, | |
0.007727142810821533, | |
0.007755463123321533, | |
0.007696582794189453, | |
0.007676743030548096, | |
0.007743783950805664, | |
0.007630663871765137, | |
0.007681703090667725, | |
0.007877223014831543, | |
0.007808423042297364, | |
0.007755143165588379, | |
0.007766502857208252, | |
0.007701383113861084, | |
0.00769434404373169, | |
0.007725223064422608, | |
0.0076977028846740726, | |
0.007625063896179199, | |
0.007693542957305908, | |
0.007656424045562744, | |
0.007623784065246582, | |
0.0076316242218017576, | |
0.007619143962860108, | |
0.007692583084106445, | |
0.0076277837753295896, | |
0.007699303150177002, | |
0.007663623809814453, | |
0.007637063980102539, | |
0.0076599431037902834, | |
0.007628744125366211, | |
0.007661064147949218, | |
0.0076364240646362306, | |
0.00764074182510376, | |
0.007638184070587159, | |
0.007653223991394043, | |
0.0076612229347229, | |
0.0073068270683288574, | |
0.0072372260093688965, | |
0.00759098482131958, | |
0.007657063961029053 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.63942564616531 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |