IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8240c27
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 899.91168, | |
"max_global_vram": 875.327488, | |
"max_process_vram": 42988.773376, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8747392578125, | |
"mean": 6.8747392578125, | |
"stdev": 0.0, | |
"p50": 6.8747392578125, | |
"p90": 6.8747392578125, | |
"p95": 6.8747392578125, | |
"p99": 6.8747392578125, | |
"values": [ | |
6.8747392578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1019.252736, | |
"max_global_vram": 938.86464, | |
"max_process_vram": 227081.531392, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 1.0011164836883546, | |
"mean": 0.006764300565461855, | |
"stdev": 0.0006822137196304439, | |
"p50": 0.006694265604019165, | |
"p90": 0.00675119366645813, | |
"p95": 0.006861474108695985, | |
"p99": 0.007583464288711548, | |
"values": [ | |
0.00674082612991333, | |
0.006682745933532715, | |
0.006762586116790772, | |
0.006910265922546387, | |
0.006883706092834473, | |
0.007824029922485352, | |
0.006906426906585693, | |
0.0067963461875915525, | |
0.0069923467636108395, | |
0.0068104262351989745, | |
0.006736666202545166, | |
0.0068201861381530764, | |
0.006693305969238281, | |
0.006659865856170654, | |
0.006510105133056641, | |
0.006503385066986084, | |
0.006532344818115234, | |
0.006527064800262451, | |
0.0065211448669433595, | |
0.014898297309875488, | |
0.007312188148498535, | |
0.006689785957336426, | |
0.006719545841217041, | |
0.006683225154876709, | |
0.006665465831756592, | |
0.006686106204986573, | |
0.0066925048828125, | |
0.006692026138305664, | |
0.006670745849609375, | |
0.006738105773925781, | |
0.006730585098266601, | |
0.006731066226959228, | |
0.006677945137023925, | |
0.006678425788879395, | |
0.006697946071624756, | |
0.006711225986480713, | |
0.006691064834594727, | |
0.006675065994262696, | |
0.006676506042480468, | |
0.006681145191192627, | |
0.006660665988922119, | |
0.006689946174621582, | |
0.0066918649673461915, | |
0.006707225799560547, | |
0.006642426013946533, | |
0.006693465232849121, | |
0.006665306091308594, | |
0.00667698621749878, | |
0.006650744915008545, | |
0.006687066078186035, | |
0.006668025016784668, | |
0.006687545776367187, | |
0.006702266216278076, | |
0.0067014660835266115, | |
0.00671154499053955, | |
0.00670978593826294, | |
0.006702906131744385, | |
0.006698746204376221, | |
0.006689785003662109, | |
0.006724666118621827, | |
0.006690906047821045, | |
0.006707705974578857, | |
0.006701304912567139, | |
0.006680985927581787, | |
0.006638425827026367, | |
0.006713944911956787, | |
0.006696506023406983, | |
0.00672226619720459, | |
0.006693786144256592, | |
0.006709465026855469, | |
0.006715705871582031, | |
0.006750905990600586, | |
0.0066971459388732914, | |
0.006729306221008301, | |
0.006732185840606689, | |
0.006723384857177734, | |
0.006712185859680176, | |
0.00668194580078125, | |
0.006688506126403809, | |
0.006690744876861572, | |
0.006648345947265625, | |
0.006728665828704834, | |
0.0066870651245117185, | |
0.006706106185913086, | |
0.006660985946655274, | |
0.006711065769195557, | |
0.0066393852233886715, | |
0.006667066097259522, | |
0.006688185214996338, | |
0.0066878662109375, | |
0.006682906150817871, | |
0.006699544906616211, | |
0.006661624908447266, | |
0.006697306156158447, | |
0.006686106204986573, | |
0.006700825214385986, | |
0.006673625946044922, | |
0.006720826148986816, | |
0.006661465167999267, | |
0.006703064918518066, | |
0.006686746120452881, | |
0.006708345890045166, | |
0.006655545234680176, | |
0.006735226154327392, | |
0.0066921858787536625, | |
0.006691545963287354, | |
0.006708984851837158, | |
0.0067137861251831054, | |
0.0067021059989929195, | |
0.006704825878143311, | |
0.006663865089416504, | |
0.006734745979309082, | |
0.006920667171478272, | |
0.006722105979919434, | |
0.006751864910125732, | |
0.006763225078582764, | |
0.006689305782318115, | |
0.006686106204986573, | |
0.006690266132354736, | |
0.006685625076293946, | |
0.006710745811462402, | |
0.0067589058876037595, | |
0.006696506023406983, | |
0.006712185859680176, | |
0.006680665016174317, | |
0.006686746120452881, | |
0.006696345806121826, | |
0.006743226051330566, | |
0.006659224987030029, | |
0.006670745849609375, | |
0.006664344787597656, | |
0.0066947460174560545, | |
0.0066568260192871095, | |
0.006694745063781738, | |
0.006695866107940674, | |
0.006701945781707764, | |
0.006687225818634034, | |
0.006687385082244873, | |
0.006671065807342529, | |
0.006702586174011231, | |
0.006701464176177978, | |
0.006719706058502198, | |
0.006707705974578857, | |
0.006717465877532959, | |
0.006668664932250976, | |
0.0066800260543823245, | |
0.006571064949035645, | |
0.006406744956970215 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.83494469567847 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |