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

feat: latest comfyui; fix: better GPU utilization for SD15 #270

Merged
merged 50 commits into from
Sep 23, 2024
Merged

Commits on Sep 23, 2024

  1. feat: use horde_engine~=2.14.2

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    daad6b5 View commit details
    Browse the repository at this point in the history
  2. fix: use --novram approach

    Despite the name, `--novram` still allows the GPU to be used. However, comfyui uses this flag to much more aggressively avoid leaving tensors in VRAM. I am hoping that this will reduce VRAM OOMs and/or shared memory usage (in windows).
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5dfc26b View commit details
    Browse the repository at this point in the history
  3. refactor/fix: unload_models_from_vram more often

    With some recent comfyui changes it appears that the logic prior to this commit was not aggressive enough to avoid OOMs with relying on comfyui's internal decision making alone.
    
    This commit causes the worker to unload models from VRAM immediately after an inference result (if it is not about to be used) and right before post processing.
    
    Post processing as implemented today almost always overestimates the amount of free VRAM, and tends to cause OOMs or shared memory usage (on window) so more proactively unloading the model should help minimize that problem.
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    aac8c6e View commit details
    Browse the repository at this point in the history
  4. feat: use horde_engine~=2.14.3

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    c344985 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    364c7b1 View commit details
    Browse the repository at this point in the history
  6. fix: more aggressively unload from system ram

    The worker seems to be holding onto too much system RAM on average. I previously relied on comfyui internals to handle this implicitly but recent changes seem to have broken some assumptions I was making. This is an purposely over-zealous attempt to keep system RAM usage down.
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    4234412 View commit details
    Browse the repository at this point in the history
  7. feat: use horde_engine~=2.14.4

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5debcf2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c90a019 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    73418c1 View commit details
    Browse the repository at this point in the history
  10. feat: more configurable memory management

    Redefines the broken existing `high_memory_mode` to leverage the recent memory management extension
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    602a958 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    47f08c7 View commit details
    Browse the repository at this point in the history
  12. feat: use horde_engine~=2.14.5

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    1c46af6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9e60095 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    67ba52b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    55ddc03 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    22202b3 View commit details
    Browse the repository at this point in the history
  17. feat: use horde_sdk~=0.14.1

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    6dd52aa View commit details
    Browse the repository at this point in the history
  18. fix: print to console PROCESS_ENDED message's info

    This will clarify when the situations such as the shared model manager failing to load or no models being found occur (e.g., when download_models.py isn't)
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    00b6033 View commit details
    Browse the repository at this point in the history
  19. chore: version bump

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    3d41fdd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3f7a47c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    70f7a0b View commit details
    Browse the repository at this point in the history
  22. fix: use horde_sdk==0.14.2

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    aa0ca39 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    e21f192 View commit details
    Browse the repository at this point in the history
  24. doc: custom models

    db0 authored and tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b0bf64b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    1ab8b07 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    48206d8 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6d74831 View commit details
    Browse the repository at this point in the history
  28. style: fix

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b1f5013 View commit details
    Browse the repository at this point in the history
  29. feat: use horde_engine~=2.14.6

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f1bbd5e View commit details
    Browse the repository at this point in the history
  30. feat: use horde_engine==2.15.0

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    0934de5 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    6dfcf93 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0c1de03 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    e142601 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5ef71b4 View commit details
    Browse the repository at this point in the history
  35. style: fix

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    519f734 View commit details
    Browse the repository at this point in the history
  36. fix: less flux slowdown

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    91d6f35 View commit details
    Browse the repository at this point in the history
  37. style: fix

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    ddc7bfe View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    a52d5a3 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    f5ba73c View commit details
    Browse the repository at this point in the history
  40. fix: detect more deadlocks; less crashes w/ unsresponsive logic

    - More fallback logic if there are jobs popped, processes available, but nothing happening.
    
    - Resolves certain problems with the unresponsive logic
      - The case of it ending all jobs after a long period of "No Job" messages from the server followed by successful pops.
      - Now no longer shuts down in error while processes are restarting
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5e01bfe View commit details
    Browse the repository at this point in the history
  41. chore: version bump

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d817884 View commit details
    Browse the repository at this point in the history
  42. fix: use horde_engine==2.15.2

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f972979 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    2f88886 View commit details
    Browse the repository at this point in the history
  44. feat: time spent w/o jobs logging

    Tracks the time spent without any available jobs. This will help worker operators identify potential issues with their configuration. A warning will be logged if the worker spends more than 5 minutes without any jobs, suggesting possible actions to increase job demand.
    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9aa79b7 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    c5f1bd9 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    b54376f View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    8de3e4d View commit details
    Browse the repository at this point in the history
  48. chore: version bump

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e8de582 View commit details
    Browse the repository at this point in the history
  49. style: fix

    tazlin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    79e71b6 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    f89812c View commit details
    Browse the repository at this point in the history