You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unify CPU and GPU tree transformer code paths #578
The GPU path already passes the flat data vectors to add_transform_kernel! and keeps all the subblock structure (strides/offsets) inside the device transformer. The CPU path instead builds StridedSubblocks for both tensors and passes those in alongside the transformer. Doing the same on the CPU, i.e. passing the flat data vector and keeping the subblock information in the transformer, would make the two code paths more uniform and easier to follow.
This changes the CPU kernel signatures, so it should be benchmarked against the current implementation.
Activity