IlyasMoutawwakil
HF staff
Upload cpu_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
e3d6ef3
verified
{ | |
"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.779392, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": "7cec62e016d76fe612308e4c2c074fc7f09289fd", | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"overall": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 522.866688, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.019453390999984776, | |
0.012075559000010117, | |
0.011965802999981179, | |
0.011934053999993921, | |
0.011987785000002305 | |
], | |
"count": 5, | |
"total": 0.0674165919999723, | |
"mean": 0.013483318399994459, | |
"p50": 0.011987785000002305, | |
"p90": 0.016502258199994912, | |
"p95": 0.017977824599989842, | |
"p99": 0.01915827771998579, | |
"stdev": 0.0029854060594256856, | |
"stdev_": 22.141478609797662 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 741.6571872992415 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.703254777777798e-06, | |
"ram": 3.635053251718738e-07, | |
"gpu": 0, | |
"total": 9.066760102949672e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 1102929.8102578802 | |
} | |
}, | |
"warmup": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 522.866688, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.019453390999984776, | |
0.012075559000010117 | |
], | |
"count": 2, | |
"total": 0.03152894999999489, | |
"mean": 0.015764474999997447, | |
"p50": 0.015764474999997447, | |
"p90": 0.01871560779998731, | |
"p95": 0.019084499399986042, | |
"p99": 0.01937961267998503, | |
"stdev": 0.00368891599998733, | |
"stdev_": 23.400183006334988 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 253.73505936611576 | |
}, | |
"energy": null, | |
"efficiency": null | |
}, | |
"train": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 522.866688, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.011965802999981179, | |
0.011934053999993921, | |
0.011987785000002305 | |
], | |
"count": 3, | |
"total": 0.035887641999977404, | |
"mean": 0.011962547333325801, | |
"p50": 0.011965802999981179, | |
"p90": 0.01198338859999808, | |
"p95": 0.011985586800000192, | |
"p99": 0.011987345360001882, | |
"stdev": 2.2056059099537384e-05, | |
"stdev_": 0.184375940048259 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 501.56541352065796 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |