IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb253b6 verified
raw
history blame
12.9 kB
{
"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.228-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": 817.311744,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.06428470611572265
],
"count": 1,
"total": 0.06428470611572265,
"mean": 0.06428470611572265,
"p50": 0.06428470611572265,
"p90": 0.06428470611572265,
"p95": 0.06428470611572265,
"p99": 0.06428470611572265,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1062.998016,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 452.872192
},
"latency": {
"unit": "s",
"values": [
0.00642252779006958,
0.006223872184753418,
0.006094848155975342,
0.006146048069000244,
0.006077439785003662,
0.006030335903167725,
0.006100992202758789,
0.0062013759613037105,
0.006153215885162353,
0.006235136032104492,
0.006159359931945801,
0.00608460807800293,
0.006271999835968017,
0.006086656093597412,
0.006172671794891358,
0.006308864116668702,
0.006331391811370849,
0.0063508481979370115,
0.006275072097778321,
0.00636518383026123,
0.006275072097778321,
0.006079487800598145,
0.005953536033630371,
0.0060405759811401364,
0.005967872142791748,
0.006620160102844238,
0.00626585578918457,
0.006120448112487793,
0.006298624038696289,
0.006047743797302246,
0.006081535816192627,
0.006031360149383545,
0.006074368000030517,
0.006041600227355957,
0.00617574405670166,
0.0061224961280822755,
0.00613478422164917,
0.00608460807800293,
0.006148096084594727,
0.006119423866271972,
0.006107135772705078,
0.006071296215057373,
0.006109183788299561,
0.006051839828491211,
0.0060999679565429685,
0.006189055919647217,
0.006080512046813965,
0.006086656093597412,
0.006047743797302246,
0.006140927791595459,
0.006089727878570556,
0.006023168087005615,
0.006007808208465576,
0.006115327835083008,
0.006065152168273926,
0.006082560062408447,
0.0060293121337890625,
0.006139904022216797,
0.006268928050994873,
0.006103040218353272,
0.005958655834197998,
0.00601907205581665,
0.005993472099304199,
0.006054912090301514,
0.006174719810485839,
0.006030335903167725,
0.006038527965545654,
0.006017024040222168,
0.006110208034515381,
0.006021120071411133,
0.006064127922058105,
0.006089727878570556,
0.006184959888458252,
0.006187007904052734,
0.00613478422164917,
0.006086656093597412,
0.006151167869567871,
0.006082560062408447,
0.006120448112487793,
0.006053887844085694,
0.006085631847381592,
0.006032383918762207,
0.006047743797302246,
0.005981184005737304,
0.006194176197052002,
0.005989376068115234,
0.005967872142791748,
0.0059269118309021,
0.005889023780822754,
0.005909503936767578,
0.0060590081214904785,
0.005982207775115967,
0.005829631805419922,
0.005769216060638428,
0.005987328052520752,
0.0061562881469726565,
0.006202367782592774,
0.006510591983795166,
0.006359039783477783,
0.006250495910644531,
0.006021152019500733,
0.006086656093597412,
0.006087679862976075,
0.006245376110076905,
0.0062679038047790524,
0.006144000053405762,
0.006016064167022705,
0.006073344230651856,
0.006072319984436035,
0.006201344013214111,
0.005951488018035888,
0.006069248199462891,
0.005993472099304199,
0.006342656135559082,
0.006049791812896729,
0.005974016189575195,
0.006081535816192627,
0.0061931519508361815,
0.006214655876159668,
0.0060631041526794435,
0.00602623987197876,
0.005957632064819336,
0.00581324815750122,
0.005681151866912842,
0.005692416191101074,
0.005705728054046631,
0.00586956787109375,
0.005974016189575195,
0.005915647983551026,
0.0058122239112854005,
0.0059658241271972655,
0.0059985918998718265,
0.0059269118309021,
0.005955584049224853,
0.005949440002441406,
0.005967872142791748,
0.00591871976852417,
0.005946368217468262,
0.0058419198989868165,
0.005768191814422607,
0.005752831935882568,
0.005787648200988769,
0.005725183963775635,
0.005735424041748047,
0.005789696216583252,
0.005739520072937012,
0.005763072013854981,
0.00573747205734253,
0.005756927967071533,
0.005716991901397705,
0.005720064163208007,
0.005750783920288086,
0.00572108793258667,
0.005765120029449463,
0.005718016147613526,
0.005750783920288086,
0.005730303764343261,
0.005723135948181152,
0.005736447811126709,
0.005708799839019775,
0.005752831935882568,
0.005718016147613526,
0.005773312091827393,
0.005718016147613526,
0.005768191814422607,
0.005724160194396972
],
"count": 166,
"total": 1.0005085434913634,
"mean": 0.006027159900550382,
"p50": 0.006052863836288452,
"p90": 0.006247936010360718,
"p95": 0.006306304097175599,
"p99": 0.006453350257873534,
"stdev": 0.00018250026886535272,
"stdev_": 3.027964611469613
},
"throughput": {
"unit": "samples/s",
"value": 331.83124937789785
},
"energy": {
"unit": "kWh",
"cpu": 7.032314654010413e-08,
"ram": 3.842766037301442e-08,
"gpu": 1.6261847328994147e-07,
"total": 2.7136928020306006e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7370030.972199363
}
}
}
}