move tokenizers to separate package
by mxyng
·
Feb 06, 2026 at 19:33 UTC
·
scan-159b6c21d71fe21d
Get this automatically on every PR
Install the Axiomo GitHub App to get Signals as check runs and PR comments on every pull request.
Risk level: Critical (100%)
Move tokenizers to a separate package and remove unused directories.
Imports of 'tokenizer' added in multiple files.
model/bytepairencoding.go deleted; reduced build complexity.
Trusted contributor with 582 merged PRs. has 373 followers. unfamiliar with 9 files being modified.
Review 23 high-priority file(s)
model/bytepairencoding.go
+272
272 lines changed; Source code
x/kvcache/causal.go
+144
144 lines changed; Source code
x/kvcache/encoder.go
+156
156 lines changed; Source code
x/kvcache/wrapper.go
+110
110 lines changed; Source code
x/ml/backend.go
+433
433 lines changed; Source code
x/ml/backend/mlx/mlx.go
+1278
1278 lines changed; Source code
x/ml/backend/mlx/mlx_test.go
+314
314 lines changed; Source code
x/ml/backend/mlx/quant.go
+335
335 lines changed; Source code
x/ml/device.go
+643
643 lines changed; Source code
x/ml/nn/attention.go
+103
103 lines changed; Source code
+69 more files
240
minutes to review
extensive
effort level
none
staleness risk
Schedule dedicated review time; consider pair review
Critical risk level requires changes before approval
Consider breaking into smaller PRs
Why is ci_passing missing? Consider adding this check.
Why is lint_passing missing? Consider adding this check.