{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "library": "transformers", "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": {}, "hub_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, "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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 870.66624, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 184, "total": 1.0039214739799502, "mean": 0.0054560949672823374, "stdev": 0.0001244251213343741, "p50": 0.005421055793762207, "p90": 0.005604659271240235, "p95": 0.005658111929893493, "p99": 0.00593610765457153, "values": [ 0.006344704151153564, 0.0056217598915100095, 0.005698560237884521, 0.005640192031860352, 0.005723135948181152, 0.005610496044158936, 0.005659647941589355, 0.00561356782913208, 0.005745664119720459, 0.005641215801239013, 0.006100992202758789, 0.005477375984191894, 0.005227519989013672, 0.0052367358207702636, 0.0053012480735778805, 0.00535859203338623, 0.005214208126068115, 0.005283840179443359, 0.005525504112243652, 0.005413887977600097, 0.0054271998405456545, 0.005406720161437988, 0.005430272102355957, 0.005413887977600097, 0.005430272102355957, 0.00541593599319458, 0.005409791946411133, 0.005385216236114502, 0.005420032024383545, 0.005401599884033203, 0.005409791946411133, 0.005463039875030518, 0.005420032024383545, 0.005384191989898681, 0.005567488193511963, 0.005429247856140137, 0.005435391902923584, 0.005395455837249756, 0.005377024173736572, 0.005438464164733887, 0.005504000186920166, 0.005375999927520752, 0.0055101442337036136, 0.005422080039978027, 0.005438464164733887, 0.005439487934112549, 0.005561344146728516, 0.005395455837249756, 0.005405695915222168, 0.0052111358642578124, 0.0054906878471374515, 0.005409791946411133, 0.005396480083465576, 0.005409791946411133, 0.005409791946411133, 0.005403647899627686, 0.005430272102355957, 0.005406720161437988, 0.0053975038528442385, 0.0054282240867614745, 0.005439487934112549, 0.005403647899627686, 0.005412864208221436, 0.005386240005493164, 0.005404672145843506, 0.005534719944000244, 0.0055797758102417, 0.005406720161437988, 0.005435391902923584, 0.005409791946411133, 0.005436416149139404, 0.005437439918518067, 0.0053944320678710935, 0.005406720161437988, 0.00542310380935669, 0.005412864208221436, 0.005462016105651855, 0.005420032024383545, 0.005462016105651855, 0.005432320117950439, 0.0054282240867614745, 0.005446656227111817, 0.005408768177032471, 0.005379072189331055, 0.005446656227111817, 0.005582848072052002, 0.005436416149139404, 0.00561356782913208, 0.005425151824951172, 0.005420032024383545, 0.005408768177032471, 0.0053944320678710935, 0.005431295871734619, 0.005410816192626953, 0.005375999927520752, 0.005411839962005615, 0.005410816192626953, 0.005414912223815918, 0.005405695915222168, 0.005412864208221436, 0.005392384052276611, 0.0054241280555725096, 0.00542310380935669, 0.005400576114654541, 0.0059023361206054685, 0.00567193603515625, 0.0054876160621643065, 0.005485568046569824, 0.005432320117950439, 0.005488639831542969, 0.005459968090057373, 0.0054579200744628905, 0.005502975940704345, 0.005421055793762207, 0.005442560195922852, 0.00541593599319458, 0.005387263774871826, 0.005455872058868408, 0.005433343887329102, 0.005405695915222168, 0.00555622386932373, 0.005389311790466309, 0.00541593599319458, 0.005435391902923584, 0.0053821439743042, 0.005384191989898681, 0.00537497615814209, 0.005377024173736572, 0.005413887977600097, 0.005402624130249023, 0.005391359806060791, 0.005400576114654541, 0.0057118721008300784, 0.0054271998405456545, 0.005391359806060791, 0.005633024215698243, 0.005445631980895996, 0.005387263774871826, 0.005591040134429932, 0.005420032024383545, 0.005431295871734619, 0.0053975038528442385, 0.005649407863616943, 0.005438464164733887, 0.005408768177032471, 0.005375999927520752, 0.005384191989898681, 0.005421055793762207, 0.005417984008789062, 0.005387263774871826, 0.005407743930816651, 0.0054098558425903324, 0.005406720161437988, 0.0054917120933532714, 0.005588992118835449, 0.005560319900512695, 0.005436416149139404, 0.00538316822052002, 0.005411839962005615, 0.005419007778167725, 0.005443583965301513, 0.005438464164733887, 0.005425151824951172, 0.005412864208221436, 0.005486591815948487, 0.005422080039978027, 0.005412864208221436, 0.005425151824951172, 0.005434368133544922, 0.005396480083465576, 0.0053975038528442385, 0.005405695915222168, 0.005754879951477051, 0.005416959762573242, 0.005405695915222168, 0.005518335819244385, 0.005470208168029785, 0.005573631763458252, 0.0054241280555725096, 0.005618688106536865, 0.005435391902923584, 0.005391359806060791, 0.005414912223815918, 0.005434368133544922 ] }, "throughput": { "unit": "samples/s", "value": 183.28126727935174 }, "energy": { "unit": "kWh", "cpu": 6.517995790247517e-08, "ram": 3.563592606603732e-08, "gpu": 1.3151262047252839e-07, "total": 2.3232850444104086e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4304250.149614228 } } } }