Skip to content

Add Replicate demo and API#4

Open
zsxkib wants to merge 3 commits into
hkchengrex:mainfrom
zsxkib:replicate
Open

Add Replicate demo and API#4
zsxkib wants to merge 3 commits into
hkchengrex:mainfrom
zsxkib:replicate

Conversation

@zsxkib

@zsxkib zsxkib commented Dec 12, 2024

Copy link
Copy Markdown

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

zsxkib commented Dec 12, 2024

Copy link
Copy Markdown
Author

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

Comment thread predict.py
)

# Generate audio with no_grad
with torch.no_grad():

Copy link
Copy Markdown
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 thread .gitignore
Comment on lines +150 to +151
/weights
/ext_weights

@hkchengrex hkchengrex Dec 12, 2024

Copy link
Copy Markdown
Owner

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
Copy Markdown
Owner

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

@hkchengrex

Copy link
Copy Markdown
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