{ "config": { "name": "cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", "backend": { "name": "pytorch", "version": "2.8.0", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "model": "hf-internal-testing/tiny-random-BertModel", "processor": "hf-internal-testing/tiny-random-BertModel", "task": "fill-mask", "library": "transformers", "model_type": "bert", "device": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": true, "tp_plan": null, "device_map": null, "torch_dtype": null, "eval_mode": true, "to_bettertransformer": false, "low_cpu_mem_usage": null, "attn_implementation": null, "cache_implementation": null, "allow_tf32": false, "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": "training", "_target_": "optimum_benchmark.scenarios.training.scenario.TrainingScenario", "max_steps": 5, "warmup_steps": 2, "dataset_shapes": { "dataset_size": 500, "sequence_length": 16, "num_choices": 1 }, "training_arguments": { "per_device_train_batch_size": 2, "gradient_accumulation_steps": 1, "output_dir": "./trainer_output", "eval_strategy": "no", "save_strategy": "no", "do_train": true, "use_cpu": false, "max_steps": 5, "do_eval": false, "do_predict": false, "report_to": "none", "skip_memory_metrics": true, "ddp_find_unused_parameters": false }, "latency": true, "memory": true, "energy": true }, "launcher": { "name": "process", "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", "device_isolation": false, "device_isolation_action": null, "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 9V45 96-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16760.344576, "system": "Linux", "machine": "x86_64", "platform": "Linux-7.0.0-1017-azure-x86_64-with-glibc2.39", "processor": "x86_64", "python_version": "3.10.22", "optimum_benchmark_version": "0.7.0.dev0", "optimum_benchmark_commit": "853aa4fb163e14f4254424098964fabca81dab48", "transformers_version": "4.56.2", "transformers_commit": null, "accelerate_version": "1.10.1", "accelerate_commit": null, "diffusers_version": "0.35.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.20", "timm_commit": null, "peft_version": "0.17.1", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "overall": { "memory": { "unit": "MB", "max_ram": 1182.789632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.009984501000005253, 0.007073670000011134, 0.006313714000000914, 0.0058962540000067065, 0.005850785000006908 ], "count": 5, "total": 0.035118924000030916, "mean": 0.007023784800006183, "p50": 0.006313714000000914, "p90": 0.008820168600007606, "p95": 0.009402334800006427, "p99": 0.009868067760005487, "stdev": 0.0015440067180477154, "stdev_": 21.982545906679203 }, "throughput": { "unit": "samples/s", "value": 1423.733825101133 }, "energy": { "unit": "kWh", "cpu": 3.95756568625653e-07, "ram": 2.08308245833331e-06, "gpu": 0.0, "total": 2.478839026958963e-06 }, "efficiency": { "unit": "samples/kWh", "value": 4034146.586867316 } }, "warmup": { "memory": { "unit": "MB", "max_ram": 1182.789632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.009984501000005253, 0.007073670000011134 ], "count": 2, "total": 0.017058171000016387, "mean": 0.008529085500008193, "p50": 0.008529085500008193, "p90": 0.00969341790000584, "p95": 0.009838959450005546, "p99": 0.009955392690005312, "stdev": 0.0014554154999970592, "stdev_": 17.06414480187426 }, "throughput": { "unit": "samples/s", "value": 468.98345666673845 }, "energy": null, "efficiency": null }, "train": { "memory": { "unit": "MB", "max_ram": 1182.789632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.006313714000000914, 0.0058962540000067065, 0.005850785000006908 ], "count": 3, "total": 0.01806075300001453, "mean": 0.006020251000004843, "p50": 0.0058962540000067065, "p90": 0.006230222000002073, "p95": 0.006271968000001493, "p99": 0.00630536480000103, "stdev": 0.0002083382774324262, "stdev_": 3.460624439616531 }, "throughput": { "unit": "samples/s", "value": 996.6361867628398 }, "energy": null, "efficiency": null } } }