experimaestro 1.10.0__py3-none-any.whl → 1.11.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.

Potentially problematic release.


This version of experimaestro might be problematic. Click here for more details.

Files changed (32) hide show
  1. experimaestro/launcherfinder/specs.py +8 -1
  2. experimaestro/run.py +2 -0
  3. experimaestro/server/data/0c35d18bf06992036b69.woff2 +0 -0
  4. experimaestro/server/data/1815e00441357e01619e.ttf +0 -0
  5. experimaestro/server/data/219aa9140e099e6c72ed.woff2 +0 -0
  6. experimaestro/server/data/2463b90d9a316e4e5294.woff2 +0 -0
  7. experimaestro/server/data/2582b0e4bcf85eceead0.ttf +0 -0
  8. experimaestro/server/data/3a4004a46a653d4b2166.woff +0 -0
  9. experimaestro/server/data/3baa5b8f3469222b822d.woff +0 -0
  10. experimaestro/server/data/4d73cb90e394b34b7670.woff +0 -0
  11. experimaestro/server/data/4ef4218c522f1eb6b5b1.woff2 +0 -0
  12. experimaestro/server/data/5d681e2edae8c60630db.woff +0 -0
  13. experimaestro/server/data/6f420cf17cc0d7676fad.woff2 +0 -0
  14. experimaestro/server/data/89999bdf5d835c012025.woff2 +0 -0
  15. experimaestro/server/data/914997e1bdfc990d0897.ttf +0 -0
  16. experimaestro/server/data/c210719e60948b211a12.woff2 +0 -0
  17. experimaestro/server/data/c380809fd3677d7d6903.woff2 +0 -0
  18. experimaestro/server/data/f882956fd323fd322f31.woff +0 -0
  19. experimaestro/server/data/favicon.ico +0 -0
  20. experimaestro/server/data/index.css +22963 -0
  21. experimaestro/server/data/index.css.map +1 -0
  22. experimaestro/server/data/index.html +27 -0
  23. experimaestro/server/data/index.js +101770 -0
  24. experimaestro/server/data/index.js.map +1 -0
  25. experimaestro/server/data/login.html +22 -0
  26. experimaestro/server/data/manifest.json +15 -0
  27. experimaestro/utils/multiprocessing.py +44 -0
  28. {experimaestro-1.10.0.dist-info → experimaestro-1.11.1.dist-info}/METADATA +1 -1
  29. {experimaestro-1.10.0.dist-info → experimaestro-1.11.1.dist-info}/RECORD +32 -7
  30. {experimaestro-1.10.0.dist-info → experimaestro-1.11.1.dist-info}/LICENSE +0 -0
  31. {experimaestro-1.10.0.dist-info → experimaestro-1.11.1.dist-info}/WHEEL +0 -0
  32. {experimaestro-1.10.0.dist-info → experimaestro-1.11.1.dist-info}/entry_points.txt +0 -0
@@ -29,7 +29,7 @@ class CudaSpecification:
29
29
  def __repr__(self):
30
30
  return (
31
31
  f"CUDA({self.model} "
32
- f"max={format_size(self.memory)}/min={format_size(self.min_memory)})"
32
+ f"max={format_size(self.memory, binary=True)}/min={format_size(self.min_memory, binary=True)})"
33
33
  )
34
34
 
35
35
 
@@ -47,6 +47,13 @@ class CPUSpecification:
47
47
  cpu_per_gpu: int = 0
48
48
  """Number of CPU per GPU (0 if not defined)"""
49
49
 
50
+ def __repr__(self):
51
+ return (
52
+ f"CPU("
53
+ f"mem={format_size(self.memory, binary=True)}, cores={self.cores}"
54
+ ")"
55
+ )
56
+
50
57
  def match(self, other: "CPUSpecification"):
51
58
  return (self.memory >= other.memory) and (self.cores >= other.cores)
52
59
 
experimaestro/run.py CHANGED
@@ -8,6 +8,7 @@ import json
8
8
  from typing import List
9
9
  import fasteners
10
10
  from experimaestro.notifications import progress, report_eoj
11
+ from experimaestro.utils.multiprocessing import delayed_shutdown
11
12
  from .core.types import ObjectType
12
13
  from experimaestro.utils import logger
13
14
  from experimaestro.core.objects import ConfigInformation
@@ -96,6 +97,7 @@ class TaskRunner:
96
97
  self.failedpath.write_text(str(code))
97
98
  self.cleanup()
98
99
  logger.info("Exiting")
100
+ delayed_shutdown(60, exit_code=code)
99
101
  sys.exit(1)
100
102
 
101
103
  def run(self):
Binary file