Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frameworkcontroller reuseMode #5026

Open
N-Kingsley opened this issue Jul 27, 2022 · 0 comments
Open

frameworkcontroller reuseMode #5026

N-Kingsley opened this issue Jul 27, 2022 · 0 comments
Assignees
Labels
Framework Support question Further information is requested user raised

Comments

@N-Kingsley
Copy link

Describe the issue: How to set 'reuseMode=false'? It seems that when reuseMode is true, the code in reusable is executed, and when reuseMode is false, the code in kubernetes is executed.
image

If the code in reusable is executed, the error as below will be got:
image

config.yml:
experimentName: example_mnist_pytorch
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 2
debug: false
reuse: false
#nniManagerIp:
#choice: local, remote, pai, kubeflow
trainingServicePlatform: frameworkcontroller
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
optimize_mode: maximize
trial:
codeDir: .
taskRoles:
- name: worker
taskNum: 1
command: python3 model.py
gpuNum: 0
cpuNum: 1
memoryMB: 8192
image: frameworkcontroller/nni:v1.0
frameworkAttemptCompletionPolicy:
minFailedTaskCount: 1
minSucceededTaskCount: 1
frameworkcontrollerConfig:
storage: nfs
serviceAccountName: frameworkcontroller
nfs:
# Your NFS server IP, like 10.10.10.10
server:
# Your NFS server export path, like /var/nfs/nni
path: /nfs/data

Environment:

  • NNI version: 2.8
  • Training service (local|remote|pai|aml|etc): k8s frameworkcontroller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Support question Further information is requested user raised
Projects
None yet
Development

No branches or pull requests

3 participants