Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
balancap committed Oct 2, 2023
1 parent 49a2e49 commit a5f9004
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions tessellate_ipu/core/tile_interpreter_vertex_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def make_ipu_vector1d_worker_offsets(
Returns:
(6,) number of data vectors per thread.
"""
print("SIZE:", size)

def make_offsets_fn(sizes):
sizes = [0] + sizes
offsets = np.cumsum(np.array(sizes, wdtype), dtype=wdtype)
Expand Down
12 changes: 6 additions & 6 deletions tessellate_ipu/linalg/tile_linalg_jacobi.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ def ipu_jacobi_eigh_iteration(all_AV_cols: Tuple[Array, ...], Atiles: Any, Vtile
halfN=halfN,
)
# Jacobi eigenvectors update step.
# Vpcols, Vqcols = tile_map( # type:ignore
# jacobi_update_eigenvectors_p,
# cs_Vtiles,
# Vpcols,
# Vqcols,
# )
Vpcols, Vqcols = tile_map( # type:ignore
jacobi_update_eigenvectors_p,
cs_Vtiles,
Vpcols,
Vqcols,
)

# Barrier, to make we sync. both set of tiles A and V
Apcols, Aqcols, Vpcols, Vqcols = tile_data_barrier(Apcols, Aqcols, Vpcols, Vqcols)
Expand Down

0 comments on commit a5f9004

Please sign in to comment.