237 Commits
Author SHA1 Message Date
TashaSkyUp fea2f21e3a Add comprehensive security tests for eval/exec replacements
- 14 new security-focused tests covering all safety improvements
- Test safe dtype, loss function, optimizer, metrics, and device mappings
- Test injection attack prevention and safe fallback behaviors
- Test regex-based safe function execution patterns
- Verify no eval/exec exists in codebase via automated scan
- Test comprehensive security coverage for all vulnerable functions
- All 48 tests pass (34 original + 14 security + 1 optimizer test)
- Maintains 80% code coverage with enhanced security validation
2025-06-22 13:16:09 -06:00
TashaSkyUp 0cbb813e75 SECURITY: Replace all eval() and exec() usage with safe alternatives
- Replace eval() in ChangeTensorType with dtype mapping dictionary
- Replace eval() in TrainModel loss functions with predefined loss mapping
- Replace eval() in TrainModel optimizers with safe parameter defaults
- Replace eval() in TrainModel metrics with safe metrics mapping
- Replace eval() in device handling with device mapping dictionary
- Replace exec() in FuncModifyModel with regex-based safe function patterns
- All tests still pass - no functionality lost
- Package now passes ComfyUI registry security validation
- Eliminates all S307 and S102 security warnings for eval/exec usage
2025-06-22 13:12:48 -06:00
TashaSkyUp 89a89eed91 Add comprehensive Makefile with development automation
- Complete help documentation with color-coded output
- Development workflow automation (setup, test, lint, format)
- Publishing workflow with token management
- Version management and release automation
- Project status and dependency management
- Security and validation checks
- Clean build artifact management
2025-06-22 13:08:09 -06:00
TashaSkyUp 3e4fd88088 Add API token files to .gitignore for security 2025-06-22 13:02:30 -06:00
TashaSkyUp cad17c4e72 Fix license format in pyproject.toml for ComfyUI registry compliance 2025-06-22 12:57:07 -06:00
TashaSkyUp 406505c829 Change license from GPL-3.0 to AGPL-3.0
- Replace LICENSE file with official AGPL-3.0 text from GNU
- Update pyproject.toml license field to AGPL-3.0-or-later
- Update README.md license badge and section to reflect AGPL-3.0
2025-06-22 12:52:51 -06:00
TashaSkyUp a1589a50e3 Update license to match remote repository
- Use GPL-3.0-or-later license from GitHub repository
- Update pyproject.toml to reflect correct license
- Maintain consistency with remote repository settings
2025-06-22 12:39:58 -06:00
TashaSkyUp 245a9e3773 Fix repository URL case in pyproject.toml 2025-06-22 12:36:49 -06:00
TashaSkyUp 1c5be908f5 Merge with GitHub repository, keeping local versions of LICENSE and .gitignore 2025-06-22 12:35:28 -06:00
TashaSkyUp f3ff0b0545 Update publisher ID to use existing 'hmg' publisher
- Use same publisher ID as LiteLLM repository
- Update icon to match organization branding
- Maintain consistency across ComfyUI nodes packages
2025-06-22 12:33:04 -06:00
TashaSkyUp c0463636c9 Add ComfyUI Registry support with pyproject.toml
- Add pyproject.toml with proper metadata for ComfyUI Registry
- Define comprehensive PyTorch dependencies
- Set publisher ID and display information
- Add ComfyUI-standard metadata to __init__.py
- Prepare for modern ComfyUI ecosystem distribution
2025-06-22 12:28:59 -06:00
Tasha Upchurch bec3f53a90 Initial commit 2025-06-22 12:23:48 -06:00
TashaSkyUp cd889076ff Security: Clean configuration paths and URLs
- Replace Windows-specific Tesseract path with generic Linux path
- Convert SSH Git URLs to HTTPS for security
- Remove sensitive system path information
2025-06-22 12:19:30 -06:00
TashaSkyUp a84d087dde Add comprehensive README with features, installation, and usage guide
- Detailed feature overview with emoji sections
- Step-by-step installation instructions
- Complete node categories and descriptions
- Usage examples and workflow guidance
- Testing, contributing, and compatibility information
- Professional formatting with badges and clear structure
2025-06-22 12:06:17 -06:00
TashaSkyUp baa72bfc11 Update documentation and dependencies for PyTorch-focused repository
- Updated README.md to reflect PyTorch-specific focus
- Cleaned up requirements.txt to include only essential PyTorch and ML dependencies
- Prepared repository for independent distribution while preserving development history
2025-06-22 11:58:30 -06:00
Tasha Upchurch 0ee6e2820a Remove non-pytorch nodes 2025-06-22 01:04:19 -06:00
Tasha Upchurch 056faf8ac3 Merge pull request #9 from TashaSkyUp/codex/add-3-new-useful-pytorch-nodes
Add new PyTorch utility nodes
2025-06-22 00:45:21 -06:00
Tasha Upchurchandgemini-code-assist[bot] d4a1449527 Update pytorch_nodes.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-06-22 00:44:13 -06:00
Tasha Upchurch a7c48b87a6 Add batchnorm, dropout, and trainable nodes 2025-06-22 00:40:22 -06:00
Tasha Upchurch 713dc85127 Merge pull request #8 from TashaSkyUp/codex/enhance-pytorch-nodes-test-suite
Add grid search and conv layer tests
2025-06-21 23:57:32 -06:00
Tasha Upchurch e661f10c93 Add tests for conv layer params and grid search 2025-06-21 23:56:50 -06:00
Tasha Upchurch 0bb3c61074 Merge pull request #7 from TashaSkyUp/codex/fix-pr-and-address-issues
Improve test stubs
2025-06-21 23:21:55 -06:00
Tasha Upchurch f2b0c931e2 test: improve stubs for unit tests 2025-06-21 23:20:34 -06:00
Tasha Upchurch bb7faf4c75 Merge pull request #5 from TashaSkyUp/codex/find-and-implement-pytorch-transform-node
Improve torchvision transform node
2025-06-21 21:20:05 -06:00
Tasha Upchurchandgemini-code-assist[bot] fe60b14624 Update tests/test_torchvision_nodes.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-06-21 21:19:59 -06:00
Tasha Upchurch a26ecd410e Add default transform list 2025-06-21 21:17:25 -06:00
Tasha Upchurch 03ba4bed13 Merge pull request #4 from TashaSkyUp/codex/create-unit-tests-for-pytorch-nodes
Add import checks for stubs
2025-06-21 21:10:11 -06:00
Tasha Upchurch 46583efd3d Fix stubs and config for real torchvision 2025-06-21 21:09:39 -06:00
Tasha Upchurch ea1545b29c Merge pull request #3 from TashaSkyUp/codex/find-potential-errors-in-pytorch-nodes
Fix dtype handling and add failing optimizer test
2025-06-21 20:14:48 -06:00
Tasha Upchurch 9b2db23089 Fix tensor creation dtypes and add failing test 2025-06-21 20:05:10 -06:00
Tasha Upchurch c5c1273280 Cleanup: removed old backup, ensured main pytorch_nodes.py is canonical and up to date 2025-06-10 04:59:14 +00:00
Tasha Upchurch fdf31b7655 Restore all missing nodes from previous version (commit 3af8e4a) to pytorch_nodes.py 2025-06-10 04:48:21 +00:00
Tasha Upchurch ce66cb99cb fix 2025-06-10 04:40:34 +00:00
Tasha Upchurch f092d9a0c1 fix 2025-06-10 04:33:38 +00:00
Tasha Upchurch e3b8ad3f44 fix 2025-06-10 04:30:02 +00:00
Tasha Upchurch dd52b46145 Clean up: remove debug prints and ensure clean return in TrainModel.train 2025-06-10 04:24:54 +00:00
Tasha Upchurch 037a88c6ac Merge branch 'describe-model-input-node' 2025-06-10 03:51:38 +00:00
Tasha Upchurch af9c2dd94a Fix: TrainModel node now expects features/labels tensor as TORCH_TENSOR, not TORCH_DATASET. Also improved type handling and consistency. 2025-06-10 03:51:30 +00:00
Tasha Upchurch 3e862c3f92 Merge pull request #2 from TashaSkyUp/describe-model-input-node
Add DescribeModelInputNode and improve linear layer node for large ou…
2025-06-09 21:16:16 -06:00
Tasha Upchurch 4efeecaa3d Add DescribeModelInputNode and improve linear layer node for large output features 2025-06-10 03:14:33 +00:00
TashaSkyUp 8ce06ca357 couple of fixes 2025-05-27 15:23:46 -06:00
TashaSkyUp 8c3ef3618c fix for iterabletoany, added anytoany 2025-02-10 16:09:20 -07:00
TashaSkyUp 9294d57a60 fix for out of order audio files in audio folder def 2025-01-19 21:39:40 -07:00
TashaSkyUp 99fc3ad5af fix for executing prompt twice and finding incorrect routes to override. 2025-01-15 17:10:08 -07:00
TashaSkyUp 43ffaaf78a tinytxt2imgv2 2025-01-09 19:33:25 -07:00
TashaSkyUp 4aa9c36b7c fix for anytoobject 2025-01-08 20:08:07 -07:00
TashaSkyUp df6470f1b5 fix for anytoobject 2025-01-08 20:06:17 -07:00
TashaSkyUp 4adbb7300b adding api_endpoints 2024-12-27 20:17:01 -07:00
TashaSkyUp e300093dfe fixes for dealing with list rendering 2024-12-07 15:10:24 -07:00
TashaSkyUp c46bfda0ee fix for vision in v2 litellm node 2024-11-27 22:04:51 -07:00