Skip to content

[v0.1.7] Issue running the command mila init #155

@naga-karthik

Description

@naga-karthik

What command did you run?

mila init

Describe the bug

I just install milatools locally and started setting up with mila init. I provided the mila username and also the DRAC username but ended up getting the error pasted below

nagakarthik@Nagas-MBP ~$ mila init
Checking ssh config
Did not change ssh config
Checking passwordless authentication
Checking if passwordless SSH access is setup for the mila cluster.
Traceback (most recent call last):
  File "/Users/nagakarthik/miniconda3/envs/llms_from_scratch/lib/python3.10/site-packages/milatools/cli/commands.py", line 89, in main
    mila()
  File "/Users/nagakarthik/miniconda3/envs/llms_from_scratch/lib/python3.10/site-packages/milatools/cli/commands.py", line 145, in mila
    return function(**args_dict)
  File "/Users/nagakarthik/miniconda3/envs/llms_from_scratch/lib/python3.10/site-packages/milatools/cli/commands.py", line 521, in init
    success = setup_passwordless_ssh_access(ssh_config=ssh_config)
  File "/Users/nagakarthik/miniconda3/envs/llms_from_scratch/lib/python3.10/site-packages/milatools/cli/init_command.py", line 267, in setup_passwordless_ssh_access
    success = setup_passwordless_ssh_access_to_cluster("mila")
  File "/Users/nagakarthik/miniconda3/envs/llms_from_scratch/lib/python3.10/site-packages/milatools/cli/init_command.py", line 325, in setup_passwordless_ssh_access_to_cluster
    assert ssh_public_key_path.exists()
AssertionError

As suggested in the error, I did try pip install milatools --upgrade and rerunning mila init but the error still persists. Any suggestions on fixing this would be useful, thank you!

Desktop (please complete the following information):

  • OS: Mac OS 15.3.1

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