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
299d01db
Unverified
Commit
299d01db
authored
Aug 05, 2021
by
liuzhe-lz
Committed by
GitHub
Aug 05, 2021
Browse files
use gpu num 0 in ut (#4025)
Co-authored-by:
liuzhe
<
zhe.liu@microsoft.com
>
parent
0fe03cd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ts/nni_manager/test/training_service/localTrainingService.test.ts
...anager/test/training_service/localTrainingService.test.ts
+1
-1
No files found.
ts/nni_manager/test/training_service/localTrainingService.test.ts
View file @
299d01db
...
@@ -24,7 +24,7 @@ describe('Unit Test for LocalTrainingService', () => {
...
@@ -24,7 +24,7 @@ describe('Unit Test for LocalTrainingService', () => {
const
config
=
<
ExperimentConfig
>
{
const
config
=
<
ExperimentConfig
>
{
trialCommand
:
'
sleep 1h && echo hello
'
,
trialCommand
:
'
sleep 1h && echo hello
'
,
trialCodeDirectory
:
`
${
localCodeDir
}
`
,
trialCodeDirectory
:
`
${
localCodeDir
}
`
,
trialGpuNumber
:
1
,
trialGpuNumber
:
0
,
// TODO: add test case for gpu?
trainingService
:
{
trainingService
:
{
platform
:
'
local
'
platform
:
'
local
'
}
}
...
...
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