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

incompatible with new typeguard version #5452

@GallonDeng

Description

@GallonDeng

Describe the issue:
install the nni with pip install nni

start a simple HPO experiment, it always occurs following error about type check

"valueerror: experimentconfig: type of experiment_name (none) is not typing.union[str, nonetype]"

I find that the typeguard is v3.0.0 installed by nni(with pip install nni). If I change the typeguard version to v2.13.3, the error disappears.

Environment:

  • NNI version: 2.10
  • Training service (local|remote|pai|aml|etc): local
  • Client OS: ubuntu 18.04
  • Server OS (for remote mode only):
  • Python version: python3.7
  • PyTorch/TensorFlow version: 1.10
  • Is conda/virtualenv/venv used?:
  • Is running in Docker?: yes

Configuration:

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

Log message:

  • nnimanager.log:
  • dispatcher.log:
  • nnictl stdout and stderr:

How to reproduce it?:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions