
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5b72015
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": 2, | |
"sequence_length": 16 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.227-219.884.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 812.716032, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07904969787597656 | |
], | |
"count": 1, | |
"total": 0.07904969787597656, | |
"mean": 0.07904969787597656, | |
"p50": 0.07904969787597656, | |
"p90": 0.07904969787597656, | |
"p95": 0.07904969787597656, | |
"p99": 0.07904969787597656, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1058.435072, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006323200225830078, | |
0.006179840087890625, | |
0.006223872184753418, | |
0.006214655876159668, | |
0.006227968215942382, | |
0.006159359931945801, | |
0.006173696041107178, | |
0.00636518383026123, | |
0.006120448112487793, | |
0.006044672012329101, | |
0.0061562881469726565, | |
0.006106112003326416, | |
0.0062679038047790524, | |
0.0061521921157836916, | |
0.0061562881469726565, | |
0.006136832237243653, | |
0.006155263900756836, | |
0.006106112003326416, | |
0.006180863857269287, | |
0.006211584091186524, | |
0.006049791812896729, | |
0.006089727878570556, | |
0.006209536075592041, | |
0.0061224961280822755, | |
0.00597811222076416, | |
0.006067200183868408, | |
0.006110208034515381, | |
0.006118400096893311, | |
0.006187071800231933, | |
0.005911551952362061, | |
0.005984255790710449, | |
0.006168575763702393, | |
0.006086656093597412, | |
0.006098944187164307, | |
0.00602623987197876, | |
0.006065152168273926, | |
0.006096896171569824, | |
0.006142975807189942, | |
0.006102015972137451, | |
0.006140927791595459, | |
0.006209536075592041, | |
0.006137856006622314, | |
0.006190080165863037, | |
0.006217728137969971, | |
0.006201344013214111, | |
0.006115327835083008, | |
0.006136832237243653, | |
0.006339583873748779, | |
0.00653926420211792, | |
0.0063272957801818845, | |
0.006456319808959961, | |
0.0060702719688415525, | |
0.006123519897460937, | |
0.006171648025512695, | |
0.006180863857269287, | |
0.006137856006622314, | |
0.006118400096893311, | |
0.006217823982238769, | |
0.0061634559631347655, | |
0.006004735946655273, | |
0.005992447853088379, | |
0.005942272186279297, | |
0.006048768043518066, | |
0.006053887844085694, | |
0.006042623996734619, | |
0.006037504196166992, | |
0.006271135807037353, | |
0.00613478422164917, | |
0.006141952037811279, | |
0.0062362561225891115, | |
0.0062044157981872555, | |
0.005963776111602783, | |
0.006097919940948486, | |
0.006049791812896729, | |
0.0064737281799316405, | |
0.00632422399520874, | |
0.006294528007507324, | |
0.007713791847229004, | |
0.006845439910888672, | |
0.00742195177078247, | |
0.006456319808959961, | |
0.007463935852050781, | |
0.006456319808959961, | |
0.006409215927124024, | |
0.006415359973907471, | |
0.0063508481979370115, | |
0.00760319995880127, | |
0.006593535900115967, | |
0.0063508481979370115, | |
0.006230016231536865, | |
0.006342656135559082, | |
0.006331520080566406, | |
0.006346752166748047, | |
0.006291456222534179, | |
0.006770688056945801, | |
0.00637440013885498, | |
0.006306816101074219, | |
0.006243328094482422, | |
0.006231040000915527, | |
0.006262784004211426, | |
0.006166528224945069, | |
0.006078464031219482, | |
0.00628326416015625, | |
0.005925888061523437, | |
0.006047743797302246, | |
0.006113279819488526, | |
0.00622489595413208, | |
0.006270976066589356, | |
0.0061931519508361815, | |
0.0061521921157836916, | |
0.006329343795776367, | |
0.006281216144561768, | |
0.006367231845855713, | |
0.00679423999786377, | |
0.006273024082183838, | |
0.006048768043518066, | |
0.005971968173980713, | |
0.005984320163726807, | |
0.006171648025512695, | |
0.006013951778411865, | |
0.006000639915466309, | |
0.0062228479385375976, | |
0.00602726411819458, | |
0.005959680080413818, | |
0.005979135990142822, | |
0.0059699201583862304, | |
0.005944320201873779, | |
0.005822463989257813, | |
0.005908480167388916, | |
0.006004735946655273, | |
0.005981184005737304, | |
0.006120448112487793, | |
0.006009856224060059, | |
0.005953536033630371, | |
0.005952511787414551, | |
0.005946368217468262, | |
0.0059955201148986816, | |
0.005949440002441406, | |
0.006097919940948486, | |
0.005941247940063477, | |
0.005856256008148194, | |
0.005893119812011719, | |
0.005864448070526123, | |
0.0058429441452026365, | |
0.005851136207580566, | |
0.005844992160797119, | |
0.00586240005493164, | |
0.0059023361206054685, | |
0.005816319942474365, | |
0.005860352039337159, | |
0.006302720069885254, | |
0.006090752124786377, | |
0.005993472099304199, | |
0.00592793607711792, | |
0.005909503936767578, | |
0.006037504196166992, | |
0.005946368217468262, | |
0.00573747205734253, | |
0.005646336078643799, | |
0.0056442880630493165, | |
0.005658624172210694, | |
0.005645311832427978, | |
0.005700607776641845 | |
], | |
"count": 163, | |
"total": 1.0039158754348754, | |
"mean": 0.006158993100827456, | |
"p50": 0.006123519897460937, | |
"p90": 0.006366822242736816, | |
"p95": 0.006532710599899292, | |
"p99": 0.007516856212615966, | |
"stdev": 0.00029740025778856146, | |
"stdev_": 4.828715553336242 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 324.728404019693 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.075395165344066e-08, | |
"ram": 3.855912672807783e-08, | |
"gpu": 1.641651445595253e-07, | |
"total": 2.734782229410438e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7313196.562752122 | |
} | |
} | |
} | |
} |