Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix bug of nnictl about stopping experiment and update statsmodels version to v0.9.1.1 #1297

Merged
merged 4 commits into from
Jul 15, 2019

Conversation

Crysple
Copy link
Contributor

@Crysple Crysple commented Jul 12, 2019

1

issue #1098
incompatability between scipy and statsmodel --> refer to this issue
since statsmodel has been updated from 0.9.0 to 0.10.0 

2

issue #1292
there's a bug about nnictl stop experiment in this PR #1216 . all remains an option in args in nnictl.py but is used as a boolean value in nnictl_utils.py

@suiguoxin suiguoxin requested a review from leckie-chn July 15, 2019 02:36
@leckie-chn leckie-chn requested a review from chicm-ms July 15, 2019 02:36
Copy link
Contributor

@leckie-chn leckie-chn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add IT for nnictl stop ? @QuanluZhang

Copy link
Contributor

@leckie-chn leckie-chn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local test failed with:

nnictl stop QPuLxnU1                                                                                                   
Traceback (most recent call last):
  File "/home/niyan/.local/bin/nnictl", line 10, in <module>
    sys.exit(parse_args())
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl.py", line 215, in parse_args
    args.func(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 219, in stop_experiment
    experiment_id_list = parse_ids(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 154, in parse_ids
    elif args.all == 'all':
AttributeError: 'Namespace' object has no attribute 'all'

@Crysple
Copy link
Contributor Author

Crysple commented Jul 15, 2019

local test failed with:

nnictl stop QPuLxnU1                                                                                                   
Traceback (most recent call last):
  File "/home/niyan/.local/bin/nnictl", line 10, in <module>
    sys.exit(parse_args())
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl.py", line 215, in parse_args
    args.func(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 219, in stop_experiment
    experiment_id_list = parse_ids(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 154, in parse_ids
    elif args.all == 'all':
AttributeError: 'Namespace' object has no attribute 'all'

Sorry for making a mistake when copying code.
change this line:
elif args.all == 'all':
to elif args.id == 'all': will be fine

@leckie-chn leckie-chn requested a review from QuanluZhang July 15, 2019 04:46
@leckie-chn leckie-chn merged commit a373dbc into microsoft:v0.9.1.1 Jul 15, 2019
leckie-chn pushed a commit to leckie-chn/nni that referenced this pull request Jul 17, 2019
…rsion to v0.9.1.1 (microsoft#1297)

* update statsmodel for bohb

* fix nnictl stop experiment bug

* fix nnictl stop experiment bug

* fix nnictl stop experiment bug
chicm-ms pushed a commit that referenced this pull request Jul 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants