{ "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_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": {}, "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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 876.122112, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 195, "total": 1.0010616989135734, "mean": 0.005133649738018328, "stdev": 0.0002224339142732224, "p50": 0.005030911922454834, "p90": 0.005355519962310791, "p95": 0.005637734508514404, "p99": 0.005761208190917969, "values": [ 0.006130688190460205, 0.005653503894805908, 0.005742591857910156, 0.005715968132019043, 0.005724160194396972, 0.005701632022857666, 0.005683199882507324, 0.005715968132019043, 0.005593088150024414, 0.005473279953002929, 0.006052864074707031, 0.005248000144958496, 0.005058559894561767, 0.005115903854370117, 0.005066751956939697, 0.005023744106292725, 0.005045248031616211, 0.005061632156372071, 0.0050769920349121095, 0.005031936168670655, 0.005044288158416748, 0.005038080215454102, 0.005022719860076904, 0.005055488109588623, 0.005041152000427246, 0.005026815891265869, 0.0050206718444824215, 0.005004288196563721, 0.004967423915863037, 0.004956160068511963, 0.00496230411529541, 0.004964352130889893, 0.0049725441932678225, 0.004958208084106445, 0.004939775943756103, 0.004937727928161621, 0.0049530878067016604, 0.004958208084106445, 0.004964352130889893, 0.004947968006134033, 0.004963327884674072, 0.00497049617767334, 0.0049428482055664065, 0.004939775943756103, 0.004987904071807861, 0.004965375900268554, 0.004929535865783692, 0.004940800189971924, 0.0049459199905395506, 0.004957183837890625, 0.004958208084106445, 0.004934656143188477, 0.004947968006134033, 0.0049489917755126955, 0.004935679912567138, 0.0049428482055664065, 0.004951039791107178, 0.004935679912567138, 0.004986879825592041, 0.004963327884674072, 0.005015552043914795, 0.004947968006134033, 0.0049428482055664065, 0.004947968006134033, 0.0049530878067016604, 0.004955135822296143, 0.005210112094879151, 0.005024767875671386, 0.005017600059509277, 0.0050032639503479, 0.005045248031616211, 0.005014527797698975, 0.005026815891265869, 0.0050421757698059086, 0.005023744106292725, 0.005030911922454834, 0.0050432000160217285, 0.005071872234344482, 0.005029888153076172, 0.005015552043914795, 0.005004288196563721, 0.004997119903564453, 0.0049459199905395506, 0.0050063362121582035, 0.004968448162078858, 0.004969471931457519, 0.004959231853485108, 0.00501043176651001, 0.005100543975830078, 0.005089280128479004, 0.005030911922454834, 0.00501145601272583, 0.005029952049255371, 0.005049344062805176, 0.00499616003036499, 0.00501964807510376, 0.005015552043914795, 0.005037055969238281, 0.005028863906860351, 0.004998144149780274, 0.005033984184265137, 0.005028863906860351, 0.00506879997253418, 0.005000192165374756, 0.004963327884674072, 0.004952064037322998, 0.004918272018432617, 0.0049387521743774416, 0.004963327884674072, 0.004966400146484375, 0.004956160068511963, 0.004925439834594727, 0.004940800189971924, 0.0049459199905395506, 0.004938784122467041, 0.004943871974945068, 0.004935679912567138, 0.004959231853485108, 0.004936704158782959, 0.004941823959350586, 0.004928512096405029, 0.004975615978240967, 0.004939775943756103, 0.004943871974945068, 0.004934656143188477, 0.004952064037322998, 0.004963327884674072, 0.004933631896972656, 0.004969471931457519, 0.004968448162078858, 0.004952064037322998, 0.004933631896972656, 0.004942880153656006, 0.0052336640357971195, 0.00563097620010376, 0.005349376201629639, 0.005336063861846924, 0.005406720161437988, 0.005348351955413819, 0.005362688064575195, 0.005380095958709717, 0.005331967830657959, 0.005372928142547607, 0.005280767917633057, 0.0052899842262268066, 0.005280767917633057, 0.005311488151550293, 0.005291007995605469, 0.005325823783874512, 0.00530841588973999, 0.005260287761688232, 0.005274623870849609, 0.0052930560111999515, 0.005292031764984131, 0.005291007995605469, 0.005288959980010987, 0.005739520072937012, 0.0052971520423889164, 0.0052705278396606445, 0.00524294376373291, 0.005272575855255127, 0.005277696132659912, 0.005272575855255127, 0.005283840179443359, 0.0053012480735778805, 0.005262335777282715, 0.005408768177032471, 0.005281792163848877, 0.005239808082580567, 0.005249023914337158, 0.005265408039093018, 0.005258240222930908, 0.005314559936523438, 0.005288959980010987, 0.005256192207336426, 0.005254144191741943, 0.005318655967712403, 0.005314559936523438, 0.005339136123657226, 0.005368832111358642, 0.005282815933227539, 0.005258240222930908, 0.0053043198585510255, 0.005268479824066162, 0.005254144191741943, 0.005287936210632324, 0.005284863948822022, 0.005248000144958496, 0.005359615802764893, 0.005281792163848877, 0.0052674560546875, 0.0052899842262268066, 0.005287936210632324, 0.005260287761688232, 0.005279744148254394 ] }, "throughput": { "unit": "samples/s", "value": 194.79318828362764 }, "energy": { "unit": "kWh", "cpu": 5.882517716409874e-08, "ram": 3.2160075475427906e-08, "gpu": 1.211717140990104e-07, "total": 2.1215696673853707e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4713491.220075762 } } } }