
IlyasMoutawwakil
HF Staff
Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
a01c432
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": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"transformers_version": "4.55.2", | |
"transformers_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"accelerate_version": "1.10.0", | |
"accelerate_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"diffusers_version": "0.35.0", | |
"diffusers_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.19", | |
"timm_commit": "cedaacb09a439594145c7cdff4b1753540ff896f", | |
"peft_version": "0.17.0", | |
"peft_commit": "cedaacb09a439594145c7cdff4b1753540ff896f" | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"overall": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1544.368128, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.260474853515625, | |
0.01016534423828125, | |
0.009003040313720703, | |
0.009936896324157715, | |
0.010100735664367675 | |
], | |
"count": 5, | |
"total": 0.29968087005615235, | |
"mean": 0.05993617401123047, | |
"p50": 0.010100735664367675, | |
"p90": 0.1603510498046875, | |
"p95": 0.2104129516601562, | |
"p99": 0.25046247314453124, | |
"stdev": 0.10027021518512418, | |
"stdev_": 167.29498810907776 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.84414988060902 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.8915256443145894e-06, | |
"ram": 5.858448961112117e-06, | |
"gpu": 1.8124736722000684e-05, | |
"total": 2.587471132742739e-05 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 386477.741662761 | |
} | |
}, | |
"warmup": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1544.368128, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.260474853515625, | |
0.01016534423828125 | |
], | |
"count": 2, | |
"total": 0.27064019775390624, | |
"mean": 0.13532009887695312, | |
"p50": 0.13532009887695312, | |
"p90": 0.23544390258789064, | |
"p95": 0.2479593780517578, | |
"p99": 0.2579717584228515, | |
"stdev": 0.12515475463867187, | |
"stdev_": 92.48792727566315 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 29.559540919617636 | |
}, | |
"energy": null, | |
"efficiency": null | |
}, | |
"train": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1544.368128, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.009003040313720703, | |
0.009936896324157715, | |
0.010100735664367675 | |
], | |
"count": 3, | |
"total": 0.029040672302246093, | |
"mean": 0.009680224100748697, | |
"p50": 0.009936896324157715, | |
"p90": 0.010067967796325683, | |
"p95": 0.010084351730346679, | |
"p99": 0.010097458877563475, | |
"stdev": 0.00048349025733740935, | |
"stdev_": 4.994618433472163 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 619.8203613422485 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |