Live data from Hacker News

Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

github.com

141–150 of 232 posts

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#141
post #68

I would like to use stuff like this as a side-project. Buy a Nvidia Geforce GPU and stick it into my 24/7 server and play around with it in my free time, to see what can be done. The issue with all these AI models is that there's no information on which GPU is enough for which task. I'm absolutely clueless if a single RTX 4000 SFF with its 20GB VRAM and only 70W of max power usage will be a waste of money, or really…

Just do it. Spend a few hours doing research and you will find out. With that said, buy as much memory as can. That makes 4090 king if you have the server that can carry it, plus the budget. For me, I settled for 3060, it's a nice compromise between cost and ram. Cheap, 12gb and 170TPW.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#142
post #77

Earlier quoted context omitted.

This is what containers solve. Don't waste time manually installing things. Store state in a database via the app on a different host.

Well then you're wasting time managing your containers? Have you ever used k8s, it's a full time job lol

I don’t think anyone is suggesting k8s for running an ai model as a side project on a single machine.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#143
post #70
post #68

I would like to use stuff like this as a side-project. Buy a Nvidia Geforce GPU and stick it into my 24/7 server and play around with it in my free time, to see what can be done. The issue with all these AI models is that there's no information on which GPU is enough for which task. I'm absolutely clueless if a single RTX 4000 SFF with its 20GB VRAM and only 70W of max power usage will be a waste of money, or really…

Wait why is renting a GPU in the cloud not a solution? You can even try multiple options and see which ones are capable enough for your use case. Look into some barebones cloud GPU services, for example Lambda Labs which is significantly cheaper than AWS/GCP but offers basically nothing besides the machine with a GPU. You could even try something like Vast in which people rent out their personal GPU machines for chea…

Having to connect to a gpu over the internet seems extremely cumbersome. Stuff like this should be as easy as running a local program with an accelerator.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#144
post #76

Earlier quoted context omitted.

My annoyance was managing state. I’d have to spend hours installing tools, downloading data, updating code, then when I want to go to bed I have to package it up and store as much as I can on s3 before shutting off the $$ server.

aws s3 sync + image snapshot

all that costs time :-/ When you're finished working, you got to wait for the syncs to finish (or I guess run them all the time?).

For home computer setups, you can simply walk away when you need a break.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#145
post #106
post #91

Earlier quoted context omitted.

Besides some great tooling out there if you wanted to roll your own, you can literally rent windows/linux computers, with persistent disks. If you have good internet, you can even use it as a gaming PC, as I do.

Is there an easy way to off-board the persistent disk to cheaper machines when you don't need the gpus? Like imagine, setting up and installing everything with the gpu attached, but when you're not using the gpu or all the cpu cores, you can disconnect them. If you have docs on how to do this, please let me know.

https://towardsdatascience.com/stop-duplicating-deep-learnin...

This is basically the building blocks.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#147
post #76
post #70

Earlier quoted context omitted.

Wait why is renting a GPU in the cloud not a solution? You can even try multiple options and see which ones are capable enough for your use case. Look into some barebones cloud GPU services, for example Lambda Labs which is significantly cheaper than AWS/GCP but offers basically nothing besides the machine with a GPU. You could even try something like Vast in which people rent out their personal GPU machines for chea…

My annoyance was managing state. I’d have to spend hours installing tools, downloading data, updating code, then when I want to go to bed I have to package it up and store as much as I can on s3 before shutting off the $$ server.

If you shut down an ec2 instance you only pay for the volume not the compute. Just shut it down and start it up the next day.

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#148

Anyone know what hardware it takes to run this? Asking as an enthusiastic newbie

At a guess, based on model size, just about anything, even a Raspberry Pi 4 etc. As comparison the GGML port of Whisper (OpenAI's equivalent), runs in the browser, via WASM: https://whisper.ggerganov.com/

If this is the case, what hardware is needed for real-time tts?

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#149
post #89

Earlier quoted context omitted.

Most are at risk of extinction. "half of the languages spoken today have fewer than 10,000 speakers and that a quarter have fewer than 1,000 speakers" ( https://en.wikipedia.org/wiki/Language_death ). "Today, on average, we lose one language in the world every six weeks. There are approximately 6800 languages. But four percent of the population speaks 96 percent of the languages, and 96 percent of the population spea…

Wow, preserving almost-dead languages sounds like something that LLMs would be pretty appropriate for, right? We would primarily need as large a body of written text translated into both a "known" language and the dying language as possible.

May be a cool piece of tech for historians in 100s of years from now!

Re: Meta AI announces Massive Multilingual Speech code, models for 1000+ languages

#150
post #124
post #80

Earlier quoted context omitted.

You can finetune whisper, stable diffusion, and LLM up to about 15B parameters with 24GB VRAM. Which leads you to what hardware to get. Best bang for the $ right now is definitely a used 3090 at ~$700. If you want more than 24GB vram just rent the hardware as it will be cheaper. If you're not willing to drop $700 don't buy anything just rent. I have had decent luck with vast.ai

There is the world of used Nvidia Teslas, like the M40. Very cheap, but some assembly required.

What is their advantages?
Post reply on HN