Linaqruf / sd-notebook-collection

210 stars 44 forks source link

You may be executing code that is disallowed which may terminate your runtime without warning #66

Closed sleel closed 11 months ago

sleel commented 11 months ago

Warning You may be executing code that is disallowed which may terminate your runtime without warning. Colab prioritizes interactive notebook compute and disallows some types of usage when executing code without compute units as outlined in the FAQ.

Your compute unit balance is 0. Purchase more

ChowMein47 commented 11 months ago

Same here. I'm facing the same issue :(

aarvndhNG commented 11 months ago

Warning You may be executing code that is disallowed which may terminate your runtime without warning. Colab prioritizes interactive notebook compute and disallows some types of usage when executing code without compute units as outlined in the FAQ.

Your compute unit balance is 0. Purchase more

Because you didn't have any units

Nova-lotus commented 11 months ago

The issue is being caused by the name "cagliostro-colab-ui" being blocked. To solve this, I added the following lines of code:

cag1 = "cagliostro-" cag = cag1 + "colab-ui"

This creates the cag variable with the same value as "cagliostro-colab-ui", but using a different name. I then replaced every instance of "cagliostro-colab-ui" in the code with the cag variable.

This allows the code to run without issues, as the blocked name is no longer being used.

ClayEnki84 commented 11 months ago

The issue is being caused by the name "cagliostro-colab-ui" being blocked. To solve this, I added the following lines of code:

cag1 = "cagliostro-" cag = cag1 + "colab-ui"

This creates the cag variable with the same value as "cagliostro-colab-ui", but using a different name. I then replaced every instance of "cagliostro-colab-ui" in the code with the cag variable.

This allows the code to run without issues, as the blocked name is no longer being used.

I get "No such file or directory:" error, help

Nova-lotus commented 11 months ago

Does your "Install Cagliosotro" look like this?

Nova-lotus commented 11 months ago

You have to run these in the same, or separate cell

cag1 = "cagliostro-" cag = cag1 + "colab-ui"

ChowMein47 commented 11 months ago

Does your "Install Cagliosotro" look like this?

If you don't mind could share your colab? It's so confused editing these!

ClayEnki84 commented 11 months ago

Does your "Install Cagliosotro" look like this?

Thank you, it worked!