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