IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
00216cb verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 879.427584,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0027735681533814,
"mean": 0.0067754970821174414,
"stdev": 0.00018982676232391835,
"p50": 0.006854144096374512,
"p90": 0.006966579246520996,
"p95": 0.006986752033233643,
"p99": 0.007150141496658326,
"values": [
0.007557119846343994,
0.006931456089019775,
0.006986752033233643,
0.00694271993637085,
0.006913023948669434,
0.006945792198181152,
0.006986752033233643,
0.006930431842803955,
0.006931456089019775,
0.006904831886291504,
0.006917119979858399,
0.006875135898590088,
0.006880256175994873,
0.006866943836212158,
0.00684441614151001,
0.006840320110321045,
0.00687718391418457,
0.006974463939666748,
0.006961152076721191,
0.0069324798583984375,
0.006923264026641846,
0.006957056045532227,
0.0068884482383728025,
0.006876160144805908,
0.006936575889587402,
0.00695091199874878,
0.006920191764831543,
0.006915071964263916,
0.006985727787017822,
0.006953983783721924,
0.006945792198181152,
0.006914048194885254,
0.006975488185882568,
0.006948863983154297,
0.00687820816040039,
0.006782976150512696,
0.006903808116912841,
0.006853631973266602,
0.006858751773834228,
0.006833151817321777,
0.006860799789428711,
0.006889472007751465,
0.006899712085723877,
0.00698367977142334,
0.0069632000923156735,
0.006940671920776367,
0.0069550080299377445,
0.006913023948669434,
0.0068853759765625,
0.006859776020050049,
0.0069816322326660156,
0.00687820816040039,
0.006906879901885986,
0.006855679988861084,
0.006838272094726563,
0.0067983360290527345,
0.006854656219482422,
0.006856768131256103,
0.006853631973266602,
0.006980607986450196,
0.006859776020050049,
0.0068392958641052244,
0.0068249602317810056,
0.006837247848510742,
0.00688640022277832,
0.006908927917480469,
0.0068577280044555666,
0.006884352207183838,
0.006952960014343262,
0.006994944095611572,
0.006994944095611572,
0.006937600135803222,
0.006988800048828125,
0.00689356803894043,
0.006914048194885254,
0.00694374418258667,
0.006894591808319092,
0.006936575889587402,
0.006870016098022461,
0.006853631973266602,
0.006767615795135498,
0.006657023906707763,
0.006866943836212158,
0.006772736072540283,
0.00657919979095459,
0.00659660816192627,
0.006559743881225586,
0.006623231887817383,
0.007067647933959961,
0.006811647891998291,
0.0066713600158691405,
0.006694911956787109,
0.006897664070129395,
0.006879231929779053,
0.0066109437942504885,
0.006626304149627686,
0.0066078720092773435,
0.006563839912414551,
0.006648831844329834,
0.006604800224304199,
0.006562816143035889,
0.006594560146331787,
0.006582272052764892,
0.006552576065063476,
0.00658841609954834,
0.006510591983795166,
0.006560768127441406,
0.006569983959197998,
0.006557695865631104,
0.006565887928009034,
0.0065669121742248536,
0.006540287971496582,
0.006585343837738037,
0.006523903846740723,
0.006490111827850342,
0.006527999877929688,
0.006502399921417237,
0.006526976108551025,
0.006545407772064209,
0.006542335987091064,
0.006549503803253174,
0.0065382399559021,
0.0065177597999572755,
0.006622208118438721,
0.006540287971496582,
0.006511616230010986,
0.006525951862335205,
0.006504447937011719,
0.006534143924713135,
0.006516736030578613,
0.006520832061767578,
0.007223296165466309,
0.00658022403717041,
0.006518784046173095,
0.006593535900115967,
0.006594560146331787,
0.00657919979095459,
0.0065443840026855465,
0.006563839912414551,
0.006555647850036621,
0.006564864158630371,
0.0065710082054138185,
0.006524928092956543,
0.006553599834442139,
0.006501376152038574,
0.006533120155334473,
0.00653004789352417,
0.0070225920677185055
]
},
"throughput": {
"unit": "samples/s",
"value": 147.5906472809646
},
"energy": {
"unit": "kWh",
"cpu": 7.434283486670918e-08,
"ram": 4.046022861984966e-08,
"gpu": 1.4043066790000004e-07,
"total": 2.5523373138655886e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3917977.4341247673
}
}
}
}