Skip to content

Commit d4c706a

Browse files
author
Curt Tigges
committed
added more logging for activation generation
1 parent 025d3cb commit d4c706a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clt/activation_generation/generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,8 @@ def write_layer_data(layer_id_arg: int, inputs_data: np.ndarray, targets_data: n
900900
# Provide a default MANIFEST_DTYPE if not defined
901901
manifest_dtype = np.dtype([("chunk_id", np.int32), ("num_tokens", np.int32), ("offset", np.int64)])
902902

903+
# <<< ADDED DIAGNOSTIC LOGGING >>>
904+
logger.info(f"Manifest entry for chunk {chunk_idx}: num_tokens = {rows}, offset = {offset}")
903905
current_manifest_entry = np.array([(chunk_idx, rows, offset)], dtype=manifest_dtype)
904906
manifest_rows.append(current_manifest_entry)
905907

0 commit comments

Comments
 (0)