{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.0+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": 1, "num_choices": 2, "sequence_length": 2 }, "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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 783.163392, "max_global_vram": 1218.9696, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.39318359375, "mean": 7.39318359375, "stdev": 0.0, "p50": 7.39318359375, "p90": 7.39318359375, "p95": 7.39318359375, "p99": 7.39318359375, "values": [ 7.39318359375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.391678923605757e-07, "ram": 4.990825621670429e-07, "gpu": 1.674168005999857e-06, "total": 3.112418460527476e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.774272, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 172, "total": 1.0037238707542417, "mean": 0.005835603899733965, "stdev": 0.00024930306011621076, "p50": 0.005881856203079223, "p90": 0.006065356731414795, "p95": 0.00621547508239746, "p99": 0.0066104318904876705, "values": [ 0.006228991985321045, 0.006304768085479737, 0.0062044157981872555, 0.006091775894165039, 0.00612556791305542, 0.006072319984436035, 0.006057983875274659, 0.006047743797302246, 0.00601907205581665, 0.005946368217468262, 0.0059699201583862304, 0.005916672229766846, 0.005979135990142822, 0.005938176155090332, 0.005975039958953857, 0.005879807949066162, 0.005854207992553711, 0.005816319942474365, 0.0059699201583862304, 0.005886975765228271, 0.005988351821899414, 0.005963776111602783, 0.006031360149383545, 0.005958655834197998, 0.005993472099304199, 0.005904384136199951, 0.005900288105010986, 0.0059054079055786135, 0.00601907205581665, 0.005940224170684814, 0.0059996161460876465, 0.005931007862091065, 0.00608460807800293, 0.005931007862091065, 0.005982207775115967, 0.0059023361206054685, 0.005964863777160645, 0.005953536033630371, 0.0060026879310607914, 0.005970943927764893, 0.005880832195281982, 0.00582144021987915, 0.005826560020446778, 0.005859360218048095, 0.005891071796417236, 0.005920767784118652, 0.005983232021331787, 0.0059269118309021, 0.0059023361206054685, 0.005994495868682862, 0.005966847896575928, 0.005987328052520752, 0.005963776111602783, 0.0060661759376525876, 0.005946368217468262, 0.005987328052520752, 0.005890048027038574, 0.005920767784118652, 0.005957632064819336, 0.005981184005737304, 0.006343679904937744, 0.007301119804382325, 0.006595583915710449, 0.006252543926239014, 0.006182911872863769, 0.006362112045288086, 0.006255616188049316, 0.005910528182983398, 0.0059770879745483394, 0.005993472099304199, 0.005962751865386963, 0.00586137580871582, 0.005920767784118652, 0.005910528182983398, 0.006039552211761475, 0.005911551952362061, 0.005950463771820068, 0.006079487800598145, 0.006646783828735352, 0.006038527965545654, 0.006000639915466309, 0.006051839828491211, 0.005963776111602783, 0.006052864074707031, 0.005955584049224853, 0.005962751865386963, 0.00597811222076416, 0.005962751865386963, 0.005882880210876465, 0.005824512004852295, 0.005942272186279297, 0.005920767784118652, 0.005888000011444092, 0.005789696216583252, 0.005799935817718506, 0.00561356782913208, 0.005785600185394287, 0.005833727836608887, 0.0057794561386108395, 0.005557248115539551, 0.005597184181213379, 0.005597184181213379, 0.005595136165618897, 0.005681151866912842, 0.005760000228881836, 0.0057497601509094234, 0.005723135948181152, 0.005725183963775635, 0.005879807949066162, 0.005983232021331787, 0.005791744232177734, 0.0055582718849182125, 0.005574656009674072, 0.005616640090942383, 0.005595136165618897, 0.00562278413772583, 0.005578752040863037, 0.005635072231292724, 0.005624832153320313, 0.005590015888214111, 0.005653503894805908, 0.005576704025268555, 0.005646336078643799, 0.005583871841430664, 0.005590015888214111, 0.0056555519104003905, 0.005561344146728516, 0.005578752040863037, 0.0055582718849182125, 0.005538815975189209, 0.005571584224700928, 0.005575679779052735, 0.005689343929290771, 0.00607539176940918, 0.0057077760696411135, 0.005591040134429932, 0.005602303981781006, 0.005598207950592041, 0.005570559978485107, 0.005600255966186523, 0.005596159934997558, 0.005543935775756836, 0.005571584224700928, 0.005566463947296142, 0.005569536209106446, 0.005594111919403076, 0.005570559978485107, 0.005606400012969971, 0.005545983791351319, 0.005566463947296142, 0.005576704025268555, 0.005577727794647217, 0.005618688106536865, 0.005575679779052735, 0.0055848960876464845, 0.005545983791351319, 0.005568511962890625, 0.005598207950592041, 0.0055797758102417, 0.005582848072052002, 0.005605375766754151, 0.005541888236999512, 0.005605375766754151, 0.0055214080810546875, 0.005548031806945801, 0.0055808000564575196, 0.0055582718849182125, 0.00557260799407959, 0.005582848072052002, 0.0055582718849182125, 0.005615615844726562, 0.0055582718849182125 ] }, "throughput": { "unit": "samples/s", "value": 171.36187054189682 }, "energy": { "unit": "kWh", "cpu": 6.318334195326385e-08, "ram": 3.440520515361908e-08, "gpu": 1.4061151754497328e-07, "total": 2.382000646518562e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4198151.673306893 } } } }