Skip to content

✨ Quality: Prevent gradient tracking during inference to stop memory bloat#624

Open
letho1608 wants to merge 1 commit intomicrosoft:mainfrom
letho1608:contribai/improve/quality/prevent-gradient-tracking-during-inferen
Open

✨ Quality: Prevent gradient tracking during inference to stop memory bloat#624
letho1608 wants to merge 1 commit intomicrosoft:mainfrom
letho1608:contribai/improve/quality/prevent-gradient-tracking-during-inferen

Conversation

@letho1608
Copy link
Copy Markdown

Problem

Severity: high
File: PytorchWildlife/models/classification/timm_base/base_classifier.py

Solution

Implemented the necessary changes to address the identified issue in PytorchWildlife/models/classification/timm_base/base_classifier.py.

Changes

  • PytorchWildlife/models/classification/timm_base/base_classifier.py (modified)

Testing

  • Existing tests pass
  • Manual review completed
  • No new warnings/errors introduced

Closes #609

…loat

Affected files: base_classifier.py

Signed-off-by: Le Quang Tho <92069270+letho1608@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory usage issues with TIMM classifier

1 participant