
IlyasMoutawwakil
HF Staff
Upload cuda_training_transformers_text-generation_hf-internal-testing/tiny-random-LlamaForCausalLM/benchmark.json with huggingface_hub
f66f93a
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.240576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.240-238.966.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": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d", | |
"transformers_version": "4.56.2", | |
"transformers_commit": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d", | |
"accelerate_version": "1.10.1", | |
"accelerate_commit": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d", | |
"diffusers_version": "0.35.1", | |
"diffusers_commit": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d", | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.19", | |
"timm_commit": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d", | |
"peft_version": "0.17.1", | |
"peft_commit": "d7c06fc82cbda65c3a7bd047da8dd6180c837a1d" | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"overall": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1540.75136, | |
"max_global_vram": 594.870272, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.2460897216796875, | |
0.008861696243286133, | |
0.00799232006072998, | |
0.00799948787689209, | |
0.007966720104217529 | |
], | |
"count": 5, | |
"total": 0.2789099459648132, | |
"mean": 0.05578198919296264, | |
"p50": 0.00799948787689209, | |
"p90": 0.15119851150512698, | |
"p95": 0.1986441165924072, | |
"p99": 0.23660060066223146, | |
"stdev": 0.09515447104633597, | |
"stdev_": 170.58278563207008 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 179.26933307106916 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.23138355138894e-06, | |
"ram": 2.9312097166666718e-06, | |
"gpu": 8.341117784000252e-06, | |
"total": 1.7503711052055863e-05 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 571307.4199099893 | |
} | |
}, | |
"warmup": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1540.75136, | |
"max_global_vram": 594.870272, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.2460897216796875, | |
0.008861696243286133 | |
], | |
"count": 2, | |
"total": 0.25495141792297366, | |
"mean": 0.12747570896148683, | |
"p50": 0.12747570896148683, | |
"p90": 0.2223669191360474, | |
"p95": 0.23422832040786742, | |
"p99": 0.2437174414253235, | |
"stdev": 0.11861401271820068, | |
"stdev_": 93.04832558651354 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 31.37852719225501 | |
}, | |
"energy": null, | |
"efficiency": null | |
}, | |
"train": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1540.75136, | |
"max_global_vram": 594.870272, | |
"max_process_vram": 0.0, | |
"max_reserved": 65.011712, | |
"max_allocated": 42.18368 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00799232006072998, | |
0.00799948787689209, | |
0.007966720104217529 | |
], | |
"count": 3, | |
"total": 0.0239585280418396, | |
"mean": 0.007986176013946534, | |
"p50": 0.00799232006072998, | |
"p90": 0.007998054313659669, | |
"p95": 0.00799877109527588, | |
"p99": 0.007999344520568847, | |
"stdev": 1.4065174834102889e-05, | |
"stdev_": 0.1761190187837131 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 751.2982420525159 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |