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.
- {sciveo-0.0.37 → sciveo-0.0.40}/PKG-INFO +1 -1
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/monitoring/monitor.py +9 -3
- sciveo-0.0.40/sciveo/version.py +2 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo.egg-info/PKG-INFO +1 -1
- sciveo-0.0.37/sciveo/version.py +0 -2
- {sciveo-0.0.37 → sciveo-0.0.40}/README.md +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/api/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/api/base.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/api/upload.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/configuration.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/model.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/optimizers.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/sampling.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/daemon.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/formating.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/hardware.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/logger.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/common/tools/synchronized.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/content/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/content/dataset.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/content/experiment.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/content/project.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/content/runner.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo/monitoring/__init__.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo.egg-info/SOURCES.txt +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo.egg-info/dependency_links.txt +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo.egg-info/requires.txt +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/sciveo.egg-info/top_level.txt +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/setup.cfg +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/setup.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/test/test_configuration.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/test/test_monitoring.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/test/test_runner.py +0 -0
- {sciveo-0.0.37 → sciveo-0.0.40}/test/test_sampling.py +0 -0
|
@@ -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]]
|
|
169
|
+
self.data["sample"][gpu_keys[j]].append(value)
|
|
164
170
|
else:
|
|
165
|
-
self.data["GPU"][keys[j]]
|
|
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
|
sciveo-0.0.37/sciveo/version.py
DELETED
|
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
|
|
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
|
|
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
|