IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6a3a6d6 verified
raw
history blame
11.1 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_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": "693db979e9b302426a0eee51d54cc298ad108515",
"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.4576,
"max_global_vram": 3161.952256,
"max_process_vram": 45144.04352,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.36828369140625,
"mean": 7.36828369140625,
"stdev": 0.0,
"p50": 7.36828369140625,
"p90": 7.36828369140625,
"p95": 7.36828369140625,
"p99": 7.36828369140625,
"values": [
7.36828369140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1018.097664,
"max_global_vram": 3225.4976,
"max_process_vram": 230153.09312,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.0043314037322997,
"mean": 0.00755136393783684,
"stdev": 0.0003165914934741161,
"p50": 0.007577907085418701,
"p90": 0.007911058235168458,
"p95": 0.00818872184753418,
"p99": 0.00848484344482422,
"values": [
0.008005106925964355,
0.00805934715270996,
0.007785265922546387,
0.00805838680267334,
0.007764785766601562,
0.00786894702911377,
0.0073614268302917485,
0.007734547138214112,
0.007831507205963135,
0.007762065887451172,
0.007927987098693847,
0.007410226821899414,
0.007587986946105957,
0.007518706798553466,
0.0076171069145202636,
0.008539985656738282,
0.007862865924835205,
0.007255348205566406,
0.007283348083496094,
0.007672787189483643,
0.0076195068359375,
0.007753426074981689,
0.0076502270698547365,
0.0076361470222473145,
0.007827667236328125,
0.008274545669555664,
0.008612464904785157,
0.00833742618560791,
0.008151025772094726,
0.00824526596069336,
0.008317745208740235,
0.008367666244506836,
0.007921586036682129,
0.007827026844024658,
0.007691347122192383,
0.0076502270698547365,
0.007662706851959229,
0.007658866882324219,
0.007613747119903564,
0.007647346973419189,
0.0076556668281555175,
0.00760094690322876,
0.007629106998443604,
0.007615026950836182,
0.007601906776428222,
0.007630867004394531,
0.0076740670204162595,
0.007691346168518067,
0.0076415867805480955,
0.0076721467971801755,
0.00765822696685791,
0.007653747081756592,
0.0076433467864990235,
0.007664146900177002,
0.007644627094268799,
0.00770462703704834,
0.007658707141876221,
0.0076667070388793945,
0.00768990707397461,
0.007638866901397705,
0.0076415867805480955,
0.007682867050170898,
0.007677746772766113,
0.007766705989837646,
0.007544786930084229,
0.007434867858886719,
0.007576306819915771,
0.007363027095794678,
0.0076931071281433104,
0.007506546974182129,
0.007267508029937744,
0.007373907089233398,
0.0075534281730651855,
0.007456946849822998,
0.0075222268104553226,
0.007413106918334961,
0.007412628173828125,
0.007337906837463379,
0.00737694787979126,
0.007426386833190918,
0.0075951871871948245,
0.007467826843261719,
0.007405107975006104,
0.007409906864166259,
0.00750542688369751,
0.007202707767486573,
0.007303827762603759,
0.007362707138061524,
0.007354867935180664,
0.007434226989746094,
0.007084628105163574,
0.007369586944580078,
0.0071796679496765135,
0.007178867816925049,
0.007134548187255859,
0.007247667789459228,
0.007289906978607178,
0.007045748233795166,
0.007206068038940429,
0.0075412669181823735,
0.0072670278549194335,
0.0074801468849182125,
0.00737310791015625,
0.007214867115020752,
0.007364148139953613,
0.007253266811370849,
0.008120145797729492,
0.007397908210754395,
0.007210866928100586,
0.007208787918090821,
0.006999348163604736,
0.007179347991943359,
0.007050387859344483,
0.007009747982025146,
0.007239508152008057,
0.007004308223724365,
0.007050387859344483,
0.007420947074890136,
0.00766366720199585,
0.007711027145385742,
0.007658546924591065,
0.00766590690612793,
0.007577907085418701,
0.007267667770385742,
0.0074459071159362795,
0.007428627014160156,
0.00726526689529419,
0.00737166690826416,
0.007148468017578125,
0.007074068069458008,
0.0069300680160522465,
0.007343667984008789,
0.007177106857299805
]
},
"throughput": {
"unit": "samples/s",
"value": 132.4264077631596
},
"energy": null,
"efficiency": null
}
}
}