Skip to content

Commit 5e68d1e

Browse files
Disable forced PyTorch upgrades
Disables automatic PyTorch version upgrades that were forcing all NVIDIA users to download 1.5GB packages without consent. ## What Changed - Commented out `ensureRecommendedNvidiaTorch()` call in updatePackages() - Users will no longer be forced to upgrade PyTorch on app startup ## Why The automatic upgrade introduced in PR #1513 caused several issues: - Forced 1.5GB downloads without user warning or consent - Caused installation failures for users with slow/metered connections - Blocked Chinese users when packages weren't available on mirrors - No opt-out mechanism ## User Impact - NVIDIA users will keep their current PyTorch versions - No more forced package reinstalls on app startup - Users can manually upgrade PyTorch if they want new features ## Next Steps A follow-up PR will add optional user-prompted PyTorch upgrades with proper consent dialogs and preference tracking. Related: PR #1513, PR #1525 Fixes: Forced PyTorch upgrade crisis (Jan 8-14, 2026) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 0a5fcbb commit 5e68d1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/install/installationManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ export class InstallationManager implements HasTelemetry {
382382
await installation.virtualEnvironment.installComfyUIRequirements(callbacks);
383383
await installation.virtualEnvironment.installComfyUIManagerRequirements(callbacks);
384384
await this.warnIfNvidiaDriverTooOld(installation);
385-
await installation.virtualEnvironment.ensureRecommendedNvidiaTorch(callbacks);
385+
// Disabled forced PyTorch upgrades - users should control when large package downloads occur
386+
// await installation.virtualEnvironment.ensureRecommendedNvidiaTorch(callbacks);
386387
await installation.validate();
387388
} catch (error) {
388389
log.error('Error auto-updating packages:', error);

0 commit comments

Comments
 (0)