{ "config": { "name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM", "backend": { "name": "pytorch", "version": "2.5.1+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.767104, "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": "92cd2b27febacd047b21430f43cc804cfd37a667", "transformers_version": "4.48.1", "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": 526.811136, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.019057135999958064, 0.012695155999949748, 0.01251563199997463, 0.01262870200002908, 0.012682792000020982 ], "count": 5, "total": 0.0695794179999325, "mean": 0.0139158835999865, "p50": 0.012682792000020982, "p90": 0.01651234399995474, "p95": 0.0177847399999564, "p99": 0.01880265679995773, "stdev": 0.002571408486499767, "stdev_": 18.47822646707293 }, "throughput": { "unit": "samples/s", "value": 718.603308812507 }, "energy": { "unit": "kWh", "cpu": 9.489859049998334e-06, "ram": 3.9652249041777215e-07, "gpu": 0, "total": 9.886381540416106e-06 }, "efficiency": { "unit": "samples/kWh", "value": 1011492.4210763478 } }, "warmup": { "memory": { "unit": "MB", "max_ram": 526.811136, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.019057135999958064, 0.012695155999949748 ], "count": 2, "total": 0.03175229199990781, "mean": 0.015876145999953906, "p50": 0.015876145999953906, "p90": 0.018420937999957233, "p95": 0.01873903699995765, "p99": 0.01899351619995798, "stdev": 0.003180990000004158, "stdev_": 20.03628588458051 }, "throughput": { "unit": "samples/s", "value": 251.95031590233634 }, "energy": null, "efficiency": null }, "train": { "memory": { "unit": "MB", "max_ram": 526.811136, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 0.01251563199997463, 0.01262870200002908, 0.012682792000020982 ], "count": 3, "total": 0.03782712600002469, "mean": 0.01260904200000823, "p50": 0.01262870200002908, "p90": 0.0126719740000226, "p95": 0.012677383000021792, "p99": 0.012681710200021144, "stdev": 6.96443493974392e-05, "stdev_": 0.5523365644859756 }, "throughput": { "unit": "samples/s", "value": 475.8489978854923 }, "energy": null, "efficiency": null } } }