(self, tokens)
| 77 | return tokens |
| 78 | |
| 79 | def decode(self, tokens): |
| 80 | # Filter out special tokens before decoding |
| 81 | byte_tokens = [t for t in tokens if t < 256] |
| 82 | return bytes(byte_tokens).decode("utf-8", errors="replace") |
| 83 | |
| 84 | def test_kv_cache_basic(): |
| 85 | """Test basic KVCache functionality for FA3.""" |
no outgoing calls
no test coverage detected