IlyasMoutawwakil
HF Staff
Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
0013cb7
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.240-238.959.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": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "transformers_version": "4.55.2", | |
| "transformers_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "accelerate_version": "1.10.0", | |
| "accelerate_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "diffusers_version": "0.35.0", | |
| "diffusers_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "peft_version": "0.17.0", | |
| "peft_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "overall": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1545.760768, | |
| "max_global_vram": 720.896, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.24321434020996094, | |
| 0.009371647834777832, | |
| 0.00946886444091797, | |
| 0.0085032958984375, | |
| 0.008429568290710449 | |
| ], | |
| "count": 5, | |
| "total": 0.2789877166748047, | |
| "mean": 0.05579754333496094, | |
| "p50": 0.009371647834777832, | |
| "p90": 0.14971614990234378, | |
| "p95": 0.19646524505615232, | |
| "p99": 0.2338645211791992, | |
| "stdev": 0.09370937723870128, | |
| "stdev_": 167.94534604534462 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 179.219359891322 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 6.160239602083056e-06, | |
| "ram": 2.8976839222221112e-06, | |
| "gpu": 8.145839849999642e-06, | |
| "total": 1.720376337430481e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 581268.16687887 | |
| } | |
| }, | |
| "warmup": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1545.760768, | |
| "max_global_vram": 720.896, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.24321434020996094, | |
| 0.009371647834777832 | |
| ], | |
| "count": 2, | |
| "total": 0.25258598804473875, | |
| "mean": 0.12629299402236938, | |
| "p50": 0.12629299402236938, | |
| "p90": 0.21983007097244264, | |
| "p95": 0.23152220559120176, | |
| "p99": 0.2408759132862091, | |
| "stdev": 0.11692134618759155, | |
| "stdev_": 92.57943965354254 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 31.672382391152343 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "train": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1545.760768, | |
| "max_global_vram": 720.896, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 65.011712, | |
| "max_allocated": 42.18368 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.00946886444091797, | |
| 0.0085032958984375, | |
| 0.008429568290710449 | |
| ], | |
| "count": 3, | |
| "total": 0.026401728630065915, | |
| "mean": 0.008800576210021971, | |
| "p50": 0.0085032958984375, | |
| "p90": 0.009275750732421876, | |
| "p95": 0.009372307586669923, | |
| "p99": 0.00944955307006836, | |
| "stdev": 0.00047350875366837297, | |
| "stdev_": 5.380428989742148 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 681.773540369696 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |