sciveo 0.0.36__tar.gz → 0.0.38__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.
Files changed (37) hide show
  1. {sciveo-0.0.36 → sciveo-0.0.38}/PKG-INFO +1 -1
  2. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/monitoring/monitor.py +6 -4
  3. sciveo-0.0.38/sciveo/version.py +2 -0
  4. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo.egg-info/PKG-INFO +1 -1
  5. sciveo-0.0.36/sciveo/version.py +0 -2
  6. {sciveo-0.0.36 → sciveo-0.0.38}/README.md +0 -0
  7. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/__init__.py +0 -0
  8. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/api/__init__.py +0 -0
  9. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/api/base.py +0 -0
  10. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/api/upload.py +0 -0
  11. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/__init__.py +0 -0
  12. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/configuration.py +0 -0
  13. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/model.py +0 -0
  14. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/optimizers.py +0 -0
  15. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/sampling.py +0 -0
  16. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/__init__.py +0 -0
  17. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/daemon.py +0 -0
  18. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/formating.py +0 -0
  19. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/hardware.py +0 -0
  20. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/logger.py +0 -0
  21. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/common/tools/synchronized.py +0 -0
  22. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/content/__init__.py +0 -0
  23. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/content/dataset.py +0 -0
  24. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/content/experiment.py +0 -0
  25. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/content/project.py +0 -0
  26. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/content/runner.py +0 -0
  27. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo/monitoring/__init__.py +0 -0
  28. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo.egg-info/SOURCES.txt +0 -0
  29. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo.egg-info/dependency_links.txt +0 -0
  30. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo.egg-info/requires.txt +0 -0
  31. {sciveo-0.0.36 → sciveo-0.0.38}/sciveo.egg-info/top_level.txt +0 -0
  32. {sciveo-0.0.36 → sciveo-0.0.38}/setup.cfg +0 -0
  33. {sciveo-0.0.36 → sciveo-0.0.38}/setup.py +0 -0
  34. {sciveo-0.0.36 → sciveo-0.0.38}/test/test_configuration.py +0 -0
  35. {sciveo-0.0.36 → sciveo-0.0.38}/test/test_monitoring.py +0 -0
  36. {sciveo-0.0.36 → sciveo-0.0.38}/test/test_runner.py +0 -0
  37. {sciveo-0.0.36 → sciveo-0.0.38}/test/test_sampling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sciveo
3
- Version: 0.0.36
3
+ Version: 0.0.38
4
4
  Description-Content-Type: text/markdown
5
5
  Provides-Extra: mon
6
6
 
@@ -158,15 +158,17 @@ class BaseMonitor(DaemonBase):
158
158
  try:
159
159
  value = float(value)
160
160
  except ValueError:
161
- value = 0.0
161
+ pass
162
162
  if gpu_keys[j] in self.data["config"]:
163
- self.data["sample"][gpu_keys[j]] = value
163
+ self.data["sample"].setdefault(gpu_keys[j], [])
164
+ self.data["sample"][gpu_keys[j]].append(value)
164
165
  else:
165
- self.data["GPU"][keys[j]] = value
166
+ self.data["GPU"].setdefault(keys[j], [])
167
+ self.data["GPU"][keys[j]].append(value)
166
168
 
167
169
  if "memory.total" in self.data["GPU"]:
168
170
  for k in ["GPU memory.used", "GPU memory.free"]:
169
- self.data["config"][k]["ylim"] = [0, self.data["GPU"]["memory.total"] * self.data["config"][k]["ratio"]]
171
+ self.data["config"][k]["ylim"] = [0, max(self.data["GPU"]["memory.total"]) * self.data["config"][k]["ratio"]]
170
172
 
171
173
  except Exception as e:
172
174
  pass
@@ -0,0 +1,2 @@
1
+
2
+ __version__ = '0.0.38'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sciveo
3
- Version: 0.0.36
3
+ Version: 0.0.38
4
4
  Description-Content-Type: text/markdown
5
5
  Provides-Extra: mon
6
6
 
@@ -1,2 +0,0 @@
1
-
2
- __version__ = '0.0.36'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes