nshtrainer 0.17.0__py3-none-any.whl → 0.17.1__py3-none-any.whl

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.
@@ -44,7 +44,7 @@ class CheckpointMetadata(C.Config):
44
44
 
45
45
  @classmethod
46
46
  def from_file(cls, path: Path):
47
- return cls.model_validate_json(path.read_text())
47
+ return cls.model_validate_json(path.read_text(encoding="utf-8"))
48
48
 
49
49
  @classmethod
50
50
  def from_ckpt_path(cls, checkpoint_path: Path):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nshtrainer
3
- Version: 0.17.0
3
+ Version: 0.17.1
4
4
  Summary:
5
5
  Author: Nima Shoghi
6
6
  Author-email: nimashoghi@gmail.com
@@ -1,6 +1,6 @@
1
1
  nshtrainer/__init__.py,sha256=39loiLLXbaGiozEsAn8mPHopxaPsek8JsgR9DD2gxtY,583
2
2
  nshtrainer/_checkpoint/loader.py,sha256=myFObRsPdb8jBncMK73vjr5FDJIfKhF86Ec_kSjXtwg,13837
3
- nshtrainer/_checkpoint/metadata.py,sha256=ilq3Wz9QmILxwpy5qYm7kphhtqPUYAOh8D-OXc5SqSc,5131
3
+ nshtrainer/_checkpoint/metadata.py,sha256=FGVYqqHp5rCETcPfaoSZmGIPapE4kdYJCKSutTRERQI,5147
4
4
  nshtrainer/_checkpoint/saver.py,sha256=DkbCH0YeOJ71m32vAARiQdGBf0hvwwdoAV8LOFGy-0Y,1428
5
5
  nshtrainer/_experimental/__init__.py,sha256=pEXPyI184UuDHvfh4p9Kg9nQZQZI41e4_HvNd4BK-yg,81
6
6
  nshtrainer/callbacks/__init__.py,sha256=4qocBDzQbLLhhbIEfvbA3SQB_Dy9ZJH7keMwPay-ZS8,2359
@@ -84,6 +84,6 @@ nshtrainer/util/seed.py,sha256=Or2wMPsnQxfnZ2xfBiyMcHFIUt3tGTNeMMyOEanCkqs,280
84
84
  nshtrainer/util/slurm.py,sha256=rofIU26z3SdL79SF45tNez6juou1cyDLz07oXEZb9Hg,1566
85
85
  nshtrainer/util/typed.py,sha256=NGuDkDzFlc1fAoaXjOFZVbmj0mRFjsQi1E_hPa7Bn5U,128
86
86
  nshtrainer/util/typing_utils.py,sha256=8ptjSSLZxlmy4FY6lzzkoGoF5fGNClo8-B_c0XHQaNU,385
87
- nshtrainer-0.17.0.dist-info/METADATA,sha256=6qrwuGiaXKIaFBpYwvuqBjyDhkLX4bNjU1ojJeTLsQE,885
88
- nshtrainer-0.17.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
89
- nshtrainer-0.17.0.dist-info/RECORD,,
87
+ nshtrainer-0.17.1.dist-info/METADATA,sha256=yFOvBuWFb0naLc6p82HVodctRPi1AAzWIb3wwa5Vq-I,885
88
+ nshtrainer-0.17.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
89
+ nshtrainer-0.17.1.dist-info/RECORD,,