mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
lru_cache for Python 3.8
This commit is contained in:
@@ -21,7 +21,7 @@ import operator as op
|
||||
import os
|
||||
import sys
|
||||
from collections import OrderedDict, defaultdict
|
||||
from functools import cache
|
||||
from functools import lru_cache as cache
|
||||
from itertools import chain
|
||||
from types import ModuleType
|
||||
from typing import Any, Tuple, Union
|
||||
|
||||
Reference in New Issue
Block a user