Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: Model corruption during download leads to loading failure #1139

@hantran-co

Description

@hantran-co

Describe the bug

https://discord.com/channels/1107178041848909847/1279500849470509066

  1. Users are experiencing model loading failures due to corrupted downloads
  2. The error message indicates that tensor data is not within file bounds
  3. Currently, there's no built-in validation to catch this issue after download
  4. The workaround is to manually remove and re-download the model
Screenshot 2024-09-02 at 6 04 31 PM

Proposed Solution:

Short-term:

  • Provide clear instructions to users on how to remove and reinstall corrupted models
  • Consider adding this process to the app's troubleshooting guide

Long-term:

  • Implement post-download file validation to detect corrupted or incomplete model files
  • Add error handling to gracefully manage and report download issues
  • Consider implementing resume functionality for interrupted downloads to prevent corruption

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions