IlyasMoutawwakil HF Staff
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
6f3062a verified Download cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json from optimum-benchmark/cpu: direct link, hf CLI and curl.
- Browser
- Download file 7.71 kB
-
https://huggingface.co/datasets/optimum-benchmark/cpu/resolve/main/cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json
- Command line
-
hf download hf://datasets/optimum-benchmark/cpu/cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json
-
curl -L -o benchmark.json https://huggingface.co/datasets/optimum-benchmark/cpu/resolve/main/cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json
7.71 kB
| { | |
| "config": { | |
| "name": "cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.8.0", | |
| "_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, | |
| "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": 16766.414848, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39", | |
| "processor": "x86_64", | |
| "python_version": "3.10.22", | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "eaf8ac992376fe23734eea5a30298eb1f19f6bb6", | |
| "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": 992.571392, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.010550441000077626, | |
| 0.008170274999997673, | |
| 0.007620343999974466, | |
| 0.007538910999983273, | |
| 0.007449274999999034 | |
| ], | |
| "count": 5, | |
| "total": 0.04132924600003207, | |
| "mean": 0.008265849200006415, | |
| "p50": 0.007620343999974466, | |
| "p90": 0.009598374600045645, | |
| "p95": 0.010074407800061635, | |
| "p99": 0.010455234360074428, | |
| "stdev": 0.0011696498326164797, | |
| "stdev_": 14.150389201578612 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 1209.7970526721247 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 3.825218976508222e-07, | |
| "ram": 2.0670107861109145e-06, | |
| "gpu": 0.0, | |
| "total": 2.449532683761737e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 4082411.337595644 | |
| } | |
| }, | |
| "warmup": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 992.571392, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.010550441000077626, | |
| 0.008170274999997673 | |
| ], | |
| "count": 2, | |
| "total": 0.0187207160000753, | |
| "mean": 0.00936035800003765, | |
| "p50": 0.00936035800003765, | |
| "p90": 0.01031242440006963, | |
| "p95": 0.010431432700073628, | |
| "p99": 0.010526639340076827, | |
| "stdev": 0.0011900830000399765, | |
| "stdev_": 12.714075679959993 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 427.3340827331509 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "train": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 992.571392, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.007620343999974466, | |
| 0.007538910999983273, | |
| 0.007449274999999034 | |
| ], | |
| "count": 3, | |
| "total": 0.022608529999956772, | |
| "mean": 0.007536176666652257, | |
| "p50": 0.007538910999983273, | |
| "p90": 0.0076040573999762275, | |
| "p95": 0.007612200699975346, | |
| "p99": 0.007618715339974642, | |
| "stdev": 6.986538543142535e-05, | |
| "stdev_": 0.9270667146191143 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 796.1596795560974 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |