File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,24 +163,33 @@ Test the fstab entry without rebooting:
163163sudo mount -fav
164164```
165165
166- Set Permissions (Optional)
166+ Set Permissions (optional):
167167``` bash
168168# Give your user ownership
169169sudo chown -R ubuntu:ubuntu /mnt/efs
170170```
171171
172- Setup directories:
172+ Setup directories (for a new volume) :
173173``` bash
174174cd /mnt/efs
175175mkdir -p out/finetune
176+ mkdir -p helmet/longtrain
176177cd out/finetune
177178mkdir data
178179mkdir neurips_exp
180+ ```
181+
182+ Setup symbolic links (for a new EC2 instance):
183+ ``` bash
179184cd /home/ubuntu
180185mkdir -p out/finetune
181186cd out/finetune
182187ln -s /mnt/efs/out/finetune/data data
183188ln -s /mnt/efs/out/finetune/neurips_exp neurips_exp
189+ cd ../..
190+ mkdir -p .cache/huggingface/helmet
191+ cd .cache/huggingface/helmet
192+ ln -s /mnt/efs/helmet/longtrain longtrain
184193```
185194
186195## Clone Repository, Install Virtual Environment
You can’t perform that action at this time.
0 commit comments