
IlyasMoutawwakil
HF Staff
Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
b240b1f
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.6.0.dev0", | |
"optimum_benchmark_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c", | |
"transformers_version": "4.52.4", | |
"transformers_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c", | |
"accelerate_version": "1.10.0", | |
"accelerate_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c", | |
"diffusers_version": "0.35.0", | |
"diffusers_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c", | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.19", | |
"timm_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c", | |
"peft_version": "0.17.0", | |
"peft_commit": "e7fe2600b577ac6d6cbc20c3ec116d31eb98655c" | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"overall": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1596.219392, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.172928 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.270244873046875, | |
0.009052160263061524, | |
0.008036352157592774, | |
0.008026111602783203, | |
0.008003520011901856 | |
], | |
"count": 5, | |
"total": 0.3033630170822144, | |
"mean": 0.060672603416442886, | |
"p50": 0.008036352157592774, | |
"p90": 0.16576778793334965, | |
"p95": 0.21800633049011225, | |
"p99": 0.25979716453552243, | |
"stdev": 0.10478689492770273, | |
"stdev_": 172.7087499583122 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.81903588943243 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.471215502083222e-06, | |
"ram": 3.0440780833332486e-06, | |
"gpu": 8.087784247999812e-06, | |
"total": 1.7603077833416284e-05 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 568082.4736806421 | |
} | |
}, | |
"warmup": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1596.219392, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.172928 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.270244873046875, | |
0.009052160263061524 | |
], | |
"count": 2, | |
"total": 0.27929703330993655, | |
"mean": 0.13964851665496827, | |
"p50": 0.13964851665496827, | |
"p90": 0.24412560176849366, | |
"p95": 0.25718523740768434, | |
"p99": 0.26763294591903686, | |
"stdev": 0.13059635639190673, | |
"stdev_": 93.51789730396717 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 28.643340407853103 | |
}, | |
"energy": null, | |
"efficiency": null | |
}, | |
"train": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1596.219392, | |
"max_global_vram": 720.896, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.172928 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008036352157592774, | |
0.008026111602783203, | |
0.008003520011901856 | |
], | |
"count": 3, | |
"total": 0.02406598377227783, | |
"mean": 0.008021994590759278, | |
"p50": 0.008026111602783203, | |
"p90": 0.00803430404663086, | |
"p95": 0.008035328102111817, | |
"p99": 0.008036147346496582, | |
"stdev": 1.3716165369647296e-05, | |
"stdev_": 0.1709819822796598 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 747.9436606591008 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |