MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / lru_cache

Function lru_cache

codegeex/megatron/tokenizer/gpt2_tokenization.py:33–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 # because honestly I don't want to support a byte-level unicode BPE
32 # tokenizer on python 2 right now.
33 def lru_cache():
34 return lambda func: func
35
36
37logger = logging.getLogger(__name__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected