-
Notifications
You must be signed in to change notification settings - Fork 284
Add FramePack example #2341
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
base: master
Are you sure you want to change the base?
Add FramePack example #2341
Conversation
Signed-off-by: Mengni Wang <[email protected]>
Signed-off-by: Mengni Wang <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Failed to generate code suggestions for PR |
for more information, see https://pre-commit.ci
Signed-off-by: Mengni Wang <[email protected]>
| pip install -r requirements.txt | ||
| pip install --update neural-compressor-pt | ||
| pip install --update auto-round | ||
| git clone --depth 1 https://github.com/lllyasviel/FramePack.git |
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.
Can we freeze to a tag or commit?
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.
done
| @@ -0,0 +1,141 @@ | |||
| #!/bin/bash | |||
| set -x | |||
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.
use set -ex, so script will exit with the first error.
| @@ -0,0 +1,35 @@ | |||
| Pillow | |||
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.
add gdown, used by sh vbench2_beta_i2v/download_data.sh
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.
let's freeze the deps versions.
User description
Type of Change
example
Description
depends on main branch of auto_round
PR Type
Enhancement
Description
Added FramePack example with benchmark script
Included README with setup instructions and usage examples
Enhanced script to handle multiple GPU configurations
Diagram Walkthrough
File Walkthrough
run_benchmark.sh
Add benchmark scriptexamples/pytorch/diffusion_model/diffusers/framepack/run_benchmark.sh
README.md
Add README for FramePack exampleexamples/pytorch/diffusion_model/diffusers/framepack/README.md