local
/
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
39eaebb
verified
| { | |
| "config": { | |
| "name": "cpu_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": "cpu", | |
| "device_ids": null, | |
| "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": false, | |
| "device_isolation_action": null, | |
| "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": 704.507904, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.1605406547896564, | |
| 0.019614793825894594, | |
| 0.01893725385889411, | |
| 0.018835702911019325, | |
| 0.018731867894530296 | |
| ], | |
| "count": 5, | |
| "total": 0.23666027327999473, | |
| "mean": 0.04733205465599895, | |
| "p50": 0.01893725385889411, | |
| "p90": 0.1041703104041517, | |
| "p95": 0.13235548259690402, | |
| "p99": 0.15490362035110591, | |
| "stdev": 0.05660514314091633, | |
| "stdev_": 119.59156126289585 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 211.27331303655086 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.3389462343184278e-05, | |
| "ram": 2.246134279867776e-05, | |
| "gpu": 3.2204470208796465e-05, | |
| "total": 6.80552753506585e-05 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 146939.38050319327 | |
| } | |
| }, | |
| "warmup": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 704.507904, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.1605406547896564, | |
| 0.019614793825894594 | |
| ], | |
| "count": 2, | |
| "total": 0.180155448615551, | |
| "mean": 0.0900777243077755, | |
| "p50": 0.0900777243077755, | |
| "p90": 0.14644806869328023, | |
| "p95": 0.1534943617414683, | |
| "p99": 0.15913139618001879, | |
| "stdev": 0.0704629304818809, | |
| "stdev_": 78.22458995647446 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 44.40609518878266 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| }, | |
| "train": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 704.507904, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.01893725385889411, | |
| 0.018835702911019325, | |
| 0.018731867894530296 | |
| ], | |
| "count": 3, | |
| "total": 0.05650482466444373, | |
| "mean": 0.018834941554814577, | |
| "p50": 0.018835702911019325, | |
| "p90": 0.018916943669319154, | |
| "p95": 0.018927098764106632, | |
| "p99": 0.018935222839936615, | |
| "stdev": 8.385019712505665e-05, | |
| "stdev_": 0.4451842703149929 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 318.55686849563295 | |
| }, | |
| "energy": null, | |
| "efficiency": null | |
| } | |
| } | |
| } |