
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
51cd011
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_type": "bert", | |
"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": {}, | |
"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": "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": "64d7cde4ffc4c5c7d57f80bbb0bfaa5207878a13", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.12992, | |
"max_global_vram": 2580.799488, | |
"max_process_vram": 43634.91328, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.35351220703125, | |
"mean": 7.35351220703125, | |
"stdev": 0.0, | |
"p50": 7.35351220703125, | |
"p90": 7.35351220703125, | |
"p95": 7.35351220703125, | |
"p99": 7.35351220703125, | |
"values": [ | |
7.35351220703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.892864, | |
"max_global_vram": 2644.33664, | |
"max_process_vram": 228600.32, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0024164810180665, | |
"mean": 0.007425307266800492, | |
"stdev": 0.0002898393095961729, | |
"p50": 0.007352106094360352, | |
"p90": 0.007820550441741942, | |
"p95": 0.00784520649909973, | |
"p99": 0.007895068407058716, | |
"values": [ | |
0.007820262908935546, | |
0.007725062847137451, | |
0.007434505939483643, | |
0.007583784103393555, | |
0.007479304790496826, | |
0.007411305904388428, | |
0.007437864780426026, | |
0.007352106094360352, | |
0.007257546901702881, | |
0.00711546802520752, | |
0.00740922498703003, | |
0.007671144008636475, | |
0.007071147918701172, | |
0.007340906143188476, | |
0.007161386966705322, | |
0.007340267181396485, | |
0.007193867206573486, | |
0.00788138198852539, | |
0.0077333831787109375, | |
0.007801702976226807, | |
0.007183466911315918, | |
0.0073461861610412595, | |
0.007208587169647217, | |
0.007324586868286133, | |
0.007437864780426026, | |
0.007223307132720947, | |
0.007365866184234619, | |
0.007820742130279541, | |
0.007775622844696045, | |
0.0072761068344116215, | |
0.007374345779418945, | |
0.007091147899627686, | |
0.007349386215209961, | |
0.00717946720123291, | |
0.006981228828430176, | |
0.007308425903320312, | |
0.007346506118774414, | |
0.007155148029327393, | |
0.0073013858795166016, | |
0.007311945915222168, | |
0.007196268081665039, | |
0.007260266780853271, | |
0.007369386196136475, | |
0.00734234619140625, | |
0.007090027809143066, | |
0.007317545890808105, | |
0.0074788260459899905, | |
0.007596104145050049, | |
0.007828901767730713, | |
0.007848903179168702, | |
0.007521543979644775, | |
0.007196747779846192, | |
0.007527783870697021, | |
0.007340106010437011, | |
0.007482826232910156, | |
0.007165226936340332, | |
0.007431304931640625, | |
0.006990348815917969, | |
0.007003788948059082, | |
0.007172586917877197, | |
0.007037548065185547, | |
0.006990828990936279, | |
0.007037067890167236, | |
0.00728650712966919, | |
0.007757543087005615, | |
0.007830182075500488, | |
0.007503785133361816, | |
0.0075279450416564945, | |
0.007173226833343506, | |
0.006996269226074219, | |
0.0070466680526733395, | |
0.007218986988067627, | |
0.007240427017211914, | |
0.007239306926727295, | |
0.0071242680549621585, | |
0.007152106761932373, | |
0.006960588932037354, | |
0.0072401070594787596, | |
0.007266666889190674, | |
0.007074347972869873, | |
0.007107626914978027, | |
0.0072169070243835445, | |
0.007390826225280762, | |
0.007134987831115723, | |
0.007014028072357178, | |
0.007249547004699707, | |
0.007246187210083008, | |
0.007123467922210694, | |
0.007468104839324951, | |
0.007280426025390625, | |
0.0073724260330200195, | |
0.0072591471672058105, | |
0.007163786888122558, | |
0.007182827949523926, | |
0.007130187034606933, | |
0.0074289050102233885, | |
0.007126028060913086, | |
0.0072145071029663084, | |
0.007472424983978271, | |
0.0071279478073120114, | |
0.007896101951599122, | |
0.00783562183380127, | |
0.007758983135223389, | |
0.007804422855377197, | |
0.007789382934570313, | |
0.007815142154693604, | |
0.008649216651916505, | |
0.007843622207641602, | |
0.007815463066101074, | |
0.0077927432060241695, | |
0.0077453827857971195, | |
0.007804583072662354, | |
0.00776442289352417, | |
0.007853541851043701, | |
0.007758983135223389, | |
0.007868102073669433, | |
0.007821863174438476, | |
0.00730362606048584, | |
0.007333226203918457, | |
0.007432586193084717, | |
0.007830502033233643, | |
0.007815783023834228, | |
0.00781514310836792, | |
0.0077916221618652345, | |
0.007803462982177735, | |
0.007893062114715577, | |
0.007638183116912842, | |
0.007498825073242187, | |
0.007511624813079834, | |
0.007410984992980957, | |
0.007749383926391602, | |
0.007675142765045166, | |
0.007400906085968018, | |
0.00733850622177124, | |
0.007397865772247315 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.6745614785706 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |