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
6d7efa19
Unverified
Commit
6d7efa19
authored
Jul 30, 2021
by
J-shang
Committed by
GitHub
Jul 30, 2021
Browse files
fix sharedstorage it (#3993)
parent
f2f58dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
test/config/integration_tests.yml
test/config/integration_tests.yml
+5
-3
ts/nni_manager/core/nniTensorboardManager.ts
ts/nni_manager/core/nniTensorboardManager.ts
+2
-2
No files found.
test/config/integration_tests.yml
View file @
6d7efa19
...
@@ -49,6 +49,11 @@ testCases:
...
@@ -49,6 +49,11 @@ testCases:
kwargs
:
kwargs
:
rootpath
:
/tmp/nnimount/testlocalrootpath
rootpath
:
/tmp/nnimount/testlocalrootpath
-
name
:
sklearn-regression
configFile
:
test/config/examples/sklearn-regression.yml
# mount point in local may late to umount when stop experiment in shared-storage-remote-azureblob,
# so keep two shared storage tests away from each other.
-
name
:
shared-storage-remote-nfs
-
name
:
shared-storage-remote-nfs
configFile
:
test/config/sharedstorage_test/config_sharedstorage_remote_nfs.yml
configFile
:
test/config/sharedstorage_test/config_sharedstorage_remote_nfs.yml
trainingService
:
remote
trainingService
:
remote
...
@@ -57,9 +62,6 @@ testCases:
...
@@ -57,9 +62,6 @@ testCases:
kwargs
:
kwargs
:
rootpath
:
/tmp/nnimount/testlocalrootpath
rootpath
:
/tmp/nnimount/testlocalrootpath
-
name
:
sklearn-regression
configFile
:
test/config/examples/sklearn-regression.yml
-
name
:
mnist-tensorflow
-
name
:
mnist-tensorflow
configFile
:
test/config/examples/mnist-tfv2.yml
configFile
:
test/config/examples/mnist-tfv2.yml
config
:
config
:
...
...
ts/nni_manager/core/nniTensorboardManager.ts
View file @
6d7efa19
...
@@ -114,9 +114,9 @@ class NNITensorboardManager implements TensorboardManager {
...
@@ -114,9 +114,9 @@ class NNITensorboardManager implements TensorboardManager {
}
}
private
setTensorboardVersion
():
void
{
private
setTensorboardVersion
():
void
{
let
command
=
`python3 -c 'import tensorboard ; print(tensorboard.__version__)'`
;
let
command
=
`python3 -c 'import tensorboard ; print(tensorboard.__version__)'
2>&1
`
;
if
(
process
.
platform
===
'
win32
'
)
{
if
(
process
.
platform
===
'
win32
'
)
{
command
=
`python -c "import tensorboard ; print(tensorboard.__version__)"`
;
command
=
`python -c "import tensorboard ; print(tensorboard.__version__)"
2>&1
`
;
}
}
try
{
try
{
const
tensorboardVersion
=
cp
.
execSync
(
command
).
toString
();
const
tensorboardVersion
=
cp
.
execSync
(
command
).
toString
();
...
...
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