Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify some code to run on windows system. #139

Open
wants to merge 5 commits into
base: OpenSTL-Lightning
Choose a base branch
from

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.

None yet

1 participant