-
Notifications
You must be signed in to change notification settings - Fork 34
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
Lightning App demo #2
base: main
Are you sure you want to change the base?
Conversation
Thank you for this change as well @aniketmaurya! To understand more, which |
btw I tried running the model on an MPS device, but it gave a noisy output after running it. Any idea why? |
@aniketmaurya, the app is fantastic! But to make sure this repository is simple and focused on the model development/evaluation, I feel it's best to separate out the application implementation. We did the same with the Huggingface Spaces deployment we provided as an example. Currently, this would require duplicating the model code, where the app is deployed. However, we plan to package this model as a pip package, which would avoid needing to duplicate the model code. We'd be happy to link your LightningApp in the readme if you're interested, though. Regarding the MPS backend: I haven't worked with the MPS backend but if I have to guess, it's probably because the amplitude scale provided by that backend is incompatible with what the model expects. The model expects the amplitude to be normalized to the [-1, 1] range. |
Thanks a lot of merging the last PR. We can keep the app code into our community project Awesome Lightning. |
Definitely, that sounds great! |
Hi @vb000, I loved playing with Waveformer 💜 ! I have made a PR to enable audio input of any sample rate by converting it to the required rate
44100
in #1In this PR, I have created a simple Lightning App for Waveformer.
Recently, we deployed a stable diffusion model with thousands of concurrency using Lightning Apps. If you're interested, we can do something similar for Waveformer as well 😄