Download model files again after cache eviction
This commit is contained in:
parent
f629b16cd2
commit
63b41faad6
1 changed files with 31 additions and 4 deletions
|
|
@ -4,7 +4,6 @@ import shutil
|
|||
import sys
|
||||
import tempfile
|
||||
from abc import ABC, abstractmethod
|
||||
from functools import lru_cache
|
||||
from pathlib import Path
|
||||
from types import TracebackType
|
||||
from typing import IO, Any, List, Literal, Optional, Type, Union, cast
|
||||
|
|
@ -163,7 +162,6 @@ class LargeFileBase(ABC):
|
|||
|
||||
return cast(int, self._version)
|
||||
|
||||
@lru_cache(1)
|
||||
def get(self, hide_progress: bool = False) -> Path:
|
||||
"""Return path to the proxy of a file (or directory).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue