-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathremote.example.yaml
More file actions
44 lines (34 loc) · 1.02 KB
/
remote.example.yaml
File metadata and controls
44 lines (34 loc) · 1.02 KB
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
# PaperForge remote execution config
# Copy to remote.yaml and fill in your server details.
# remote.yaml is git-ignored.
host: "your-gpu-server.example.com"
port: 22
username: "root"
auth:
# "key" or "password"
method: key
key_path: "~/.ssh/id_rsa"
# passphrase: "$SSH_KEY_PASSPHRASE" # optional, supports $ENV_VAR
# password: "$SSH_PASSWORD" # only when method=password
remote_workdir: "/root/experiment"
# Local paths to upload (files or directories)
upload_paths:
- "./workspace/results/paper_writer/my_experiment"
upload_excludes:
- "__pycache__"
- ".git"
- "*.pyc"
- ".DS_Store"
- "*.egg-info"
# Command to run on the remote server after upload
train_command: "cd /root/experiment && bash run_train.sh"
# Remote directory containing results to download
results_dir: "/root/experiment/outputs"
download_excludes:
- "__pycache__"
- "*.pyc"
- ".git"
# Seconds between status checks (for future async support)
poll_interval_seconds: 30
# SSH connection timeout in seconds
connect_timeout: 15