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

Colab crashes after using all avilable RAM #27

Closed
Bruh-byte opened this issue May 3, 2020 · 3 comments
Closed

Colab crashes after using all avilable RAM #27

Bruh-byte opened this issue May 3, 2020 · 3 comments

Comments

@Bruh-byte
Copy link

Bruh-byte commented May 3, 2020

Screenshot_2020-05-03 Google Colaboratory
Screenshot_2020-05-03 Google Colaboratory(1)
On the model loading step

@Jovonni
Copy link

Jovonni commented May 3, 2020

This isn’t an issue with the repo, it’s your collab environment

Can you put the code for the cells crashing it?

@Bruh-byte
Copy link
Author

This isn’t an issue with the repo, it’s your collab environment

Can you put the code for the cells crashing it?

model = "5b_lyrics" # or "1b_lyrics"
hps = Hyperparams()
hps.sr = 44100
hps.n_samples = 3 if model=='5b_lyrics' else 8
hps.name = 'samples'
chunk_size = 16 if model=="5b_lyrics" else 32
max_batch_size = 3 if model=="5b_lyrics" else 16
hps.levels = 3
hps.hop_fraction = [.5,.5,.125]

vqvae, *priors = MODELS[model]
vqvae = make_vqvae(setup_hparams(vqvae, dict(sample_length = 1048576)), device)
top_prior = make_prior(setup_hparams(priors[-1], dict()), vqvae, device)

@Bruh-byte
Copy link
Author

Chose 1b version

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

No branches or pull requests

2 participants