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 web demo and API #265

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

Conversation

jd7h
Copy link

@jd7h jd7h commented Apr 8, 2024

Hello HPC-AI Tech team!

Thanks for your very cool work on Open-Sora! :) I've created a demo for Replicate's platform so people can try it out in a webinterface or via API: https://replicate.com/jd7h/open-sora-512
This PR adds the cog files for the demo, and adds a link to the demo to the Readme.

Cheers,

Judith

Comment on lines +37 to +39
# - "numpy==1.19.4"
# - "torch==1.8.0"
# - "torchvision==0.9.0"

Choose a reason for hiding this comment

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

Some arbitrary comments

Comment on lines +47 to +48
# - "echo env is ready!"
# - "echo another command if needed"
Copy link

@mbukeRepo mbukeRepo Apr 8, 2024

Choose a reason for hiding this comment

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

here too

dtype = "fp16",
batch_size = 2,
seed = 42,
prompt_path = "./assets/texts/t2v_samples.txt",

Choose a reason for hiding this comment

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

we don't need prompt_path for replicate demo

Suggested change
prompt_path = "./assets/texts/t2v_samples.txt",

# a list of ubuntu apt packages to install
system_packages:
- "libgl1-mesa-glx"
# - "libglib2.0-0"

Choose a reason for hiding this comment

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

arbitrary comment

@zhengzangw
Copy link
Collaborator

I will come to this the next week and see if we can merge.

@FrankLeeeee
Copy link
Contributor

Hi @jd7h , can you give us a doc on how we can run this on Replicate? We may like to try whether your code works as expected. Meanwhile, can you collate replicate-related code into a single folder? like how we did for huggingface gradio in the gradio folder?

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.

None yet

4 participants