Skip to content

1.0.2

Latest

Choose a tag to compare

@a904guy a904guy released this 19 Sep 07:43
· 7 commits to main since this release

Smart Segments v1.0.2 - CUDA Compatibility Enhancement 🚀

🎯 Major Fix: CUDA Compatibility Issues Resolved

This release addresses critical CUDA compatibility problems that were causing crashes for users with GPU driver/PyTorch version mismatches. The plugin now works reliably on all systems with automatic CPU fallback when needed.

🔧 What's Fixed

Critical: "CUDA kernel image not available" Error

  • Problem: Plugin crashed with CUDA error: no kernel image is available for execution on the device
  • Solution: Added intelligent CUDA compatibility testing and automatic CPU fallback
  • Result: Plugin continues working seamlessly in CPU mode when GPU issues occur

✨ New Features

Smart GPU Detection

  • 🔍 Real CUDA Testing: Actually tests GPU operations instead of just checking availability
  • 🔄 Automatic Fallback: Seamlessly switches to CPU mode when CUDA compatibility fails
  • 📊 Detailed GPU Info: Reports GPU memory, CUDA versions, and compatibility status

Enhanced User Experience

  • 💬 Friendly Error Dialogs: Clear explanations instead of cryptic technical errors
  • 🛠️ Troubleshooting Guidance: Actionable steps to resolve GPU compatibility issues
  • 🛡️ Graceful Degradation: Full functionality maintained in CPU mode (just slower)

🎯 For Users Experiencing CUDA Issues

If you've been getting CUDA errors, this update will:

  1. Automatically detect the compatibility problem
  2. Switch to CPU mode without crashing
  3. Show a helpful dialog explaining the situation
  4. Continue working with full functionality

🔧 Technical Improvements

  • New CUDACompatibilityChecker class for comprehensive GPU analysis
  • Enhanced model loader with device fallback mechanisms
  • Improved error categorization and logging for CUDA-related issues
  • Specialized error dialogs with platform-specific troubleshooting

📦 Installation

Download the plugin package and install via Krita:

  1. Download SmartSegments_v1.0.2.zip
  2. Open Krita → Tools → Scripts → Import Python Plugin from File
  3. Select the downloaded ZIP file
  4. Restart Krita

🐛 Reporting Issues

If you encounter any problems, please open an issue with:

  • Your GPU model and drivers
  • PyTorch version (if known)
  • Error messages from the plugin
  • Log from plugin folder ./log/smart_segments.log

💾 System Requirements

  • Krita: 5.0+ with Python support
  • RAM: 4GB+ recommended
  • Storage: 5-6 GB free space (1 GB models + 4-5 GB tooling)
  • GPU: Optional (automatic CPU fallback if incompatible)

Note: This release ensures the plugin works on all systems regardless of CUDA compatibility. GPU acceleration is nice-to-have, but the plugin is fully functional in CPU mode.