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
base: main
Are you sure you want to change the base?
Conversation
# - "numpy==1.19.4" | ||
# - "torch==1.8.0" | ||
# - "torchvision==0.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some arbitrary comments
# - "echo env is ready!" | ||
# - "echo another command if needed" |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
prompt_path = "./assets/texts/t2v_samples.txt", |
# a list of ubuntu apt packages to install | ||
system_packages: | ||
- "libgl1-mesa-glx" | ||
# - "libglib2.0-0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arbitrary comment
I will come to this the next week and see if we can merge. |
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? |
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