-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
willing to pay for help #142
Comments
well - probably first step is to show error. You need a stack of VRAM to run this. I didn't bother with it for this reason. > 12gb of VRAM. cards that are suitable are k80 - 24gb/32gb of VRAM / RTX 5000 - 16gb RTX 6000 / RTX 8000. Not even the 2080ti is appropriate at 11gb. the just released nvidida 3090 - the latest / 24gb of VRAM. AMD cards will not work. Wait another month - get the 3090 card or two / there's a limit of these cards being released. This card is better than the one below. (don't get the 3080 it can't be joined together with nvlink) - you'll be in a better position to get anywhere. You'll need a 750Watt power supply. I recommend a HP workstation. "On a V100, it takes about 3 hrs to fully sample 20 seconds of music" (Alternative is to run it with google colab - but this is problematic.) |
@perlman-izzy why do you want it so bad? |
@perlman-izzy What's your email address? Sounds like you are using my docker image so I am happy to keep helping you. I also completely understand the desire to do so - jukebox has been the most fun with music I've had in a very long time and the results I'm getting in my own domain (electronic music) are incredible 😭 I've spent pretty much every day since jukebox released editing the code to support various things that I need for better co-composition including the ability to finetune to the 5b model, much larger batch sizes for sampling, editing of tensors for composing before they are rendered as audio, etc. I think I can get you to the same place pretty easily without asking for any money, so let me know and we can get you rolling! |
Yes! OMG. You are a prince among men, sir, and I am in your debt. My
email is [email protected].
…On Sat, Sep 5, 2020 at 7:06 AM btrude ***@***.***> wrote:
@perlman-izzy <https://github.com/perlman-izzy> What's your email
address? Sounds like you are using my docker image so I am happy to keep
helping you. I also completely understand the desire to do so - jukebox has
been the most fun with music I've had in a very long time and the results
I'm getting in my own domain (electronic music) are incredible 😭 I've
spent pretty much every day since jukebox released editing the code to
support various things that I need for better co-composition including the
ability to finetune to the 5b model, much larger batch sizes for sampling,
editing of tensors for composing before they are rendered as audio, etc. I
think I can get you to the same place pretty easily without asking for any
money, so let me know and we can get you rolling!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#142 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APWDYJSJCSGAOVFR6F7IV3LSEJAXZANCNFSM4Q2LJSWA>
.
|
Actually, I can't know by your username if you are male or female, so
suffice to say you are a noble soul.
My goal is to train it on 2 songs of my own. Have the instance w dockerfile
set up (thank you!), able to upload my songs. Runs for about 2 min before
a broken pipe error with this:
file "jukebox/sample.py", line 279, in <module> fire.Fire(run) File
"/usr/local/lib/python3.7/site-packages/fire/core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name) File
"/usr/local/lib/python3.7/site-packages/fire/core.py
…On Sat, Sep 5, 2020 at 4:41 PM The Crazy 88s ***@***.***> wrote:
Yes! OMG. You are a prince among men, sir, and I am in your debt. My
email is ***@***.***
On Sat, Sep 5, 2020 at 7:06 AM btrude ***@***.***> wrote:
> @perlman-izzy <https://github.com/perlman-izzy> What's your email
> address? Sounds like you are using my docker image so I am happy to keep
> helping you. I also completely understand the desire to do so - jukebox has
> been the most fun with music I've had in a very long time and the results
> I'm getting in my own domain (electronic music) are incredible 😭 I've
> spent pretty much every day since jukebox released editing the code to
> support various things that I need for better co-composition including the
> ability to finetune to the 5b model, much larger batch sizes for sampling,
> editing of tensors for composing before they are rendered as audio, etc. I
> think I can get you to the same place pretty easily without asking for any
> money, so let me know and we can get you rolling!
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#142 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APWDYJSJCSGAOVFR6F7IV3LSEJAXZANCNFSM4Q2LJSWA>
> .
>
|
@johndpope I have access to a GPU with 24gb 'per-GPU' ram (which I think is the same as VRAM?). With that amount of power, how long do you reckon it would take to process 6 min? 10 min? |
johndpope last error message was : file "jukebox/sample.py", line 279, in fire.Fire(run) File |
@bsturk Possibly... I'm not at all familiar with the colab setup as I've been running it locally since may. If the colab simply clones the jukebox repo then it will be a bit difficult as all the changes I'm describing are at the
@perlman-izzy I sent you an email about your other issue, but an rtx titan doing levels 2, 1, and 0 will take ~48 hours using the default hop fractions for 6 minutes of music. It's hard to say how long it takes to do each level individually, but its probably somewhere around 4-6 hours for level 2, 8-12 hours for level 1, and 30 or so for level 0. All of this depends heavily on |
@perlman-izzy - you can type nvidia-smi to show card. (There are spot prices on ec2 - $.027 for k80 gpu - 24gb - you can get on aws which are cheaper - but they can terminate unexpectedly but you pay 10% of regular price. Although they have heaps of V(ideo)Ram - the k80s that are provisioned on lower end of aws are really slow https://technical.city/en/video/GeForce-RTX-2080-Ti-vs-Tesla-K80 - the current card 2080ti is 333233.3% faster. Again - the latest 3090 cards have 10,000 cuda cores / and if you were to get 2 - you'd be 48gb / and could handle fine tuning larger model. a tid bit - I think the line |
@johndpope This is unfortunately not true. Jukebox as released here uses distributed data parallel which requires the model be duplicated across each GPU. I've experimented with this extensively and as far as I can tell the only way to finetune the 5b (5b_lyrics is too large) is with an RTX 8000 removing DDP or, as mentioned in the readme, with some custom implementation of gpipe. |
@btrude - I stand corrected. So, to train on aws /ec2 with (SPOT PRICING / can terminiate at any instant) p3.8xlarge (64GB of VRAM) is $3-4 /hr in N. Virginia ~ $100 USD/ day |
We successfully fine-tuned the 1b model in the cloud on p3.8xlarge, on a custom dataset, over a few days. |
Not yet, no. Hoping to do so soon. |
@bsturk In trying to implement this I'm finding that the colab linked here is just too janky and at odds with |
@bsturk I went ahead and just made it, you can load it through github in colab with the link below https://gist.github.com/btrude/72c788b8ce8c8b2f8bc8ecf309a04f24 this is only for sampling, but has all of the features I mentioned with notes on usage. exiting on an explicit level shows an error message but the codes/audio are still there and can be downloaded from the filebrowser on the left. |
@bsturk
Right, you just need to replace the
My pleasure. I like this setup a lot now that I can easily match my local setup in colab. I think once google replaces their non-colab V100s with A100s the P100s of colab will probably be replaced with V100s which will make this even better. |
Hi, I want to know how long it need to generate a song ? |
For 1b_Lyrics model is around 1 hour to generate 20s song on 2080ti. And It seems 2080ti is not good enough to run 5b model |
@btrude Sorry, this is a noob question, but is it already possible to generate samples with your modified notebook or is it only theoretical at this point? I seem to get stuck when I run your "correct example" cell. What do I have to do after that to generate samples? |
It is possible and I just tested the cell you described and it works. Run the first 3 cells (the second one requires authentication!), then the one you mentioned. Keep in mind that the models have to be downloaded the first time you run jukebox and that takes a few minutes. If you keep having issues please provide logs or screenshots. |
@btrude Just tried again, 1b works fine but 5b just kinda stops (runs out of memory?). Sorry if this has been established before in this thread, it's all a bit confusing for me. |
All of the notebooks going back to the original by openai have this issue unfortunately. Either you can try to luck into an instance with more memory or you can pay for their premium service. |
Got it, thanks for the quick responses! |
Hi @btrude I have a few questions about how to generate VQ-VAE codes without the priors. You can email me at username at gmail.com |
This is not something I have direct experience with, though I intend to implement a |
Final solution: Use Google colab and do not train on your own custom dataset. You just need to set your genre to the genre of the song you choose and set the singer or artist to unknown. it'll work. If you want to create songs you probably need way more songs then you'd think. If you only use a few, the algorithm is probably going to overfit. |
@btrude What's your email address,I have a question for you, my email [email protected] |
Hi,
I don't have much coding experience but I really, really want to play around with this program.
If someone here can help me get this thing running (training samples of music I provide) and explain to me how to use the various features, I will gladly pay you your going rate.
I have spent like 3 months hitting my head against a wall, paying people who claim they can do it but fail.
I'm able to implement the docker image, upload the samples, and get the program to start to run, but every time, I get some error or another. I need someone to help me debug.
Please.
Thank you
The text was updated successfully, but these errors were encountered: