Conversation
Signed-off-by: Nikita Sukharev <nikita.sukharev@gcore.com>
Signed-off-by: Nikita Sukharev <nikita.sukharev@gcore.com>
Kaonael
had a problem deploying
to
external_collaborator
July 26, 2026 17:25 — with
GitHub Actions
Failure
Signed-off-by: Nikita Sukharev <nikita.sukharev@gcore.com>
Kaonael
had a problem deploying
to
external_collaborator
July 26, 2026 18:03 — with
GitHub Actions
Failure
Signed-off-by: Nikita Sukharev <nikita.sukharev@gcore.com>
Kaonael
had a problem deploying
to
external_collaborator
July 26, 2026 18:28 — with
GitHub Actions
Failure
Signed-off-by: Nikita Sukharev <nikita.sukharev@gcore.com>
Kaonael
had a problem deploying
to
external_collaborator
July 26, 2026 18:34 — with
GitHub Actions
Failure
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
This PR has been closed due to inactivity. If you believe this PR is still relevant, please feel free to reopen it with additional context or information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds an experimental Gigatoken token-ID parity comparison alongside Dynamo’s existing tokenizer implementations.
This is a demo-only experiment, not a production integration or DEP. Gigatoken remains outside Dynamo’s production workspace and runtime dependency graph because its current PyO3 dependency conflicts with the version introduced
through AIConfigurator.
Details
Local batch benchmark
For a local batch performance sanity check, prompts were extracted from the public Glint-Research/Fable-5-traces dataset.
The corpus contained 1,000 separate user prompts:
tokenizer.jsonThe temporary benchmark preserved prompt boundaries: it did not concatenate prompts into a single document. Every backend received the same prompt sequence and batch boundaries (
1,8,32, and128).The parity comparison passed for all tokenizer × batch-size configurations.
Each backend uses the same docs and batch_size. HuggingFace and Fastokens use
their respective encode_batch APIs; Gigatoken uses encode_docs_ragged. The
resulting flattened token-ID vectors are compared for exact parity.
Benchmark environment
CPU: 2 × Intel(R) Xeon(R) Platinum 8480+
Memory: 2.0 TiB
OS: Linux 6.8.0-100-generic (x86_64)
Toolchain:
CPU affinity: each benchmark process ran through taskset -c 0-55, pinning it to the 56 physical cores of the first NUMA socket.
CPU isolation was not configured: other host processes could still run on these CPUs.
Backend-internal parallelism was left enabled.
Each backend × batch-size configuration ran in a separate process three times:
Throughput is the median of the three measured passes.
Peak RSS is the maximum observed resident-set size across the three processes.
A warm-up pass occurred before the measured pass and was excluded from throughput timing.
Peak RSS is process-level memory rather than library-only heap usage. It includes the tokenizer, input corpus, warm-up, tokenizer working buffers, and the output token-ID buffer.
The benchmark harness, downloaded dataset files, and build artifacts were temporary local artifacts and are not included in this PR.
Where should the reviewer start?
Related Issues
🚫 This PR is NOT linked to an issue: