"vscode:/vscode.git/clone" did not exist on "331065e62d11d5c26642cb92a597904eee4c159b"
Commit ab7f5d29 authored by thomwolf's avatar thomwolf
Browse files

simple

parent b450a7fa
......@@ -27,10 +27,8 @@ try:
except ImportError:
# Just a dummy decorator to get the checks to run on python2
# because honestly I don't want to support a byte-level unicode BPE tokenizer on python 2 right now.
def lru_cache(func):
def func_wrapper(*inputs, **args):
return func(inputs, args)
return func_wrapper
def lru_cache():
return lambda func: func
from .file_utils import cached_path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment