IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3c3b088
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": {}, | |
"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, | |
"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": "bc977b19adf337e8eb02985f3cceb35e1a783a1c", | |
"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": 896.499712, | |
"max_global_vram": 875.327488, | |
"max_process_vram": 45499.53536, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.57312 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1266611328125, | |
"mean": 7.1266611328125, | |
"stdev": 0.0, | |
"p50": 7.1266611328125, | |
"p90": 7.1266611328125, | |
"p95": 7.1266611328125, | |
"p99": 7.1266611328125, | |
"values": [ | |
7.1266611328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.127488, | |
"max_global_vram": 938.868736, | |
"max_process_vram": 235990.704128, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0036660089492797, | |
"mean": 0.007434563029253926, | |
"stdev": 0.00047333287760387756, | |
"p50": 0.007356478214263916, | |
"p90": 0.0080413423538208, | |
"p95": 0.008193646621704102, | |
"p99": 0.008399758148193359, | |
"values": [ | |
0.007959358215332031, | |
0.007980157852172851, | |
0.0083017578125, | |
0.008344318389892578, | |
0.00842831802368164, | |
0.008300798416137695, | |
0.008264318466186523, | |
0.008163358688354492, | |
0.008135678291320801, | |
0.008102237701416016, | |
0.008332158088684082, | |
0.008033918380737306, | |
0.008011837959289551, | |
0.007968798160552978, | |
0.007942718982696533, | |
0.008004158020019532, | |
0.007972958087921143, | |
0.00801615810394287, | |
0.008024638175964355, | |
0.007969758033752442, | |
0.008001917839050294, | |
0.007939198970794677, | |
0.007916798114776611, | |
0.008031997680664062, | |
0.008041598320007325, | |
0.008018238067626953, | |
0.008042238235473632, | |
0.008005277633666992, | |
0.00808799934387207, | |
0.008040958404541016, | |
0.009259677886962891, | |
0.008106557846069336, | |
0.00781807804107666, | |
0.007839677810668945, | |
0.007895358085632324, | |
0.007891677856445312, | |
0.007795198917388916, | |
0.007904478073120117, | |
0.007614078044891358, | |
0.007412958145141602, | |
0.007420798778533935, | |
0.007398397922515869, | |
0.007348477840423584, | |
0.007024959087371826, | |
0.006989277839660644, | |
0.007013117790222168, | |
0.006954558849334717, | |
0.006986557960510254, | |
0.00698655891418457, | |
0.006937757968902588, | |
0.007009597778320312, | |
0.007771678924560547, | |
0.007790398120880127, | |
0.007790078163146972, | |
0.007295837879180908, | |
0.0073915190696716305, | |
0.007335998058319092, | |
0.0073550381660461425, | |
0.007477437973022461, | |
0.007459198951721192, | |
0.007359198093414307, | |
0.007353278160095214, | |
0.00743695878982544, | |
0.007237597942352295, | |
0.006983997821807861, | |
0.0069951992034912105, | |
0.007058077812194824, | |
0.006998558044433594, | |
0.006961759090423584, | |
0.007011037826538086, | |
0.006947518825531006, | |
0.007017278194427491, | |
0.006985757827758789, | |
0.006946878910064697, | |
0.006998717784881592, | |
0.006970879077911377, | |
0.006925757884979248, | |
0.0069763178825378415, | |
0.007016318798065186, | |
0.006933917999267578, | |
0.007030398845672608, | |
0.006949118137359619, | |
0.006981118202209473, | |
0.007001119136810303, | |
0.006956957817077637, | |
0.007018077850341797, | |
0.007015678882598877, | |
0.006993278026580811, | |
0.007017599105834961, | |
0.007017598152160644, | |
0.007028478145599365, | |
0.006958078861236572, | |
0.006943357944488525, | |
0.0069839987754821775, | |
0.007023677825927734, | |
0.006965598106384277, | |
0.00706895923614502, | |
0.007170718193054199, | |
0.007030077934265137, | |
0.0072012791633605956, | |
0.0074044780731201175, | |
0.0078399977684021, | |
0.007817438125610351, | |
0.007442399024963379, | |
0.007356478214263916, | |
0.007329917907714843, | |
0.00738447904586792, | |
0.0074833579063415525, | |
0.007388957977294922, | |
0.007725758075714111, | |
0.007621119022369385, | |
0.007385278224945068, | |
0.007309597969055176, | |
0.007403998851776123, | |
0.007441758155822754, | |
0.007454078197479248, | |
0.007464797973632813, | |
0.007448799133300781, | |
0.007412477970123291, | |
0.007376957893371582, | |
0.007329759120941162, | |
0.00699055814743042, | |
0.007029598236083985, | |
0.006953118801116943, | |
0.006975197792053222, | |
0.007016958236694336, | |
0.006989599227905274, | |
0.006965918064117432, | |
0.006956159114837646, | |
0.006948637962341309, | |
0.006965278148651123, | |
0.006935359001159668, | |
0.006993597984313965, | |
0.007004478931427002, | |
0.006990877151489258 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.50689651364112 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |