IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e3d037c verified
raw
history blame
11.2 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": "2c28e6003745fe7e05d2d15f59cde0588e3c32a2",
"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.256896,
"max_global_vram": 3161.952256,
"max_process_vram": 42500.747264,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.26271337890625,
"mean": 7.26271337890625,
"stdev": 0.0,
"p50": 7.26271337890625,
"p90": 7.26271337890625,
"p95": 7.26271337890625,
"p99": 7.26271337890625,
"values": [
7.26271337890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.475072,
"max_global_vram": 3224.8832,
"max_process_vram": 225652.465664,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 134,
"total": 1.0027760801315306,
"mean": 0.007483403583071124,
"stdev": 0.00038124839045620556,
"p50": 0.0074325366020202635,
"p90": 0.007736584091186524,
"p95": 0.007786631989479065,
"p99": 0.00824834247589111,
"values": [
0.007926855087280273,
0.007827335834503174,
0.00755517578125,
0.007559977054595947,
0.007755015850067139,
0.007792456150054932,
0.007645576000213623,
0.007544776916503906,
0.007505897045135498,
0.0072044568061828615,
0.007477577209472656,
0.007558055877685547,
0.007298858165740967,
0.007416936874389648,
0.007323976993560791,
0.007474216938018799,
0.007460936069488526,
0.007350217819213867,
0.007266057014465332,
0.007309737205505371,
0.007315018177032471,
0.007430376052856446,
0.007486217021942139,
0.007532937049865723,
0.00753709602355957,
0.0073415770530700685,
0.007708937168121338,
0.0076950168609619144,
0.007610055923461914,
0.007353897094726562,
0.0077271761894226075,
0.007778534889221192,
0.010996766090393066,
0.008045735359191895,
0.0076842961311340335,
0.007685256004333496,
0.007671336174011231,
0.007681096076965332,
0.0076564569473266605,
0.007730216026306152,
0.007656455993652344,
0.007676775932312012,
0.0076450958251953124,
0.007795495986938477,
0.007729735851287842,
0.00769325590133667,
0.007721735954284668,
0.007716296195983886,
0.007667175769805908,
0.007733895778656006,
0.007577256202697754,
0.007501737117767334,
0.007248618125915527,
0.007470376014709472,
0.007289897918701172,
0.007465415954589843,
0.007366538047790527,
0.007551976203918457,
0.007362377166748047,
0.007281737804412842,
0.007412456035614014,
0.007418376922607422,
0.007215817928314209,
0.00742877721786499,
0.007466376781463623,
0.007427496910095215,
0.007242856979370117,
0.00743485689163208,
0.0072332568168640135,
0.007251338005065918,
0.00701981782913208,
0.007210378170013428,
0.00711773681640625,
0.007261898040771484,
0.0071338977813720705,
0.00723181676864624,
0.006996458053588867,
0.007211338043212891,
0.007038377761840821,
0.0072852568626403805,
0.0071383781433105465,
0.007267817974090576,
0.007252777099609375,
0.007268457889556885,
0.007200616836547852,
0.0071689381599426266,
0.007060778141021728,
0.007046378135681152,
0.007171018123626709,
0.0072369370460510256,
0.007198058128356934,
0.007073257923126221,
0.0072497367858886715,
0.0072855777740478515,
0.007533415794372559,
0.007375977039337158,
0.007434697151184082,
0.007326857089996338,
0.0072706971168518065,
0.007271177768707275,
0.0075228562355041505,
0.007442856788635254,
0.007419657230377197,
0.0073439769744873045,
0.007440776824951172,
0.007360297203063965,
0.00834813404083252,
0.0074222168922424316,
0.007403976917266845,
0.007472937107086182,
0.0072993369102478025,
0.007372776985168457,
0.00726541805267334,
0.007223496913909912,
0.007604296207427978,
0.00774349594116211,
0.007783495903015137,
0.007758376121520996,
0.007632296085357666,
0.007523016929626465,
0.007391336917877197,
0.007700295925140381,
0.007418696880340576,
0.007166697978973389,
0.007257096767425537,
0.007346216201782226,
0.007242057800292969,
0.00765933609008789,
0.007673895835876464,
0.007652935981750489,
0.007728295803070068,
0.007737736225128174,
0.0076983761787414555,
0.0077753357887268065
]
},
"throughput": {
"unit": "samples/s",
"value": 133.62903509068914
},
"energy": null,
"efficiency": null
}
}
}