IlyasMoutawwakil
HF Staff
Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
82061ef
verified
| { | |
| "config": { | |
| "name": "cuda_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": "cuda", | |
| "device_ids": "0", | |
| "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": true, | |
| "device_isolation_action": "error", | |
| "numactl": false, | |
| "numactl_kwargs": {}, | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " AMD EPYC 7R32", | |
| "cpu_count": 16, | |
| "cpu_ram_mb": 66697.248768, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-5.10.242-239.961.amzn2.x86_64-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.18", | |
| "gpu": [ | |
| "NVIDIA A10G" | |
| ], | |
| "gpu_count": 1, | |
| "gpu_vram_mb": 24146608128, | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "b263af468a9e9a9a3d1449039849727352955646", | |
| "transformers_version": "4.56.2", | |
| "transformers_commit": "b263af468a9e9a9a3d1449039849727352955646", | |
| "accelerate_version": "1.10.1", | |
| "accelerate_commit": "b263af468a9e9a9a3d1449039849727352955646", | |
| "diffusers_version": "0.35.1", | |
| "diffusers_commit": "b263af468a9e9a9a3d1449039849727352955646", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.20", | |
| "timm_commit": "b263af468a9e9a9a3d1449039849727352955646", | |
| "peft_version": "0.17.1", | |
| "peft_commit": "b263af468a9e9a9a3d1449039849727352955646" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "overall": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1540.202496, | |
| "max_global_vram": 594.870272, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.24260096740722656, | |
| 0.008902655601501466, | |
| 0.008065024375915527, | |
| 0.008011775970458984, | |
| 0.008044544219970704 | |
| ], | |
| "count": 5, | |
| "total": 0.27562496757507327, | |
| "mean": 0.05512499351501465, | |
| "p50": 0.008065024375915527, | |
| "p90": 0.14912164268493655, | |
| "p95": 0.1958613050460815, | |
| "p99": 0.23325303493499755, | |
| "stdev": 0.09373858328097466, | |
| "stdev_": 170.04733661409438 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 181.40591703246648 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 6.1717029145830635e-06, | |
| "ram": 2.903089094444214e-06, | |
| "gpu": 1.0102230304000377e-05, | |
| "total": 1.9177022313027656e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 521457.38982671115 | |
| } | |
| }, | |
| "warmup": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1540.202496, | |
| "max_global_vram": 594.870272, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.24260096740722656, | |
| 0.008902655601501466 | |
| ], | |
| "count": 2, | |
| "total": 0.25150362300872803, | |
| "mean": 0.12575181150436401, | |
| "p50": 0.12575181150436401, | |
| "p90": 0.21923113622665405, | |
| "p95": 0.2309160518169403, | |
| "p99": 0.2402639842891693, | |
| "stdev": 0.11684915590286254, | |
| "stdev_": 92.92045538350554 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 31.80868690596307 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "train": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1540.202496, | |
| "max_global_vram": 594.870272, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.008065024375915527, | |
| 0.008011775970458984, | |
| 0.008044544219970704 | |
| ], | |
| "count": 3, | |
| "total": 0.024121344566345217, | |
| "mean": 0.008040448188781739, | |
| "p50": 0.008044544219970704, | |
| "p90": 0.008060928344726562, | |
| "p95": 0.008062976360321045, | |
| "p99": 0.00806461477279663, | |
| "stdev": 2.1930667637531545e-05, | |
| "stdev_": 0.2727542933257108 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 746.2270583835575 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |