microsoft/nni

nnictl experiment delete -all fail for stopped expriment

Open

#4,543 opened on Feb 11, 2022

View on GitHub
 (2 comments) (1 reaction) (1 assignee)Python (1,830 forks)batch import
good first issue

Repository metrics

Stars
 (13,504 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Describe the issue: nnictl experiment delete -all fail for stop expriment. comment out https://github.com/microsoft/nni/blob/master/nni/tools/nnictl/nnictl_utils.py#L509 may solve this problem.

Environment: linux

  • NNI version: 2.6
  • Training service (local|remote|pai|aml|etc): local
  • Client OS: centos
  • Server OS (for remote mode only):
  • Python version: 3.7
  • PyTorch/TensorFlow version: NA
  • Is conda/virtualenv/venv used?: yes
  • Is running in Docker?: no

Configuration:

  • Experiment config (remember to remove secrets!):
  • Search space:

Log message: bash output: INFO: This action will delete experiment 74ujrqym, and it's not recoverable.
INFO: do you want to continue?[y/N]:y ERROR: There is no experiment running. ERROR: Please set correct experiment id.

How to reproduce it?:

Contributor guide