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

Transition mila serve to RemoteV2 #107

Closed

Conversation

lebrice
Copy link
Collaborator

@lebrice lebrice commented Mar 26, 2024

TODOs:

This PR makes mila serve (...) commands use the new RemoteV2 class (which supports SSH keys with passphrases and clusters with 2FA enabled.

@lebrice lebrice changed the title Transition mila serve remote v2 Transition mila serve to RemoteV2 Mar 26, 2024
@lebrice lebrice force-pushed the transition_mila_serve_remote_v2 branch 2 times, most recently from 186050a to 57785c4 Compare March 26, 2024 17:16
lebrice added 3 commits March 26, 2024 13:38
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Add `sbatch` for RemoteV2

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Add better docstrings

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Move `code` command to code_command, add new impl

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix circular import issue

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix import of `code_v1`

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Use new `code` impl in integration test

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix bug in `is_already_logged_in`

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Adjust `mila code` integration test

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Add mark to tests that launch jobs

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix typing error for py38

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix typing error for py38

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

Fix missing imports in common.py

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
@lebrice
Copy link
Collaborator Author

lebrice commented May 16, 2024

Too old and stale. Will start over in a new branch.

@lebrice lebrice closed this May 16, 2024
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