Skip to content

Commit 8aedeec

Browse files
authored
Remove token retrieval test from main. (#1243)
1 parent 06005f3 commit 8aedeec

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

slime/router/middleware_hub/radix_tree.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -621,11 +621,6 @@ def retrieve_from_text(self, text: str, return_logprob: bool = True):
621621
# Create trie instance for testing
622622
trie = StringRadixTrie(max_cache_size=100, verbose=True)
623623

624-
# Test token retrieval
625-
print("\nTesting token retrieval:")
626-
test_tokens = trie.retrieve_from_text("Hello world")
627-
print(f"Tokens for 'Hello world': {test_tokens}")
628-
629624
# Example usage with simplified insert
630625
test_cases = [
631626
("Hello world", [1, 2, 3], [-0.1, -0.2, -0.3]),

0 commit comments

Comments
 (0)