Skip to content

Commit bbe7f3d

Browse files
remove prints
1 parent bfb729e commit bbe7f3d

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

src/main/python/systemds/scuro/drsearch/node_executor.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -497,14 +497,14 @@ def _checkpoint_memory_usage(
497497
print(
498498
f"UNDERESTIMATED GPU PEAK MEMORY: GPU peak bytes: {gpu_peak_bytes/1024**3:.2f} GB, Estimated GPU bytes: {self.scheduler.node_resources[node_id][1]/1024**3:.2f} GB for node {node_id}: {operation_name}"
499499
)
500-
if self.scheduler.node_resources[node_id][0] >= peak_bytes * 2:
501-
print(
502-
f"Peak bytes: {peak_bytes/1024**3:.2f} GB, Estimated CPU bytes: {self.scheduler.node_resources[node_id][0]/1024**3:.2f} GB, 200% of estimated for node {node_id}: {operation_name}"
503-
)
504-
if self.scheduler.node_resources[node_id][1] > gpu_peak_bytes * 2:
505-
print(
506-
f"GPU peak bytes: {gpu_peak_bytes/1024**3:.2f} GB, Estimated GPU bytes: {self.scheduler.node_resources[node_id][1]/1024**3:.2f} GB, 200% of estimated for node {node_id}: {operation_name}"
507-
)
500+
if self.scheduler.node_resources[node_id][0] >= peak_bytes * 2:
501+
print(
502+
f"Peak bytes: {peak_bytes/1024**3:.2f} GB, Estimated CPU bytes: {self.scheduler.node_resources[node_id][0]/1024**3:.2f} GB, 200% of estimated for node {node_id}: {operation_name}"
503+
)
504+
if self.scheduler.node_resources[node_id][1] > gpu_peak_bytes * 2:
505+
print(
506+
f"GPU peak bytes: {gpu_peak_bytes/1024**3:.2f} GB, Estimated GPU bytes: {self.scheduler.node_resources[node_id][1]/1024**3:.2f} GB, 200% of estimated for node {node_id}: {operation_name}"
507+
)
508508
data[node_id] = {
509509
"cpu_peak_bytes": peak_bytes,
510510
"gpu_peak_bytes": gpu_peak_bytes,

src/main/python/systemds/scuro/representations/aggregated_representation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def transform(self, modality):
9494
)
9595

9696
aggregate_dim = (0,)
97-
print("Aggregated representation transform start")
9897
if self.target_dimensions is not None:
9998
input_dimensions = self._get_input_dimensions(modality.data)
10099

0 commit comments

Comments
 (0)