Skip to content

Conversation

Anm-pinellia
Copy link

  1. Fix the problem of creating and reading temporary file in windows.
  2. To use 'auto' strategy as the default strategy to avoid nccl Exception.

Fix the problem of current trainer cannot parser corresponding dataloaders.
modify some code to make it compatible with windows. Specifically, after opening a temporary file, windows system will remove it after close it. So it needs to modify some params during create the temporayfile. (e.g. delte=False, open and delete temporaryfile manually)
modify some code to make it compatible with windows. Specifically, after opening a temporary file, windows system will remove it after close it. So it needs to modify some params during create the temporayfile. (e.g. delte=False, open and delete temporaryfile manually)
make it easy to debug, instead of giving a print. (Config file should be prior than arguments, which can be seen in mmopenlab frameworks).
To compatible with windows, default strategy should better to be auto rather than ddp. (windows only support gloo instead of nccl to manage gpus).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant