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
2265b457
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "ebca3cec44e32527a5df6f351ea9c540537610b5"
Unverified
Commit
2265b457
authored
Sep 17, 2021
by
Ni Hao
Committed by
GitHub
Sep 17, 2021
Browse files
add gpu test in it (#4162)
parent
c5c3db25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
test/config/examples/mnist-pytorch-gpu.yml
test/config/examples/mnist-pytorch-gpu.yml
+26
-0
test/config/integration_tests.yml
test/config/integration_tests.yml
+6
-0
No files found.
test/config/examples/mnist-pytorch-gpu.yml
0 → 100644
View file @
2265b457
authorName
:
nni
experimentName
:
default_test
maxExecDuration
:
15m
maxTrialNum
:
2
trialConcurrency
:
2
searchSpacePath
:
./mnist_pytorch_search_space.json
tuner
:
builtinTunerName
:
Random
assessor
:
builtinAssessorName
:
Medianstop
classArgs
:
optimize_mode
:
maximize
trial
:
codeDir
:
../../../examples/trials/mnist-pytorch
command
:
python3 mnist.py --epochs 1 --batch_num
10
gpuNum
:
1
localConfig
:
useActiveGpu
:
true
maxTrialNumPerGpu
:
2
useAnnotation
:
false
multiPhase
:
false
multiThread
:
false
trainingServicePlatform
:
local
test/config/integration_tests.yml
View file @
2265b457
...
@@ -76,6 +76,12 @@ testCases:
...
@@ -76,6 +76,12 @@ testCases:
launchCommand
:
python3 ../examples/trials/mnist-pytorch/mnist.py --epochs 1 --batch_num 0 --data_dir ../examples/trials/mnist-pytorch/data && nnictl create --config $configFile --debug
launchCommand
:
python3 ../examples/trials/mnist-pytorch/mnist.py --epochs 1 --batch_num 0 --data_dir ../examples/trials/mnist-pytorch/data && nnictl create --config $configFile --debug
trainingService
:
local
trainingService
:
local
-
name
:
mnist-pytorch-local-gpu
configFile
:
test/config/examples/mnist-pytorch-gpu.yml
# download data first, to prevent concurrent issue.
launchCommand
:
python3 ../examples/trials/mnist-pytorch/mnist.py --epochs 1 --batch_num 0 --data_dir ../examples/trials/mnist-pytorch/data && nnictl create --config $configFile --debug
trainingService
:
local
-
name
:
mnist-pytorch-non-local
-
name
:
mnist-pytorch-non-local
configFile
:
test/config/examples/mnist-pytorch.yml
configFile
:
test/config/examples/mnist-pytorch.yml
# download data first, to prevent concurrent issue.
# download data first, to prevent concurrent issue.
...
...
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