cpu
/
cpu_training_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
82fb40f
verified
{ | |
"config": { | |
"name": "cpu_training_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "hf-internal-testing/tiny-random-BertModel", | |
"processor": "hf-internal-testing/tiny-random-BertModel", | |
"device": "cpu", | |
"device_ids": null, | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"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", | |
"evaluation_strategy": "no", | |
"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": false, | |
"device_isolation_action": null, | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16766.779392, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": "4c23a0dd5935e7600e61c861bcc6679e75f1084b", | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"overall": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 477.036544, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.017024412000012035, | |
0.012999793000005866, | |
0.01477946699998256, | |
0.01479932399999484, | |
0.012955349999998589 | |
], | |
"count": 5, | |
"total": 0.07255834599999389, | |
"mean": 0.014511669199998778, | |
"p50": 0.01477946699998256, | |
"p90": 0.016134376800005158, | |
"p95": 0.016579394400008596, | |
"p99": 0.016935408480011346, | |
"stdev": 0.0014950743406967847, | |
"stdev_": 10.302566300897423 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 689.100603258021 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0378517450000245e-05, | |
"ram": 4.335852564512447e-07, | |
"gpu": 0, | |
"total": 1.081210270645149e-05 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 924889.4753869739 | |
} | |
}, | |
"warmup": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 477.036544, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.017024412000012035, | |
0.012999793000005866 | |
], | |
"count": 2, | |
"total": 0.0300242050000179, | |
"mean": 0.01501210250000895, | |
"p50": 0.01501210250000895, | |
"p90": 0.01662195010001142, | |
"p95": 0.016823181050011727, | |
"p99": 0.016984165810011973, | |
"stdev": 0.0020123095000030844, | |
"stdev_": 13.40458140358344 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 266.4516845656773 | |
}, | |
"energy": null, | |
"efficiency": null | |
}, | |
"train": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 477.036544, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.01477946699998256, | |
0.01479932399999484, | |
0.012955349999998589 | |
], | |
"count": 3, | |
"total": 0.04253414099997599, | |
"mean": 0.014178046999991997, | |
"p50": 0.01477946699998256, | |
"p90": 0.014795352599992383, | |
"p95": 0.014797338299993612, | |
"p99": 0.014798926859994595, | |
"stdev": 0.000864615344322561, | |
"stdev_": 6.098268289864246 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 423.18945620672486 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |