Merge branch 'main' of https://github.com/Windecay/ComfyUI-ReservedVRAM
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository_owner == 'Windecay' }}
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@v1
|
||||
with:
|
||||
## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
@@ -1,6 +1,8 @@
|
||||
A simple node that can dynamically adjust the reserved memory of a workflow in real-time, used to avoid the utilization of shared memory.
|
||||
A simple node that can dynamically adjust the reserved memory of a workflow in real-time.
|
||||
|
||||
更新
|
||||
##新版ComfyUI具有Pin Memory特性,会直接显示部分卸载到内存的模型为共享显存的使用。只要调节到采样速度和显卡功耗正常就可以。
|
||||
|
||||
2025-10-21增强节点功能
|
||||
|
||||
1,可以作为随机种子节点,每次运行均检测和和修改显存策略。可选开关。
|
||||
@@ -24,7 +26,7 @@ new
|
||||
预留数值可以为负值,配合自动模式计算用。
|
||||
—————————————————————————————————————————
|
||||
|
||||
一个可以实时调节工作流预留显存的简单节点,可以用于规避共享显存的使用,跑满显卡最大功率,解除显存焦虑。
|
||||
一个可以实时调节工作流预留显存的简单节点,跑满显卡最大功率,解除显存焦虑。
|
||||
|
||||
接在排行较前的节点处即可,观察windows任务管理器共享显存溢出多少,就需要设置保留多少(可以略微多一点),填入该数值。运行工作流实时生效,输入单位是GB。
|
||||
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
[project]
|
||||
name = "reservedvram"
|
||||
description = "A simple node that can dynamically adjust the reserved memory of a workflow in real-time."
|
||||
version = "1.0.0"
|
||||
license = {file = "LICENSE"}
|
||||
# classifiers = [
|
||||
# # For OS-independent nodes (works on all operating systems)
|
||||
# "Operating System :: OS Independent",
|
||||
#
|
||||
# # OR for OS-specific nodes, specify the supported systems:
|
||||
# "Operating System :: Microsoft :: Windows", # Windows specific
|
||||
# "Operating System :: POSIX :: Linux", # Linux specific
|
||||
# "Operating System :: MacOS", # macOS specific
|
||||
#
|
||||
# # GPU Accelerator support. Pick the ones that are supported by your extension.
|
||||
# "Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support
|
||||
# "Environment :: GPU :: AMD ROCm", # AMD ROCm support
|
||||
# "Environment :: GPU :: Intel Arc", # Intel Arc support
|
||||
# "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support
|
||||
# "Environment :: GPU :: Apple Metal", # Apple Metal support
|
||||
# ]
|
||||
|
||||
dependencies = ["nvidia-ml-py"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/Windecay/ComfyUI-ReservedVRAM"
|
||||
# Used by Comfy Registry https://registry.comfy.org
|
||||
Documentation = "https://github.com/Windecay/ComfyUI-ReservedVRAM/wiki"
|
||||
"Bug Tracker" = "https://github.com/Windecay/ComfyUI-ReservedVRAM/issues"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "windecay"
|
||||
DisplayName = "ComfyUI-ReservedVRAM"
|
||||
Icon = ""
|
||||
includes = []
|
||||
# "requires-comfyui" = ">=1.0.0" # ComfyUI version compatibility
|
||||
|
||||
Reference in New Issue
Block a user