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

Add Replicate demo and API #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

zsxkib
Copy link

@zsxkib zsxkib commented Dec 12, 2024

Hi @hkchengrex !

Awesome work on mmaudio!

This pull request makes it possible to run mmaudio on Replicate (https://replicate.com/zsxkib/mmaudio) and via API!

@zsxkib zsxkib closed this Dec 12, 2024
@zsxkib zsxkib reopened this Dec 12, 2024
@zsxkib
Copy link
Author

zsxkib commented Dec 12, 2024

I tweeted about this model on Twitter/X too https://x.com/zsakib_/status/1866908003938832743

)

# Generate audio with no_grad
with torch.no_grad():
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with torch.inference_mode(): might be more performant

Comment on lines +150 to +151
/weights
/ext_weights
Copy link
Owner

@hkchengrex hkchengrex Dec 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure what leading slashes do in .gitignore -- are they needed? We already have weights and ext_weights above.

@hkchengrex
Copy link
Owner

Wow, thanks a lot! Really appreciate it. I've left two minor comments, but this is excellent.

@hkchengrex
Copy link
Owner

Added the replicate link to readme for now. Thanks.

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

Successfully merging this pull request may close these issues.

2 participants