Skip to content

Commit d64e64d

Browse files
committed
docs(rla_config): add port param to the default rla_config file
1 parent 617dde0 commit d64e64d

6 files changed

Lines changed: 105 additions & 121 deletions

File tree

example/rla_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ REMOTE_SETTING:
2626
ftp_server: ''
2727
username: ''
2828
password: ''
29+
port: ''
2930
remote_log_root: ''
3031
# option: ftp or sftp
3132
file_transfer_protocol: 'sftp'

example/sb3_ppo_example/rla_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ REMOTE_SETTING:
2727
username: ''
2828
password: ''
2929
remote_data_root: ''
30+
port: ''
3031
# option: ftp or sftp
3132
file_transfer_protocol: 'sftp'

example/sb_ppo_example/rla_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ REMOTE_SETTING:
2727
username: ''
2828
password: ''
2929
remote_data_root: ''
30+
port: ''
3031
# option: ftp or sftp
3132
file_transfer_protocol: 'sftp'

example/simplest_code/rla_config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ REMOTE_SETTING:
2626
ftp_server: ''
2727
username: ''
2828
password: ''
29+
port: ''
2930
remote_data_root: ''
3031
# option: ftp or sftp
3132
file_transfer_protocol: 'sftp'

test/test_plot.ipynb

Lines changed: 99 additions & 120 deletions
Large diffs are not rendered by default.

test/test_proj/proj/test_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ def test_sent_to_master(self):
150150
yaml['DL_FRAMEWORK'] = 'torch'
151151
yaml['SEND_LOG_FILE'] = True
152152
yaml['REMOTE_SETTING']['ftp_server'] = '127.0.0.1'
153-
yaml['REMOTE_SETTING']['file_transfer_protocol'] = 'sftp'
153+
yaml['REMOTE_SETTING']['file_transfer_protocol'] = private_config.protocol
154154
yaml['REMOTE_SETTING']['username'] = private_config.username
155155
yaml['REMOTE_SETTING']['password'] = private_config.password
156+
yaml['REMOTE_SETTING']['port'] = private_config.port
156157
yaml['REMOTE_SETTING']['remote_log_root'] = private_config.remote_root
157158

158159
self._init_proj(yaml, is_master_node=False)

0 commit comments

Comments
 (0)