Open XuZhang99 opened 2 weeks ago
The changes in the .github/workflows/examples.yml
file involve the addition of a pip installation command for the huggingface-hub
package within the CI workflow. This command is added after uninstalling the transformer-engine
package, indicating an update to the dependencies needed for testing ComfyUI. Minor adjustments to comments and formatting were also made, but these do not alter the overall functionality or structure of the workflow. Additionally, the onediff_controlnet.py
file sees modifications to the OneDiffControlLora
class, particularly in the handling of the device
attribute and updates to the pre_run
and copy
methods.
File | Change Summary |
---|---|
.github/workflows/examples.yml | Added pip installation command for huggingface-hub==0.25.2 after uninstalling transformer-engine . Minor formatting and comment adjustments made. |
onediff_comfy_nodes/modules/oneflow/onediff_controlnet.py | Removed device parameter from constructor and copy method in OneDiffControlLora . Updated logic in pre_run method for dynamic operation handling based on manual_cast_dtype . |
sequenceDiagram
participant CI as CI Workflow
participant Docker as Docker Container
participant Pip as Pip Installer
CI->>Docker: Uninstall transformer-engine
Docker->>Pip: Run pip install huggingface-hub==0.25.2
Pip-->>Docker: Installation complete
🐰 "In the garden of code, we grow,
With huggingface-hub, our tests now flow.
A sprinkle of changes, a dash of delight,
ComfyUI's journey is now shining bright!
With each little tweak, our project takes flight!" 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
huggingface-hub
package to enhance ComfyUI testing capabilities.Chores
Refactor
OneDiffControlLora
class for improved operational behavior during the model's pre-run phase.