IlyasMoutawwakil's picture
Upload cpu_training_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
5debb16 verified
raw
history blame
7.57 kB
{
"config": {
"name": "cpu_training_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.5.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"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": "b28613edd07775950ebcafe798ccfb9a5b1d3c5b",
"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": 2490.49088,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.632165848999989,
1.5201241219999702,
1.4868459479999956,
1.5022890139999845,
1.5401674920000232
],
"count": 5,
"total": 7.6815924249999625,
"mean": 1.5363184849999925,
"p50": 1.5201241219999702,
"p90": 1.5953665062000026,
"p95": 1.6137661775999959,
"p99": 1.6284859147199904,
"stdev": 0.0511259743131944,
"stdev_": 3.3278239383544648
},
"throughput": {
"unit": "samples/s",
"value": 6.509067031111098
},
"energy": {
"unit": "kWh",
"cpu": 0.0003106242559,
"ram": 1.299187150049454e-05,
"gpu": 0,
"total": 0.00032361612740049455
},
"efficiency": {
"unit": "samples/kWh",
"value": 30900.80856083045
}
},
"warmup": {
"memory": {
"unit": "MB",
"max_ram": 2490.49088,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.632165848999989,
1.5201241219999702
],
"count": 2,
"total": 3.1522899709999592,
"mean": 1.5761449854999796,
"p50": 1.5761449854999796,
"p90": 1.6209616762999872,
"p95": 1.626563762649988,
"p99": 1.631045431729989,
"stdev": 0.056020863500009455,
"stdev_": 3.554296337924693
},
"throughput": {
"unit": "samples/s",
"value": 2.5378375953980736
},
"energy": null,
"efficiency": null
},
"train": {
"memory": {
"unit": "MB",
"max_ram": 2490.49088,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.4868459479999956,
1.5022890139999845,
1.5401674920000232
],
"count": 3,
"total": 4.529302454000003,
"mean": 1.5097674846666678,
"p50": 1.5022890139999845,
"p90": 1.5325917964000155,
"p95": 1.5363796442000193,
"p99": 1.5394099224400224,
"stdev": 0.022401523851009967,
"stdev_": 1.4837731027142804
},
"throughput": {
"unit": "samples/s",
"value": 3.9741218836254797
},
"energy": null,
"efficiency": null
}
}
}