IlyasMoutawwakil's picture
Upload cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
b5428fd verified
{
"config": {
"name": "cuda_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.5.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"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 7742 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 540671.643648,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.31",
"processor": "x86_64",
"python_version": "3.10.18",
"gpu": [
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA A100-SXM4-80GB",
"NVIDIA DGX Display",
"NVIDIA A100-SXM4-80GB"
],
"gpu_count": 5,
"gpu_vram_mb": 347892350976,
"optimum_benchmark_version": "0.6.0.dev0",
"optimum_benchmark_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"transformers_version": "4.45.1",
"transformers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"accelerate_version": "1.10.0",
"accelerate_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"diffusers_version": "0.34.0",
"diffusers_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.19",
"timm_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db",
"peft_version": "0.17.0",
"peft_commit": "61a08086def388b3e78bbf6b42ed20ab4af3f8db"
},
"print_report": true,
"log_report": true
},
"report": {
"overall": {
"memory": {
"unit": "MB",
"max_ram": 1243.38176,
"max_global_vram": 1484.71808,
"max_process_vram": 557.842432,
"max_reserved": 25.165824,
"max_allocated": 19.652608
},
"latency": {
"unit": "s",
"values": [
0.6418165893554687,
0.013830143928527832,
0.012755968093872071,
0.012806143760681152,
0.012435456275939942
],
"count": 5,
"total": 0.6936443014144896,
"mean": 0.13872886028289794,
"p50": 0.012806143760681152,
"p90": 0.3906220111846924,
"p95": 0.5162193002700805,
"p99": 0.616697131538391,
"stdev": 0.2515443008652086,
"stdev_": 181.32081554786495
},
"throughput": {
"unit": "samples/s",
"value": 72.08305452526498
},
"energy": {
"unit": "kWh",
"cpu": 2.93559461570112e-05,
"ram": 4.9259794000048283e-05,
"gpu": 1.7894458764544652e-05,
"total": 9.651019892160413e-05
},
"efficiency": {
"unit": "samples/kWh",
"value": 103615.992006431
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 1243.38176,
"max_global_vram": 1484.71808,
"max_process_vram": 557.842432,
"max_reserved": 25.165824,
"max_allocated": 19.652608
},
"latency": {
"unit": "s",
"values": [
0.6418165893554687,
0.013830143928527832
],
"count": 2,
"total": 0.6556467332839966,
"mean": 0.3278233666419983,
"p50": 0.3278233666419983,
"p90": 0.5790179448127746,
"p95": 0.6104172670841216,
"p99": 0.6355367249011993,
"stdev": 0.31399322271347047,
"stdev_": 95.78122082321511
},
"throughput": {
"unit": "samples/s",
"value": 12.201692762091078
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 1243.38176,
"max_global_vram": 1484.71808,
"max_process_vram": 557.842432,
"max_reserved": 25.165824,
"max_allocated": 19.652608
},
"latency": {
"unit": "s",
"values": [
0.012755968093872071,
0.012806143760681152,
0.012435456275939942
],
"count": 3,
"total": 0.03799756813049317,
"mean": 0.012665856043497722,
"p50": 0.012755968093872071,
"p90": 0.012796108627319336,
"p95": 0.012801126194000244,
"p99": 0.01280514024734497,
"stdev": 0.00016419995747653373,
"stdev_": 1.2963984188090403
},
"throughput": {
"unit": "samples/s",
"value": 473.7145266292698
},
"energy": null,
"efficiency": null
}
}
}