{ "config": { "name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM", "backend": { "name": "pytorch", "version": "2.6.0+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "model": "hf-internal-testing/tiny-random-LlamaForCausalLM", "processor": "hf-internal-testing/tiny-random-LlamaForCausalLM", "task": "text-generation", "library": "transformers", "model_type": "llama", "device": "cpu", "device_ids": null, "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": "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", "evaluation_strategy": "no", "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 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16766.763008, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.8.0-1020-azure-x86_64-with-glibc2.39", "processor": "x86_64", "python_version": "3.10.16", "optimum_benchmark_version": "0.6.0.dev0", "optimum_benchmark_commit": "c698724b959cc22d115bf6d3dd4f57fa84ed72a2", "transformers_version": "4.48.2", "transformers_commit": null, "accelerate_version": "1.3.0", "accelerate_commit": null, "diffusers_version": "0.32.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.14", "timm_commit": null, "peft_version": null, "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "overall": { "memory": { "unit": "MB", "max_ram": 532.037632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.019707620000019688, 0.013012204999995447, 0.012847288000017443, 0.012682041000005029, 0.012949298000023646 ], "count": 5, "total": 0.07119845200006125, "mean": 0.01423969040001225, "p50": 0.012949298000023646, "p90": 0.01702945400000999, "p95": 0.01836853700001484, "p99": 0.019439803400018718, "stdev": 0.0027362435257372256, "stdev_": 19.215611076311546 }, "throughput": { "unit": "samples/s", "value": 702.2624593011795 }, "energy": { "unit": "kWh", "cpu": 9.095630016667005e-06, "ram": 3.7991588140184346e-07, "gpu": 0, "total": 9.475545898068848e-06 }, "efficiency": { "unit": "samples/kWh", "value": 1055348.1675433642 } }, "warmup": { "memory": { "unit": "MB", "max_ram": 532.037632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.019707620000019688, 0.013012204999995447 ], "count": 2, "total": 0.032719825000015135, "mean": 0.016359912500007567, "p50": 0.016359912500007567, "p90": 0.019038078500017264, "p95": 0.019372849250018476, "p99": 0.019640665850019445, "stdev": 0.0033477075000121204, "stdev_": 20.462869223845615 }, "throughput": { "unit": "samples/s", "value": 244.50008519288534 }, "energy": null, "efficiency": null }, "train": { "memory": { "unit": "MB", "max_ram": 532.037632, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.012847288000017443, 0.012682041000005029, 0.012949298000023646 ], "count": 3, "total": 0.03847862700004612, "mean": 0.012826209000015373, "p50": 0.012847288000017443, "p90": 0.012928896000022404, "p95": 0.012939097000023025, "p99": 0.012947257800023522, "stdev": 0.00011012059812028271, "stdev_": 0.8585592057649358 }, "throughput": { "unit": "samples/s", "value": 467.79215900760767 }, "energy": null, "efficiency": null } } }