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

Updates Mochi to use Diffusers #986

Merged
merged 7 commits into from
Nov 20, 2024
Merged

Updates Mochi to use Diffusers #986

merged 7 commits into from
Nov 20, 2024

Conversation

erik-dunteman
Copy link
Collaborator

Significantly cheaper inference, faster cold boots, and makes for a much more readable example.

Type of Change

  • New example
  • Example updates (Bug fixes, new features, etc.)
  • Other (changes to the codebase, but not to examples)

Checklist

  • Example is testable in synthetic monitoring system, or lambda-test: false is added to example frontmatter (---)
    • Example is tested by executing with modal run or an alternative cmd is provided in the example frontmatter (e.g. cmd: ["modal", "deploy"])
    • Example is tested by running with no arguments or the args are provided in the example frontmatter (e.g. args: ["--prompt", "Formula for room temperature superconductor:"]
  • Example is documented with comments throughout, in a Literate Programming style.
  • Example does not require third-party dependencies to be installed locally
  • Example pins its dependencies- currently requires diffusers to be installed from source

@charlesfrye
Copy link
Collaborator

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-9b07752.modal.run

06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Show resolved Hide resolved
06_gpu_and_ml/text-to-video/mochi.py Outdated Show resolved Hide resolved
@charlesfrye
Copy link
Collaborator

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-55fe7fa.modal.run

@charlesfrye
Copy link
Collaborator

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-9828910.modal.run

@charlesfrye
Copy link
Collaborator

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-0fb1af4.modal.run

@charlesfrye
Copy link
Collaborator

🚀 The docs preview is ready! Check it out here: https://modal-labs-examples--frontend-preview-c985e60.modal.run

@charlesfrye charlesfrye merged commit 99fda50 into main Nov 20, 2024
7 checks passed
@charlesfrye charlesfrye deleted the erikd/update-mochi branch November 20, 2024 06:40
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