IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fd2274e
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.2.1", | |
"optimum_benchmark_commit": "0d561969d04a7091baf8691bc894eb753a189d4f", | |
"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.323456, | |
"max_global_vram": 938.901504, | |
"max_process_vram": 203355.582464, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.998997279167176, | |
"mean": 0.007804666243493557, | |
"stdev": 0.00021271723523111024, | |
"p50": 0.00778189492225647, | |
"p90": 0.00788536639213562, | |
"p95": 0.007930462384223938, | |
"p99": 0.008557698602676392, | |
"values": [ | |
0.007765736103057861, | |
0.007658215999603271, | |
0.007839654922485352, | |
0.00779981517791748, | |
0.0077674961090087894, | |
0.007774535179138183, | |
0.007599655151367187, | |
0.007558536052703857, | |
0.007541736125946045, | |
0.007395175933837891, | |
0.00748637580871582, | |
0.007504295825958252, | |
0.007483176231384277, | |
0.00768365478515625, | |
0.007734214782714844, | |
0.007838375091552734, | |
0.007927655220031738, | |
0.007939653873443604, | |
0.00793261480331421, | |
0.007888615131378174, | |
0.007931973934173584, | |
0.007725895881652832, | |
0.007491975784301758, | |
0.007758695125579834, | |
0.007897735118865967, | |
0.009704608917236329, | |
0.008356453895568848, | |
0.008062213897705077, | |
0.007889094829559327, | |
0.00789613389968872, | |
0.0078122949600219725, | |
0.007849094867706298, | |
0.007883974075317383, | |
0.007784934997558593, | |
0.00787469482421875, | |
0.007902695178985595, | |
0.007871974945068359, | |
0.00785277509689331, | |
0.007837893962860108, | |
0.007865095138549804, | |
0.007870534896850585, | |
0.007795175075531006, | |
0.007848615169525147, | |
0.007864934921264648, | |
0.007722535133361816, | |
0.007726055145263672, | |
0.007829734802246094, | |
0.007683334827423095, | |
0.007813735008239746, | |
0.00767853593826294, | |
0.007768294811248779, | |
0.007709414958953858, | |
0.007723814964294433, | |
0.007810054779052734, | |
0.007764455795288086, | |
0.00778077507019043, | |
0.007797255039215088, | |
0.007779015064239502, | |
0.007817094802856445, | |
0.0077743749618530275, | |
0.007739335060119629, | |
0.007733254909515381, | |
0.007814535140991211, | |
0.007748775005340576, | |
0.007804295063018799, | |
0.007728775978088379, | |
0.007786375045776367, | |
0.0077622151374816895, | |
0.007769895076751709, | |
0.007782374858856201, | |
0.007766534805297851, | |
0.007753415107727051, | |
0.007808135032653808, | |
0.007741895198822022, | |
0.007757894992828369, | |
0.007802855014801025, | |
0.007708295822143555, | |
0.007723014831542968, | |
0.007833574771881104, | |
0.007752295017242432, | |
0.007778854846954346, | |
0.007776454925537109, | |
0.007763335227966309, | |
0.007753096103668213, | |
0.007779974937438965, | |
0.00779981517791748, | |
0.008632131576538086, | |
0.007757894992828369, | |
0.007818854808807374, | |
0.007803015232086182, | |
0.007767974853515625, | |
0.007768294811248779, | |
0.007708936214447021, | |
0.00773709487915039, | |
0.007866374969482422, | |
0.007754694938659668, | |
0.007742695808410645, | |
0.00780365514755249, | |
0.007793095111846924, | |
0.007830055236816406, | |
0.007823655128479004, | |
0.007781414985656738, | |
0.007868453979492188, | |
0.007760295867919922, | |
0.007787495136260986, | |
0.00772621488571167, | |
0.0077743749618530275, | |
0.007854054927825928, | |
0.0077409348487854, | |
0.007767495155334473, | |
0.007773574829101563, | |
0.007863494873046875, | |
0.0077938947677612305, | |
0.007845254898071289, | |
0.007821575164794922, | |
0.00777693510055542, | |
0.007759815216064453, | |
0.007796454906463623, | |
0.007831974983215332, | |
0.007849255084991454, | |
0.007787974834442138, | |
0.007745574951171875, | |
0.007778055191040039, | |
0.007784453868865967, | |
0.007835814952850342, | |
0.007830534934997559, | |
0.007805735111236572, | |
0.007751335144042968 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.1284770932595 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |