Conversation
Contributor
|
Cool ! |
|
Hi @nvnsho and @hehua2008 , Appreciate your work on supporting video generation model for the mac ecosystem. Would there be any chance to support the smaller model like Wan2.2-TI2V-5B or could you guys give me any guidance on what should be changed in order to do so, many thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the WAN 2.2 video model (currently only T2V-A14B) in MLX.
On my MacBook Pro M4 Max 128GB, the following:
python generate.py --task t2v-A14B --size '480*832' --ckpt_dir ./Wan2.2-T2V-A14B --offload_model True --convert_model_dtype --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage." --frame_num 16 --sample_steps 24Runs at about ~50s/it for a total of about ~20mins.
t2v-A14B_480.832_1_Two_anthropomorphic_cats_in_comfy_boxing_gear_and__20250731_010835.mp4