{ "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": 880.463872, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 156, "total": 1.0047672638893133, "mean": 0.006440815794162262, "stdev": 0.00024046191825248197, "p50": 0.0063257598876953125, "p90": 0.006712831974029542, "p95": 0.0069972480535507205, "p99": 0.007332044649124144, "values": [ 0.0076267518997192385, 0.007102464199066162, 0.007269375801086426, 0.007156735897064209, 0.007112703800201416, 0.007087103843688965, 0.007137279987335205, 0.007408639907836914, 0.006516736030578613, 0.0062873601913452145, 0.006340608119964599, 0.006407167911529541, 0.006291456222534179, 0.0063836159706115725, 0.0062873601913452145, 0.006337535858154297, 0.006300672054290772, 0.006292479991912842, 0.006386688232421875, 0.006319104194641113, 0.0062873601913452145, 0.006275072097778321, 0.00632422399520874, 0.006295551776885986, 0.006270976066589356, 0.006298624038696289, 0.006293504238128662, 0.006335487842559814, 0.006719488143920899, 0.0065136637687683106, 0.006551551818847656, 0.006296576023101807, 0.006326272010803223, 0.00628223991394043, 0.0062638077735900875, 0.006298624038696289, 0.006312960147857666, 0.006325247764587402, 0.006270976066589356, 0.006292479991912842, 0.0062863359451293946, 0.0062873601913452145, 0.006304768085479737, 0.0062791681289672855, 0.0063211522102355954, 0.006276095867156982, 0.006316031932830811, 0.006294528007507324, 0.006299647808074951, 0.006368256092071533, 0.006334464073181153, 0.006351871967315674, 0.006301695823669433, 0.006261760234832763, 0.006298624038696289, 0.0062904319763183595, 0.006288383960723877, 0.006285312175750732, 0.0063201279640197755, 0.006311935901641846, 0.006280191898345947, 0.00628223991394043, 0.006270976066589356, 0.0062791681289672855, 0.006266880035400391, 0.006292479991912842, 0.006318079948425293, 0.006292479991912842, 0.006299647808074951, 0.00626585578918457, 0.006619135856628418, 0.006359039783477783, 0.006284287929534912, 0.006269951820373535, 0.006281216144561768, 0.006299647808074951, 0.006264832019805908, 0.006312960147857666, 0.006281216144561768, 0.006292479991912842, 0.006295551776885986, 0.006311935901641846, 0.006455296039581298, 0.006400000095367431, 0.006316031932830811, 0.00658739185333252, 0.006497280120849609, 0.006492159843444824, 0.006490111827850342, 0.006472703933715821, 0.0065372161865234375, 0.00662937593460083, 0.00657919979095459, 0.0065064959526062015, 0.006508543968200684, 0.0065075201988220215, 0.0065146880149841305, 0.0064767999649047855, 0.006534143924713135, 0.006498303890228272, 0.006719488143920899, 0.00653926420211792, 0.006493184089660644, 0.0065146880149841305, 0.006526976108551025, 0.006683648109436035, 0.006542335987091064, 0.006602752208709717, 0.006486015796661377, 0.006508543968200684, 0.006675456047058105, 0.006573056221008301, 0.006549503803253174, 0.006491136074066162, 0.006515711784362793, 0.006575104236602783, 0.00653107213973999, 0.0065177597999572755, 0.006308864116668702, 0.006331391811370849, 0.006967296123504638, 0.006633503913879395, 0.006502399921417237, 0.006535168170928955, 0.0066007041931152345, 0.006867968082427979, 0.0067348480224609375, 0.006708223819732666, 0.006717440128326416, 0.006730751991271973, 0.006748159885406494, 0.006593535900115967, 0.006533120155334473, 0.006296576023101807, 0.00632422399520874, 0.006368256092071533, 0.006304768085479737, 0.006271999835968017, 0.0062975997924804685, 0.006289408206939697, 0.006335487842559814, 0.006344704151153564, 0.006450175762176514, 0.0064440321922302245, 0.006323200225830078, 0.0062494721412658695, 0.0062904319763183595, 0.006200319766998291, 0.006220799922943115, 0.006212607860565185, 0.006228991985321045, 0.006211584091186524, 0.0062197761535644535, 0.006207488059997559, 0.006205440044403076, 0.0062228479385375976 ] }, "throughput": { "unit": "samples/s", "value": 155.25983539326901 }, "energy": { "unit": "kWh", "cpu": 7.428469446798166e-08, "ram": 4.060932911670534e-08, "gpu": 1.4026747332499965e-07, "total": 2.5516149690968664e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3919086.5867742808 } } } }