IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f66c2b2
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": "2a75c0bc0d007cc875fa0f75ca41d02e46f917be", | |
"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": 1010.036736, | |
"max_global_vram": 938.897408, | |
"max_process_vram": 224170.3936, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0019068245887761, | |
"mean": 0.007260194381078086, | |
"stdev": 0.0004982606472888958, | |
"p50": 0.007052870512008667, | |
"p90": 0.00780210108757019, | |
"p95": 0.0078711811542511, | |
"p99": 0.00808900804042816, | |
"values": [ | |
0.007799989223480225, | |
0.007879670143127442, | |
0.007872949123382569, | |
0.007886710166931153, | |
0.007870869159698486, | |
0.007874710083007812, | |
0.007887508869171143, | |
0.00781855010986328, | |
0.007825910091400146, | |
0.007807028770446777, | |
0.0077767901420593265, | |
0.00777230978012085, | |
0.007739829063415527, | |
0.007709750175476074, | |
0.007723670005798339, | |
0.00773262882232666, | |
0.007781270027160644, | |
0.007753270149230957, | |
0.007773748874664307, | |
0.007764949798583985, | |
0.00783774995803833, | |
0.0077838292121887205, | |
0.007837590217590331, | |
0.007822228908538818, | |
0.010702225685119629, | |
0.008207348823547364, | |
0.007770870208740234, | |
0.007723508834838867, | |
0.0077321500778198245, | |
0.007676469802856445, | |
0.007690390110015869, | |
0.007676469802856445, | |
0.00777278995513916, | |
0.007710869789123535, | |
0.007761589050292969, | |
0.0077590298652648925, | |
0.007704629898071289, | |
0.007696468830108643, | |
0.00768382978439331, | |
0.007727029800415039, | |
0.007689589977264404, | |
0.007289589881896973, | |
0.0074318299293518065, | |
0.007359029769897461, | |
0.007365910053253174, | |
0.007170391082763672, | |
0.0070788698196411134, | |
0.007063671112060547, | |
0.007135510921478272, | |
0.0070526299476623535, | |
0.006959831237792969, | |
0.00705311107635498, | |
0.006982550144195556, | |
0.007175190925598145, | |
0.006849111080169678, | |
0.006874070167541504, | |
0.006850390911102295, | |
0.006872150897979736, | |
0.007075351238250732, | |
0.007063509941101075, | |
0.006852951049804688, | |
0.006885591030120849, | |
0.006816950798034668, | |
0.0068964710235595705, | |
0.00688447093963623, | |
0.006863190174102783, | |
0.0068843111991882325, | |
0.006847031116485595, | |
0.006850390911102295, | |
0.006857591152191162, | |
0.0068700709342956546, | |
0.006840950965881347, | |
0.006915989875793457, | |
0.006888950824737549, | |
0.006869431018829346, | |
0.006861111164093017, | |
0.006862710952758789, | |
0.006838390827178955, | |
0.006968629837036133, | |
0.006894871234893799, | |
0.006872150897979736, | |
0.006895191192626953, | |
0.006846711158752441, | |
0.006893590927124023, | |
0.00688254976272583, | |
0.0068871908187866215, | |
0.007748310089111328, | |
0.006913270950317383, | |
0.006913909912109375, | |
0.006828310966491699, | |
0.0068841509819030765, | |
0.006834071159362793, | |
0.0068511910438537596, | |
0.006865110874176026, | |
0.006936151027679444, | |
0.006869911193847656, | |
0.006856791019439697, | |
0.006864631175994873, | |
0.006988951206207275, | |
0.006898550987243652, | |
0.006971670150756836, | |
0.006881270885467529, | |
0.006937911033630371, | |
0.006891191005706787, | |
0.006958069801330566, | |
0.00690415096282959, | |
0.006902231216430664, | |
0.006916951179504394, | |
0.006904470920562744, | |
0.00688366985321045, | |
0.006895030975341797, | |
0.006937110900878906, | |
0.007303830146789551, | |
0.007743669986724854, | |
0.007717750072479248, | |
0.007223989963531494, | |
0.007173430919647217, | |
0.007273270130157471, | |
0.007774068832397461, | |
0.007694069862365723, | |
0.007311830043792725, | |
0.007417430877685547, | |
0.007191189765930176, | |
0.007167349815368653, | |
0.0071907110214233395, | |
0.007276470184326172, | |
0.007116790771484375, | |
0.006945109844207763, | |
0.006911510944366455, | |
0.006866230964660645, | |
0.006906229972839356, | |
0.0068750309944152835, | |
0.006885591030120849, | |
0.006847829818725586, | |
0.006856630802154541, | |
0.006857110977172852, | |
0.006845591068267823, | |
0.006848151206970215 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.73735901703327 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |