IlyasMoutawwakil HF Staff
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
601eaa0 verified | { | |
| "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.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": "4eb7a37589fa5efafd23072041135e22808603ce", | |
| "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.078592, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.023494457999987617, | |
| 0.01259725500000286, | |
| 0.01271216899999672, | |
| 0.01171425199999021, | |
| 0.013879252000009501 | |
| ], | |
| "count": 5, | |
| "total": 0.07439738599998691, | |
| "mean": 0.014879477199997382, | |
| "p50": 0.01271216899999672, | |
| "p90": 0.01964837559999637, | |
| "p95": 0.021571416799991992, | |
| "p99": 0.02310984975998849, | |
| "stdev": 0.0043621728119273215, | |
| "stdev_": 29.316707524697772 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 672.0666234161614 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 9.272332805555865e-06, | |
| "ram": 3.8730279171386433e-07, | |
| "gpu": 0, | |
| "total": 9.65963559726973e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 1035235.7394130346 | |
| } | |
| }, | |
| "warmup": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 532.078592, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.023494457999987617, | |
| 0.01259725500000286 | |
| ], | |
| "count": 2, | |
| "total": 0.03609171299999048, | |
| "mean": 0.01804585649999524, | |
| "p50": 0.01804585649999524, | |
| "p90": 0.02240473769998914, | |
| "p95": 0.022949597849988377, | |
| "p99": 0.023385485969987768, | |
| "stdev": 0.005448601499992378, | |
| "stdev_": 30.193088923176443 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 221.6575311901131 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "train": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 532.078592, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.01271216899999672, | |
| 0.01171425199999021, | |
| 0.013879252000009501 | |
| ], | |
| "count": 3, | |
| "total": 0.03830567299999643, | |
| "mean": 0.012768557666665478, | |
| "p50": 0.01271216899999672, | |
| "p90": 0.013645835400006944, | |
| "p95": 0.013762543700008224, | |
| "p99": 0.013855910340009246, | |
| "stdev": 0.0008847564679305419, | |
| "stdev_": 6.929180969596521 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 469.90428806724464 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |