You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
imaginAIry/imaginairy
Bryce 9212f0227c fix: bypass hf cache retrieval bug
If one uses `hf_hub_download` only referencing specific commits the `refs` folder will not be created even though data will be cached via `snapshots` and `blobs`.  Subsequent calls to `try_to_load_from_cache` will return None even though the desired data was in the cache.

Example:

```python
# download something
hf_hub_download(repo_id=repo, revision=commit_hash, filename=filepath, token=token)
# returns None
try_to_load_from_cache(repo_id=repo, revision=commit_hash, filename=filepath)
```

https://github.com/huggingface/huggingface_hub/pull/1306
2 years ago
..
configs
data feature: image edit gifs and demo-reels 2 years ago
enhancers fix: use py3.7 compat lru_cache 2 years ago
modules fix: MacOS MPS background can't handle large slices 2 years ago
samplers
training_tools
vendored fix: use py3.7 compat lru_cache 2 years ago
__init__.py
api.py feature: image edit gifs and demo-reels 2 years ago
cmds.py fix: spelling typo 2 years ago
config.py
img_utils.py feature: image edit gifs and demo-reels 2 years ago
log_utils.py
lr_scheduler.py
model_manager.py fix: bypass hf cache retrieval bug 2 years ago
outpaint.py
paths.py
roi_utils.py
safety.py fix: use py3.7 compat lru_cache 2 years ago
schema.py
surprise_me.py fix: spelling typo 2 years ago
train.py
utils.py fix: use py3.7 compat lru_cache 2 years ago
version.py