forked from Pinafore/qb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacker_gpu.json
115 lines (114 loc) · 2.48 KB
/
packer_gpu.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"builders": [
{
"type": "amazon-ebs",
"region": "us-west-2",
"source_ami": "ami-b7a114d7",
"instance_type": "p3.2xlarge",
"ssh_username": "ubuntu",
"ebs_optimized": true,
"ami_name": "qanta-gpu-cuda-9 {{timestamp}}",
"launch_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_size": 50,
"volume_type": "gp2",
"delete_on_termination": true,
"iops": 1000
}
],
"tags": {
"Image": "qanta-gpu-cuda-9"
},
"spot_price": "1.5",
"spot_price_auto_product": "Linux/UNIX"
}
],
"provisioners": [
{
"type": "file",
"source": "requirements.txt",
"destination": "/home/ubuntu/requirements.txt"
},
{
"type": "file",
"source": "conf/aws-qb-env.sh",
"destination": "/home/ubuntu/aws-qb-env.sh"
},
{
"type": "file",
"source": "conf/limits.conf",
"destination": "/home/ubuntu/limits.conf"
},
{
"type": "file",
"source": "conf/client.cfg",
"destination": "/home/ubuntu/client.cfg"
},
{
"type": "file",
"source": "conf/cuda-dnn-env.sh",
"destination": "/home/ubuntu/cuda-dnn-env.sh"
},
{
"type": "file",
"source": "conf/environment",
"destination": "/home/ubuntu/environment"
},
{
"type": "file",
"source": "conf/spark-defaults.conf",
"destination": "/home/ubuntu/spark-defaults.conf"
},
{
"type": "shell",
"script": "bin/install-apt-packages.sh"
},
{
"type": "shell",
"script": "bin/install-python.sh"
},
{
"type": "shell",
"script": "bin/install-spark.sh"
},
{
"type": "shell",
"script": "bin/install-vw.sh"
},
{
"type": "shell",
"script": "bin/install-cuda.sh"
},
{
"type": "shell",
"script": "bin/install-dl-libs-gpu.sh"
},
{
"type": "shell",
"script": "bin/install-pandoc.sh"
},
{
"type": "shell",
"script": "bin/install-elasticsearch.sh"
},
{
"type": "shell",
"script": "bin/install-utilities.sh"
},
{
"type": "shell",
"script": "bin/configure.sh"
},
{
"type": "file",
"source": "conf/aws-config",
"destination": "/home/ubuntu/.aws/config"
},
{
"type": "file",
"source": "conf/tmux.conf",
"destination": "/home/ubuntu/.tmux.conf"
}
]
}