IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
be38dcc
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": "77ca106f4cf33f416814fc4a120313d806701176", | |
"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.265088, | |
"max_global_vram": 3161.952256, | |
"max_process_vram": 44398.624768, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.34813134765625, | |
"mean": 7.34813134765625, | |
"stdev": 0.0, | |
"p50": 7.34813134765625, | |
"p90": 7.34813134765625, | |
"p95": 7.34813134765625, | |
"p99": 7.34813134765625, | |
"values": [ | |
7.34813134765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.052608, | |
"max_global_vram": 3225.489408, | |
"max_process_vram": 234575.396864, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9998703460693363, | |
"mean": 0.007811487078666687, | |
"stdev": 9.136173381052367e-05, | |
"p50": 0.007792062044143677, | |
"p90": 0.007895886039733886, | |
"p95": 0.007925390100479126, | |
"p99": 0.008132352514266968, | |
"values": [ | |
0.007977101802825928, | |
0.007895502090454101, | |
0.007957421779632568, | |
0.008157581329345702, | |
0.007905101776123047, | |
0.007947501182556152, | |
0.007902542114257812, | |
0.007906702041625977, | |
0.007877741813659668, | |
0.007894542217254639, | |
0.008064141273498535, | |
0.007865742206573486, | |
0.007848462104797364, | |
0.007896781921386719, | |
0.007834221839904785, | |
0.007887661933898926, | |
0.007802381992340088, | |
0.007900462150573731, | |
0.0078891019821167, | |
0.007849902153015136, | |
0.007869582176208496, | |
0.007812942028045654, | |
0.007927182197570801, | |
0.00789086103439331, | |
0.007884461879730225, | |
0.007885901927947999, | |
0.007863661766052247, | |
0.007874862194061279, | |
0.007834382057189941, | |
0.007842222213745116, | |
0.007831662178039552, | |
0.007829261779785155, | |
0.007922061920166016, | |
0.007890222072601318, | |
0.007828462123870849, | |
0.0077809419631958004, | |
0.007761581897735596, | |
0.007760622024536133, | |
0.007757902145385742, | |
0.007799982070922851, | |
0.007787981986999512, | |
0.00780446195602417, | |
0.007734862804412842, | |
0.007741261959075927, | |
0.0077569417953491215, | |
0.0077919821739196775, | |
0.007792141914367676, | |
0.007766063213348389, | |
0.007739181995391846, | |
0.0077380619049072265, | |
0.0077331018447875976, | |
0.00777822208404541, | |
0.00775726318359375, | |
0.007761102199554443, | |
0.007767662048339844, | |
0.007738222122192382, | |
0.007747022151947022, | |
0.007786061763763428, | |
0.007766222953796387, | |
0.00777006196975708, | |
0.007795661926269531, | |
0.007805262088775635, | |
0.007788142204284668, | |
0.007771502017974854, | |
0.007717422008514404, | |
0.007813423156738282, | |
0.0077447819709777835, | |
0.007812942028045654, | |
0.0077779021263122555, | |
0.007806221961975098, | |
0.007775822162628174, | |
0.007798381805419922, | |
0.007769742012023926, | |
0.0077831830978393555, | |
0.007816621780395508, | |
0.00776734209060669, | |
0.007740942001342774, | |
0.007819501876831055, | |
0.007805741786956787, | |
0.007771821975708007, | |
0.00780830192565918, | |
0.007744943141937256, | |
0.007834862232208252, | |
0.007807981967926025, | |
0.007755022048950195, | |
0.007794221878051758, | |
0.007729742050170898, | |
0.007831982135772705, | |
0.007748621940612793, | |
0.007790863037109375, | |
0.007729743003845215, | |
0.007796621799468994, | |
0.007776301860809326, | |
0.007711661815643311, | |
0.0077950220108032224, | |
0.007718061923980713, | |
0.007793422222137451, | |
0.007834862232208252, | |
0.00775342321395874, | |
0.007750061988830567, | |
0.007812942028045654, | |
0.007782221794128418, | |
0.007739342212677002, | |
0.007772461891174316, | |
0.007746703147888183, | |
0.007790381908416748, | |
0.00849374008178711, | |
0.0077687821388244625, | |
0.007735982894897461, | |
0.0077783818244934085, | |
0.007705421924591065, | |
0.007815502166748046, | |
0.007736462116241455, | |
0.007794221878051758, | |
0.007775342941284179, | |
0.007734062194824219, | |
0.007765902042388916, | |
0.007759342193603516, | |
0.007758222103118897, | |
0.007799022197723389, | |
0.007773582935333252, | |
0.007799982070922851, | |
0.007763501167297363, | |
0.007796462059020996, | |
0.007753262042999268, | |
0.007803341865539551, | |
0.0077828621864318845, | |
0.007777582168579102 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.01659785510216 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |