Skip to content

Conversation

RunDevelopment
Copy link
Member

I noticed that FeMaSR contains a lot of code that was only used during training. Lots of loss calculations. So I removed all of that since spandrel focuses on inference.

Without the training code, FeMaSR is around 2x faster when you first run the model (since PyTorch has less code to compile), but repeated runs are as fast as before. Since this also removed some parameters, saved models are around 20% smaller.

@joeyballentine joeyballentine merged commit 17930c9 into main Mar 23, 2024
@joeyballentine joeyballentine deleted the thin-remasr branch March 23, 2024 18:38
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.

2 participants