From 1b29cd8f30b5b93c78d2682438e51ff6d1221fb1 Mon Sep 17 00:00:00 2001 From: QuanluZhang Date: Wed, 3 Oct 2018 13:47:51 +0800 Subject: [PATCH 1/5] fix antd (#159) --- src/webui/package.json | 2 +- src/webui/src/components/SlideBar.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/package.json b/src/webui/package.json index 0178ccfa98..f4c258ee46 100644 --- a/src/webui/package.json +++ b/src/webui/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { - "antd": "^3.9.3", + "antd": "^3.8.1", "axios": "^0.18.0", "babel-polyfill": "^6.26.0", "echarts": "^4.1.0", diff --git a/src/webui/src/components/SlideBar.tsx b/src/webui/src/components/SlideBar.tsx index adce8a51b4..2219491971 100644 --- a/src/webui/src/components/SlideBar.tsx +++ b/src/webui/src/components/SlideBar.tsx @@ -11,7 +11,7 @@ class SlideBar extends React.Component<{}, {}> { From 35c37c79fcd74d5e393d751e574e43c680bc151b Mon Sep 17 00:00:00 2001 From: SparkSnail Date: Mon, 8 Oct 2018 14:21:59 +0800 Subject: [PATCH 2/5] quick fix config_pai.yml in examples (#171) * fix nnictl bug * add hdfs host validation * fix bugs * fix dockerfile * fix install.sh * update install.sh * fix dockerfile * Set timeout for HDFSUtility exists function * remove unused TODO * fix sdk * add optional for outputDir and dataDir * refactor dockerfile.base * Remove unused import in hdfsclientUtility * add config_pai.yml * refactor nnictl create logic and add colorful print * fix nnictl stop logic * add annotation for config_pai.yml * add document for start experiment * fix config.yml * fix document * fix dataDir and outputDir in config_pai.yml * fix config_pai.yml --- examples/trials/auto-gbdt/config_pai.yml | 4 ++-- examples/trials/ga_squad/config_pai.yml | 4 ++-- examples/trials/mnist-annotation/config_pai.yml | 4 ++-- examples/trials/mnist-batch-tune-keras/config_pai.yml | 4 ++-- examples/trials/mnist-keras/config_pai.yml | 4 ++-- examples/trials/mnist-smartparam/config_pai.yml | 4 ++-- examples/trials/mnist/config_pai.yml | 4 ++-- examples/trials/pytorch_cifar10/config_pai.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/trials/auto-gbdt/config_pai.yml b/examples/trials/auto-gbdt/config_pai.yml index 26577cf83a..feaa881923 100644 --- a/examples/trials/auto-gbdt/config_pai.yml +++ b/examples/trials/auto-gbdt/config_pai.yml @@ -24,9 +24,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/ga_squad/config_pai.yml b/examples/trials/ga_squad/config_pai.yml index 56c2d33069..d4435e5657 100644 --- a/examples/trials/ga_squad/config_pai.yml +++ b/examples/trials/ga_squad/config_pai.yml @@ -22,9 +22,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/mnist-annotation/config_pai.yml b/examples/trials/mnist-annotation/config_pai.yml index edb9e62384..abc86a908e 100644 --- a/examples/trials/mnist-annotation/config_pai.yml +++ b/examples/trials/mnist-annotation/config_pai.yml @@ -23,9 +23,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/mnist-batch-tune-keras/config_pai.yml b/examples/trials/mnist-batch-tune-keras/config_pai.yml index 183c220e2d..c7c0de7a14 100644 --- a/examples/trials/mnist-batch-tune-keras/config_pai.yml +++ b/examples/trials/mnist-batch-tune-keras/config_pai.yml @@ -24,9 +24,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/mnist-keras/config_pai.yml b/examples/trials/mnist-keras/config_pai.yml index bbf8136144..cbea797ef3 100644 --- a/examples/trials/mnist-keras/config_pai.yml +++ b/examples/trials/mnist-keras/config_pai.yml @@ -24,9 +24,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/mnist-smartparam/config_pai.yml b/examples/trials/mnist-smartparam/config_pai.yml index 4b5a088d11..92e489a30e 100644 --- a/examples/trials/mnist-smartparam/config_pai.yml +++ b/examples/trials/mnist-smartparam/config_pai.yml @@ -23,9 +23,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/mnist/config_pai.yml b/examples/trials/mnist/config_pai.yml index a20fdce40b..52ed313ac8 100644 --- a/examples/trials/mnist/config_pai.yml +++ b/examples/trials/mnist/config_pai.yml @@ -24,9 +24,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username diff --git a/examples/trials/pytorch_cifar10/config_pai.yml b/examples/trials/pytorch_cifar10/config_pai.yml index 783285f815..fbb3f037a3 100644 --- a/examples/trials/pytorch_cifar10/config_pai.yml +++ b/examples/trials/pytorch_cifar10/config_pai.yml @@ -24,9 +24,9 @@ trial: #The docker image to run nni job on pai image: openpai/pai.example.tensorflow #The hdfs directory to store data on pai, format 'hdfs://host:port/directory' - hdfsDataDir: hdfs://10.10.10.10:9000/username/nni + dataDir: hdfs://10.10.10.10:9000/username/nni #The hdfs directory to store output data generated by nni, format 'hdfs://host:port/directory' - hdfsOutputDir: hdfs://10.10.10.10:9000/username/nni + outputDir: hdfs://10.10.10.10:9000/username/nni paiConfig: #The username to login pai userName: username From 01e6b29ca243b545e99d5b06999ed26e0e54ccec Mon Sep 17 00:00:00 2001 From: Lijiao <35484733+lvybriage@users.noreply.github.com> Date: Mon, 8 Oct 2018 16:08:55 +0800 Subject: [PATCH 3/5] Update slidebar icon (#173) --- src/webui/src/components/SlideBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/src/components/SlideBar.tsx b/src/webui/src/components/SlideBar.tsx index 2219491971..fa44885123 100644 --- a/src/webui/src/components/SlideBar.tsx +++ b/src/webui/src/components/SlideBar.tsx @@ -11,7 +11,7 @@ class SlideBar extends React.Component<{}, {}> {