-
Notifications
You must be signed in to change notification settings - Fork 21
Mac support #2
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
Mac support #2
Conversation
…Updated demo_gradio.py to handle memory checks and model precision based on device type. Modified memory.py to support MPS with fixed memory estimates. Adjusted hunyuan_video_packed.py to create tensors on the same device as input. Updated README.md for clearer installation instructions for CUDA and MPS.
…ls.py with new resolution options - Introduced `--output_dir` argument in demo_gradio.py for customizable output folder. - Adjusted image processing resolution to 480 in demo_gradio.py. - Expanded bucket_tools.py with additional resolution options for better image handling.
…justments - Modified total latent sections calculation to use a frame rate of 24 instead of 30. - Updated video length description and output file saving function to align with the new frame rate.
- Added `--resolution_bucket` and `--fp32` arguments for customizable image processing and model precision. - Updated memory management for MPS devices to use recommended maximum memory. - Adjusted GPU memory preservation slider visibility based on high VRAM mode.
- Renamed `--resolution_bucket` argument to `--resolution` for clarity in demo_gradio.py. - Updated image processing logic to utilize the new resolution argument. - Simplified bucket_options in bucket_tools.py by removing resolution-specific keys, allowing for more flexible resolution handling.
…macOS - Renamed installation section for NVIDIA GPUs to improve clarity. - Added detailed installation steps for macOS, including Python 3.10 installation via Homebrew. - Included new arguments for starting FramePack on macOS, enhancing user guidance for configuration options. - Updated resolution handling information to reflect changes in default settings and recommendations for M1/M2 processors.
|
As suggested by lllyasviel#170 (comment), this works on my Mac with a fair speed on rendering. I run it by pointing to a local pytorch folder with pytorch/pytorch#151742 and pytorch/pytorch#151760 applied so that full MPS could be working. Below is the full log of the generation of one video. You can see that the the cost is less than 20 seconds / frame. And the output is good. 250420_224623_192_5524_28.mp4Just for your reference. |
No description provided.