MMAudio Demo Data Handling/Retention?

#33
by deleted - opened
deleted

Hello,

I'd like to test mmaudio functionality before trying it locally. Can you confirm how files uploaded via the mmaudio demo on HF are handled? Are they stored forever or are they deleted after a period of time?

Hi, thanks for your question.

We do not keep data, except temporarily for formatting conversion and visualization. The source code is here if you wish to check: https://huggingface.co/spaces/hkchengrex/MMAudio/tree/main
Hugging Face might store the store, and I have no visibility on that. You would have to check their terms of service.

Moreover, you can always host it locally, fully offline, using our code here: https://github.com/hkchengrex/MMAudio

deleted

Thank you for your reply!

As an interim test, I created a sample and saved the link. It's still available to view over 24 hours later. Is this due to how HF's ephemeral filesystem works? Per the code, it seems the original file gets staged. Do you have a process in place to clear both source/final output files or is this all handled by HF?

Thanks for testing this. HF space calls our pre-defined function when the user sends a generate request, and our function returns a path to a temporary file. Since there are no callbacks after this finishes, and there is no "main loop" in our code, we have no control over the lifetime of the output. Our generation function is essentially stateless. I think the data retention policy in this case depends largely on HF.

deleted
โ€ข
edited May 16

It appears the output files are dumped to a specific directory. I'm not familiar with how HF runs your model on the backend, but the code eludes to this. Is this not the case?

Thank you again for your time.

Sign up or log in to comment