Question on Memory Consumption
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Beginne damit, die in der Issue beschriebene brotli.Compressor-API und das Setup von memory-profiler zu prüfen, und vergleiche sie dann mit dem Aufruf brotli.compress unter Verwendung des angegebenen float16-NumPy-Inputs. Als erledigt gilt die Feststellung, ob process unterstützt wird, sowie die Dokumentation, wie sich der Speicherverbrauch des angeforderten Objekts messen oder die Einschränkung reproduzieren lässt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- Python
- Sterne
- 154
- Forks
- 34
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 3
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus python-hyper/brotlicffi
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
python-hyper/brotlicffi#217 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
python-hyper/brotlicffi#215 · 1 Kommentar · 1 Reaktion ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
python-hyper/brotlicffi#209 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
python-hyper/brotlicffi#203 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
python-hyper/brotlicffi#201 · 4 Kommentare ·
Alle Issues in python-hyper/brotlicffi
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
bancolombia/sentinel#23 ·
-
test md OffenCI
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100