coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Inalid token on sagemaker notebook instance #159

Closed jorgesisco closed 1 year ago

jorgesisco commented 2 years ago

Description when I run the code:

cluster = coiled.Cluster(name="demo-cluster", n_workers=5) client = dask.distributed.Client(cluster)

I get asked for my token, when I paste my token I get the an error:

Invalid Coiled token encountered. Typically this occurs after logging out of https://cloud.coiled.io which resets your token for security reasons.

I am login in coiled, so I don't get it.

Additional context I am trying to reduce memory usage on dask dataframe to train my model on amazon sagemaker.

marcosmoyano commented 2 years ago

Hi Jorge, this usually means that you are using old style tokens. You can create the new style tokens in your profile page (https://cloud.coiled.io/profile). Once that's stored in your coiled.yaml config file you should be good to go. Let us know if you need any more help.

hayesgb commented 2 years ago

Following up here @jorgesisco . Did this fix your issue?

jorgesisco commented 2 years ago

Not yet, I think it might be Sagemaker not allowing to use coiled.

hayesgb commented 2 years ago

Here's an example of Coiled being used from SageMaker Studio

jorgesisco commented 2 years ago

I still get the error when I get asked for the token, even when I create a new one and add it right away.

dchudz commented 2 years ago

@jorgesisco Can you give a little more detail on what you're doing?

Specifically, how are you entering your token?

shughes-uk commented 1 year ago

Sagemaker token use seems to be fixed