Question on Memory Consumption
还没有人认领这个 Issue。
评估
调研方向
首先检查 issue 中描述的 brotli.Compressor API 和 memory-profiler 设置,然后将其与使用所述 float16 NumPy 输入的 brotli.compress 调用进行比较。完成的标准是确定是否支持 process,并记录如何测量所请求对象的内存使用量或复现该限制。
由索引模型根据 Issue 内容生成。
描述
Hello there! I want to determine the memory consumption when building a brotli.Compressor object utilizing the highest dictionary level (i.e. 11) and an empty dictionary (i.e. b"") for a float16 numpy array of 2k elements.
First things first, i'm approaching this via memory-profiler. An occuring problem is that, when i'm building the brotli.Compressor given the above attributes, i get an error that compressor obeject has no atribute process.
When i'm using compressed = brotli.compress(data,quality,mode,dict), the memory consumption seems to be significantly low.
Therefore:
- Do you know an approximation of the memory used building the above described object?
- How can i resolve the error compressor object has no attribute process?
- 主要语言
- Python
- 星标
- 155
- 派生
- 35
- 平均合并
- 8 天 9 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-hyper/brotlicffi 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
python-hyper/brotlicffi#217 ·
-
`Decompressor` uses inexistent dictionary API可能已有人在做 @rome-xi 于 60 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 42/100
python-hyper/brotlicffi#215 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
python-hyper/brotlicffi#209 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
python-hyper/brotlicffi#203 ·
-
难度 4/5 3-5 天 新手友好度 25/100
python-hyper/brotlicffi#201 · 4 条评论 ·
查看 python-hyper/brotlicffi 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
sergey-miryanov/gcmon#230 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
维护者通常 1 天内回复
-
[BUG] Failed archive extraction deletes the dataset cache可能已有人在做 @dajiaohuang 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
alibaba/GraphScope#4674 ·