Warn about outdated NVIDIA drivers during fresh install#1581
Warn about outdated NVIDIA drivers during fresh install#1581christian-byrne merged 1 commit intomainfrom
Conversation
📝 WalkthroughWalkthroughThe Changes
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR improves the user experience by warning users about outdated NVIDIA drivers earlier in the installation process, right after they select their installation options. The change also refactors the warning method to accept a device parameter instead of the full installation object, making it reusable in multiple contexts.
Changes:
- Added early NVIDIA driver warning call immediately after installation options are selected
- Refactored
warnIfNvidiaDriverTooOldto accept device parameter instead of installation object - Updated the method call in
updatePackagesto pass the device from the virtual environment
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
## Summary - bump desktop app version to 0.8.1 DO NOT MERGE UNTIL THESE TWO PRS ARE MERGED 1. #1581 2. #1583 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Patch version update (0.8.1). <!-- end of auto-generated comment: release notes by coderabbit.ai --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-1584-Bump-desktop-version-to-0-8-1-2fc6d73d365081ae830dd16019dd7479) by [Unito](https://www.unito.io)
Summary
The bug was that this wasn't shown early enough in the install process that new users who do not have the latest NVIDIA driver for pytorch 2.10 is that they would crash during install without a good error code.
Summary by CodeRabbit
┆Issue is synchronized with this Notion page by Unito