LMFuser 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LMFuser
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: The LMFuser training framework.
5
5
  Project-URL: Homepage, https://github.com/TYTTYTTYT/LMFuser
6
6
  Project-URL: Documentation, https://github.com/TYTTYTTYT/LMFuser
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "LMFuser"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  requires-python = ">= 3.11"
9
9
  description = "The LMFuser training framework."
10
10
  readme = "README.md"
@@ -772,6 +772,7 @@ class DDPRunner(Runner[DDPRunnerConfig]):
772
772
  self.model_loader.model_path = test_model_path
773
773
  self._model = None
774
774
 
775
+ self.model.eval() # ensure eval mode after potential model reload
775
776
  batch_list: list[dict[str, list[Any]]] = []
776
777
  with ExitStack() as stack:
777
778
  stack.enter_context(torch.no_grad())
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes