🚀 BangtrixToolkit

Essential Custom Nodes for ComfyUI

ComfyUI Python License Stars

A powerful toolkit for ComfyUI featuring a real-time Hardware Monitor overlay with native AMD/NVIDIA GPU/APU support, and a Universal Prompt Translator node — all in one clean package.


✨ Key Features (Click to Expand)

🖥️ Advanced HW Monitor

A real-time monitoring overlay displayed directly on the ComfyUI canvas. Tracks GPU Name, Load (%), VRAM Usage, Temperature (°C), and Fan Speed (%) with animated progress bars and a live sparkline graph. The widget is fully draggable, minimizable, and toggleable via Ctrl + Shift + M.

🔥 New Quality of Life Additions:

  • 🧹 One-Click Memory Flush: Instantly free up VRAM and System RAM directly from the overlay using the clear button. It safely unloads all idle models, clears the PyTorch cache, and triggers Python garbage collection—saving you from Out of Memory (OOM) errors before running heavy upscale workflows.
  • ⚡ Smart ROCm Smoothing: Uses an ultra-responsive 500ms polling rate coupled with a custom "Peak Hold / Max Aggregate" algorithm. This ensures accurate tracking of bursty AI compute workloads across all GPU engines, completely eliminating the inaccurate "0% usage drops" commonly seen in standard Windows Task Manager monitoring.

image

🔌 Native AMD ROCm Support

An intelligent multi-backend architecture automatically detects your GPU vendor and selects the optimal data source.

GPU Platform Primary Backend Fallback
AMD RDNA3 (RX 7000+) Windows amd-smi (ROCm) + PDH PowerShell / WMI
AMD (legacy) Windows ADL (atiadlxx.dll) + PDH PowerShell
AMD Linux sysfs (/sys/class/drm) — no ROCm required linux_amdgpu
NVIDIA Windows / Linux NVML / nvidia-smi PDH / sysfs
Intel ARC / iGPU Windows / Linux PDH + sysfs PowerShell / hwmon
Any GPU / no backend Any psutil fallback (RAM only) —

No third-party background applications are required — the backend relies only on native OS tools and your existing AMD driver stack.


🌐 Universal Prompt Translator

An integrated translation node that converts prompts from 100+ languages into English and directly outputs CLIP conditioning.

Code Language Code Language Code Language Code Language
auto Auto Detect en English id Indonesian ja Japanese
ko Korean zh-CN Chinese (Simplified) zh-TW Chinese (Traditional) fr French
de German es Spanish pt Portuguese ru Russian
it Italian ar Arabic tr Turkish hi Hindi
th Thai vi Vietnamese af Afrikaans sq Albanian
am Amharic hy Armenian az Azerbaijani eu Basque
be Belarusian bn Bengali bs Bosnian bg Bulgarian
ca Catalan ceb Cebuano ny Chichewa co Corsican
hr Croatian cs Czech da Danish nl Dutch
eo Esperanto et Estonian tl Filipino fi Finnish
fy Frisian gl Galician ka Georgian el Greek
gu Gujarati ht Haitian Creole ha Hausa haw Hawaiian
iw Hebrew hmn Hmong hu Hungarian is Icelandic
ig Igbo ga Irish jw Javanese kn Kannada
kk Kazakh km Khmer ku Kurdish ky Kyrgyz
lo Lao la Latin lv Latvian lt Lithuanian
lb Luxembourgish mk Macedonian mg Malagasy ms Malay
ml Malayalam mt Maltese mi Maori mr Marathi
mn Mongolian my Myanmar (Burmese) ne Nepali no Norwegian
ps Pashto fa Persian pl Polish pt Portuguese
pa Punjabi ro Romanian sm Samoan gd Scots Gaelic
sr Serbian st Sesotho sn Shona sd Sindhi
si Sinhala sk Slovak sl Slovenian so Somali
su Sundanese sw Swahili sv Swedish tg Tajik
ta Tamil te Telugu th Thai tr Turkish
uk Ukrainian ur Urdu uz Uzbek vi Vietnamese
cy Welsh xh Xhosa yi Yiddish yo Yoruba
zu Zulu

✨ Sample Translation

Indonesian Input Final English Prompt
wanita cantik memakai kimono di malam hari beautiful woman wearing kimono at night, cinematic lighting, high quality, detailed

🎛️ Presets

Quality Style Auto Negative
normal — Standard none — No style normal — Basic
high — Enhanced details anime · realistic · cinematic strong — Reduced artifacts
ultra — Maximum quality photography · product · fantasy · portrait ultra — Maximum cleanup

💡 Tips: Use show_original to debug translations · Enable enable_cache for faster workflows · Use ultra quality for SDXL and Flux · Use the anime preset for anime models · Use realistic or photography for realism-based models



🌐 Bangtrix Simple Translate

A lightweight, standalone translation node that converts text from 100+ languages using the Google Translate API — no CLIP encoding, no prompts. Perfect for simple text translation tasks.

Code Language Code Language Code Language Code Language
auto Auto Detect en English id Indonesian ja Japanese
ko Korean zh-CN Chinese (Simplified) zh-TW Chinese (Traditional) fr French
de German es Spanish pt Portuguese ru Russian
it Italian ar Arabic tr Turkish hi Hindi
th Thai vi Vietnamese af Afrikaans sq Albanian
am Amharic hy Armenian az Azerbaijani eu Basque
be Belarusian bn Bengali bs Bosnian bg Bulgarian
ca Catalan ceb Cebuano ny Chichewa co Corsican
hr Croatian cs Czech da Danish nl Dutch
eo Esperanto et Estonian tl Filipino fi Finnish
fy Frisian gl Galician ka Georgian el Greek
gu Gujarati ht Haitian Creole ha Hausa haw Hawaiian
iw Hebrew hmn Hmong hu Hungarian is Icelandic
ig Igbo ga Irish it Italian jw Javanese
kn Kannada kk Kazakh km Khmer ku Kurdish
ky Kyrgyz lo Lao la Latin lv Latvian
lt Lithuanian lb Luxembourgish mk Macedonian mg Malagasy
ms Malay ml Malayalam mt Maltese mi Maori
mr Marathi mn Mongolian my Myanmar (Burmese) ne Nepali
no Norwegian ps Pashto fa Persian pl Polish
pa Punjabi ro Romanian sm Samoan gd Scots Gaelic
sr Serbian st Sesotho sn Shona sd Sindhi
si Sinhala sk Slovak sl Slovenian so Somali
su Sundanese sw Swahili sv Swedish tg Tajik
ta Tamil te Telugu th Thai tr Turkish
uk Ukrainian ur Urdu uz Uzbek vi Vietnamese
cy Welsh xh Xhosa yi Yiddish yo Yoruba
zu Zulu

📸 Sample Workflow

image

⚙️ Customization UI & Settings (Click to Expand)

The HW Monitor integrates directly into the ComfyUI Settings panel. All changes are applied instantly — no browser reload required.


image
Setting Type Options
🌗 Base Mode Combo Dark · Light
🎨 Theme Combo Default Green · Neon Blue · Crimson Red · Hacker (Black & Green) · Cyberpunk (Yellow/Cyan) · Custom Colors
⏱️ Refresh Rate Combo 500ms · 1s · 2s
🚀 Show on Startup Boolean On / Off
🔲 Background Opacity Slider 0.1 – 1.0 (step 0.05)
📦 Compact Mode Boolean Hides sparkline graph for minimal footprint
👻 Ghost Mode Boolean Makes the background completely invisible/transparent
🔍 UI Scale Slider 0.5x (50%) – 2.0x (200%), step 0.1 — Zoom the entire widget for high-DPI (4K) displays or improved readability

Access the settings by clicking the ⚙ gear icon on the HW Monitor widget header.



🎨 Theme Samples, Compact Mode, and Ghost Mode

Themes
image image image image image image image

Base Theme Light
image

Custom Themes
image

Compact Mode
image

Ghost Mode/invisble Background
image



⌨️ Keyboard Shortcuts & Actions

Action Control
Show / Hide Overlay Ctrl + Shift + M
Minimize Widget Click − button
Open Settings Click ⚙ button
Flush VRAM & RAM Click 🧹 Clear button
Reposition Widget Drag the header bar

🚀 Installation Guide (Click to Expand)

🔧 Manual Installation

cd ComfyUI/custom_nodes
git clone [https://github.com/Anonymzx/BangtrixToolkit.git](https://github.com/Anonymzx/BangtrixToolkit.git)
pip install -r BangtrixToolkit/requirements.txt

  1. Open ComfyUI Manager inside ComfyUI
  2. Go to the Custom Nodes Manager tab
  3. Search for BangtrixToolkit
  4. Click Install
  5. Restart ComfyUI

After restarting, the HW Monitor overlay will appear automatically — no additional node configuration is required.


⚠️ Compatibility, Testing & Bug Reports (Click to Expand)

🧪 Hardware Testing Status:

✅ AMD Radeon™ RX 7800 XT (RDNA3) & Ryzen™ APUs: Explicitly tested and verified natively by the author.

✅ NVIDIA GPUs: Successfully tested and verified to work flawlessly by a community user on Reddit (Tested on RTX 3090 / Linux)!

⏳ Intel ARC / iGPU & Legacy AMD: Implemented via official APIs, currently awaiting community feedback.


🤝 Call for Feedback (NVIDIA, Intel & Other AMD GPUs): Since this toolkit was developed and explicitly tested on the specific AMD hardware above, the integrations for NVIDIA, Intel, and other AMD GPUs (like RDNA2, Vega, Polaris) are implemented based on official APIs (NVML, sysfs, PDH, ADL).

If you are using an NVIDIA GPU, an Intel ARC/iGPU, or other AMD GPUs and encounter any issues (such as N/A values, missing sensors, or graphical glitches), please open an issue on GitHub. Kindly include:

A screenshot of the HW Monitor overlay.

Your ComfyUI terminal log (showing the backend initialization).

Your feedback is highly appreciated to help patch and perfect the monitoring experience for everyone!


Why install AMD ROCm / HIP SDK?

Windows restricts direct access to temperature and fan speed sensors on most AMD GPUs. To allow the HW Monitor to extract these values natively without relying on bloated third-party background apps, installing the AMD ROCm / HIP SDK is highly recommended for the general AMD ecosystem.

📥 Download: AMD ROCm HIP SDK

After installation, the backend will automatically detect hipInfo.exe and amd-smi through the HIP_PATH environment variable and combine it with live Windows PDH data.


🚨 Current RDNA3 (RX 7000 Series) Limitation:

While the ROCm backend works flawlessly for extracting advanced metrics, please note that as of the current Windows drivers, AMD's RDNA3 architecture strictly locks thermal extraction via native APIs.

If you are using an RX 7000 series GPU, you will reliably get GPU Name, GPU Load, and VRAM Usage, but thermal sensors (Temp/Fan) will temporarily output N/A even with ROCm installed.

We have integrated the native ROCm backend to future-proof your setup. Once AMD releases a driver patch that unlocks this API for Windows, your Temp and Fan readings will automatically spring to life without needing to update this node!


💖 Support This Project

If you find this toolkit useful and it improves your ComfyUI workflow, consider supporting its development!

❤️ Created by Anonymzx

S
Description
No description provided
Readme MIT
406 KiB
Languages
Python 81.5%
JavaScript 18.5%