IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5ebd21c verified
raw
history blame
10.6 kB
{
"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": "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,
"latency": true,
"memory": 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",
"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.2.0",
"optimum_benchmark_commit": "4ec62071e1c9b9c89fb7e3c044340b391a0c4120",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1003.429888,
"max_global_vram": 1910.92736,
"max_process_vram": 251145.44128,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9997034707069397,
"mean": 0.00704016528666859,
"stdev": 0.00022998237527477227,
"p50": 0.006968411207199097,
"p90": 0.007307211256027221,
"p95": 0.007594507050514219,
"p99": 0.007829687542915343,
"values": [
0.007258410930633545,
0.007068810939788818,
0.006992970943450928,
0.006997130870819092,
0.007060811042785644,
0.007099531173706055,
0.007141130924224854,
0.007132811069488525,
0.007140010833740234,
0.007091851234436035,
0.00704033088684082,
0.007025451183319092,
0.007003689765930176,
0.007001611232757568,
0.00705889081954956,
0.007007211208343506,
0.006985451221466064,
0.00703377103805542,
0.007024651050567627,
0.007061450958251953,
0.007046570777893066,
0.0070630497932434085,
0.007046091079711914,
0.007020650863647461,
0.0070940909385681155,
0.0071230511665344234,
0.007054251194000244,
0.007097771167755127,
0.0070444908142089846,
0.007060330867767334,
0.0070396909713745116,
0.007031371116638183,
0.0069993710517883305,
0.00701793098449707,
0.007046730995178223,
0.006979849815368653,
0.0070036911964416505,
0.007009611129760742,
0.00699169111251831,
0.006998411178588867,
0.006997611045837402,
0.006993290901184082,
0.0070121707916259764,
0.007066891193389892,
0.00830433177947998,
0.007075850963592529,
0.006848970890045166,
0.0068880109786987305,
0.00690625,
0.006885130882263183,
0.006864010810852051,
0.0068638501167297365,
0.006926890850067139,
0.00690225076675415,
0.00688385009765625,
0.00692241096496582,
0.0069003310203552244,
0.006903211116790772,
0.006900169849395752,
0.0069148907661437985,
0.006922730922698975,
0.006871530055999756,
0.006872011184692383,
0.006895851135253906,
0.006896810054779053,
0.0069070510864257815,
0.006894890785217285,
0.0068785700798034664,
0.006959850788116455,
0.0068953709602355955,
0.006896971225738525,
0.006933609962463379,
0.006905450820922852,
0.006916010856628418,
0.0069187312126159665,
0.006921929836273193,
0.0068862509727478025,
0.00689185094833374,
0.006950089931488037,
0.0069003310203552244,
0.006908491134643555,
0.006915690898895263,
0.006914090156555175,
0.00689569091796875,
0.006867371082305908,
0.006908810138702393,
0.006873610973358154,
0.006905450820922852,
0.006897769927978516,
0.0068665709495544435,
0.00691585111618042,
0.006911690235137939,
0.006889451026916504,
0.006855370998382568,
0.006932650089263916,
0.006894250869750976,
0.006953930854797364,
0.006879051208496093,
0.006908010005950928,
0.006897611141204834,
0.006929131031036377,
0.006856810092926025,
0.006908171176910401,
0.006877291202545166,
0.006872490882873535,
0.006892970085144043,
0.00689617109298706,
0.006862730979919434,
0.007602571010589599,
0.007801931858062744,
0.007826572895050048,
0.007653931140899658,
0.007642092227935791,
0.007831851959228515,
0.007731532096862793,
0.007268332004547119,
0.007269451141357422,
0.00736945104598999,
0.007274092197418213,
0.007405770778656006,
0.0074412918090820315,
0.007310891151428222,
0.007410730838775635,
0.007387532234191895,
0.007390571117401123,
0.007178411960601806,
0.007119851112365723,
0.00712545108795166,
0.0070489711761474606,
0.007027210235595703,
0.006931691169738769,
0.006943211078643798,
0.0069708900451660154,
0.006967531204223633,
0.006931049823760986,
0.006988330841064453,
0.006969291210174561,
0.006929450988769531,
0.006957290172576905,
0.006922251224517823,
0.006954570770263672,
0.006961290836334229
]
},
"throughput": {
"unit": "samples/s",
"value": 142.04211964932438
},
"energy": null,
"efficiency": null
}
}
}