Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
4fae3ed9
"src/vscode:/vscode.git/clone" did not exist on "61ac08661d47ecf84f4e0afc59d3261c035d4226"
Unverified
Commit
4fae3ed9
authored
Jan 05, 2021
by
SparkSnail
Committed by
GitHub
Jan 05, 2021
Browse files
Fix remote reuse mode start script (#3255)
parent
fce6ab4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ts/nni_manager/training_service/reusable/environments/remoteEnvironmentService.ts
...service/reusable/environments/remoteEnvironmentService.ts
+2
-2
No files found.
ts/nni_manager/training_service/reusable/environments/remoteEnvironmentService.ts
View file @
4fae3ed9
...
...
@@ -271,9 +271,9 @@ ${environment.command} --job_pid_file ${environment.runnerWorkingFolder}/pid \
environment
.
command
,
{
encoding
:
'
utf8
'
});
// Copy files in codeDir to remote working directory
await
executor
.
copyDirectoryToRemote
(
environmentLocalTempFolder
,
environment
.
runnerWorkingFolder
);
// Execute command in remote machine
// Execute command in remote machine
, set isInteractive=true to run script in conda environment
executor
.
executeScript
(
executor
.
joinPath
(
environment
.
runnerWorkingFolder
,
executor
.
getScriptName
(
"
run
"
)),
true
,
fals
e
);
executor
.
getScriptName
(
"
run
"
)),
true
,
tru
e
);
if
(
environment
.
rmMachineMeta
===
undefined
)
{
throw
new
Error
(
`
${
environment
.
id
}
rmMachineMeta not initialized!`
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment