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.

How to display error messages #5800

Open
@ayachi3

Description

@ayachi3

When I encounter some errors, the process will exit without giving me any information.
Actually, it is common to have some bugs in my code, but after
experiment.run(port=8080, wait_completion=False,debug=True)
the new process will not print my debug info onto the terminal.
For example, if I read a non-existent file, the process will fail sliently, and I have to gauss what has happened.
I attempt to read " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " but the file does't exist.

当使用nni运行带有bug的代码时,似乎nni会跳过此次trail,并且不报告错误在何处。例如我读取数据的路径出现了错误,在nni的终端里并不会报告此错误。
此外, " https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md " 也无法打开。
Environment:

  • Training service (local|remote|pai|aml|etc): local
  • Client OS: Windows 11 / ubuntu 20.04
  • Python version: 3.8
  • Is conda/virtualenv/venv used?: yes
  • Is running in Docker?: no

Configuration:

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

Log message:

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

How to reproduce it?:
You can make a bug deliberatly, and you will see that nothing about the bug is reported.

Metadata

Metadata

Assignees

No one assigned

    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