-
# LRUCache 的实现
## 缘起
 刷 leetcode 的时候碰到的这道题。LRUCache 在现实中也经常用到:
- 内存换页,需要淘汰掉不常用的 page。
- 缓存函数的结果,比如 Python 就自带的 `lru_cache` 的实现。
- redis 在设置了 maxmemory 时,在内存占用达到最大值时会通过 LRU 淘汰掉对应的 key…
-
Trying to deploy Redisearch from branch 1.4 (1.6 and master branch "make" fails) to Redis 5.0.5 (Same with Redis 4.0.14) on FreeBSD 12.1-RELEASE-p1 as found here: https://oss.redislabs.com/redisearch/…
-
I think it would be nice to have ranges of keys, which are stored as members of a set. One should be able to define a range of any given name, and optionally add keys for any wrapped function to this …
-
Would it be useful for someone else to have a way to replace the default data store mechanism in an inventory?
I want to be able to use Pydantic Models and not a dictionary for the `Host.data`, `Gr…
-
### What happened?
I set up litellm-proxy as a caching proxy
No matter what I do I can't get any metadata logged into Langfuse.
I use docker compose from the latest base image
``` docker-compose.y…
-
Subscribe to this issue and stay notified about new [daily trending repos in c](https://github.com/trending/c?since=daily).
-
I have some jobs that are getting added to the failed registry - but what gets put on the failed registry is `None`. I can't get anymore information on the job or why it's being put on the registry be…
-
I am trying to use DeepSpeed Inference with Diffusers on T4 GPU but it seems there is a triton error.
Reported the bug on DeepSpeed for better tracking: https://github.com/microsoft/DeepSpeed/issue…
-
### Question Validation
- [X] I have searched both the documentation and discord for an answer.
### Question
Following the example from the [documentation](https://docs.llamaindex.ai/en/stable/exam…
-
Hi,
For aggregations with timeBucket < 1day in milliseconds, respective agg output is correct, but when timeBucket is > 1 day, like 7 day in milliseconds, aggregation output suggests timeBucket ha…