benchmarks / 2024-12-14-01:08:37 /pytorch /benchmark_config.json
lukeyourheart's picture
Upload 2024-12-14-01:08:37/pytorch/benchmark_config.json with huggingface_hub
aacbb61 verified
{
"name": "2024-12-14-01:08:37/pytorch",
"backend": {
"name": "pytorch",
"version": "2.5.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"device_map": null,
"torch_dtype": "float32",
"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": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 10,
"duration": 10,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 2,
"sequence_length": 16
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 32,
"min_new_tokens": 32
},
"call_kwargs": {
"num_inference_steps": 5
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": false,
"device_isolation_action": null,
"numactl": true,
"numactl_kwargs": {
"cpunodebind": 0,
"membind": 0
},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R13 Processor",
"cpu_count": 64,
"cpu_ram_mb": 529717.02272,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
"processor": "",
"python_version": "3.10.16",
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": "1.23.3",
"optimum_commit": null,
"timm_version": null,
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": false,
"log_report": true
}