ennew / benchmarks /experiment_config.json
davisgao's picture
Upload benchmarks/experiment_config.json with huggingface_hub
56acf9f verified
raw
history blame contribute delete
No virus
3.75 kB
{
"experiment_name": "pytorch_llama",
"backend": {
"name": "pytorch",
"version": "2.1.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"model": "FlagAlpha/Llama2-Chinese-13b-Chat",
"library": "transformers",
"device": "cuda",
"device_ids": "0,1,2,3",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"amp_autocast": false,
"amp_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"torch_compile": false,
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"launcher": {
"name": "torchrun",
"_target_": "optimum_benchmark.launchers.torchrun.launcher.TorchrunLauncher",
"device_isolation": false,
"min_nodes": 1,
"max_nodes": 1,
"nproc_per_node": 4,
"role": "benchmark_worker",
"monitor_interval": 30,
"rdzv_id": "3ac12ff4-5dc0-43ee-97e5-2bc7705f9cf9",
"rdzv_backend": "c10d",
"rdzv_endpoint": "localhost:0",
"rdzv_configs": {
"rank": 0,
"timeout": 900
},
"max_restarts": 0,
"start_method": "spawn",
"log_dir": null,
"redirects": "0",
"tee": "0",
"metrics_cfg": {},
"local_addr": null
},
"benchmark": {
"name": "inference",
"_target_": "optimum_benchmark.benchmarks.inference.benchmark.InferenceBenchmark",
"iterations": 10,
"duration": 10,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 8,
"num_choices": 2,
"sequence_length": 2048
},
"new_tokens": null,
"latency": true,
"memory": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {},
"call_kwargs": {}
},
"environment": {
"cpu": " Intel(R) Xeon(R) Platinum 8378A CPU @ 3.00GHz",
"cpu_count": 128,
"cpu_ram_mb": 1081425.444864,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.4.0-144-generic-x86_64-with-glibc2.31",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB",
"NVIDIA A800-SXM4-80GB"
],
"gpu_count": 8,
"gpu_vram_mb": 687194767360,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.39.3",
"transformers_commit": null,
"accelerate_version": "0.29.2",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": null,
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
}