You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Training dictionaries with the zstd binary used to work just fine for me when I used high dictionary sizes, but I now encounter an issue where, when running the following command:
We'll look into this for the next release, but for now, I suggest a workaround of selecting a slightly larger --maxdict, as you've already done.
If you truly need a smaller dictionary, you can take the prefix of a larger dictionary.
Ullaakut
changed the title
FASTCOVER parameters incorrect when training dictionary
FASTCOVER parameters incorrect when training dictionary with small size
Oct 7, 2021
Describe the bug
Training dictionaries with the
zstd
binary used to work just fine for me when I used high dictionary sizes, but I now encounter an issue where, when running the following command:zstd --train --maxdict 256 samples/updates/* -o ./dictionary/updates
I get the following output:
Along with an exit status at
1
. This seems to be due to the lowmaxdict
size, even though I set it explicitly at the minimum allowed value, 256.Using a
maxdict
size of 512 for example, seems to solve the issue, at least partly:There are still errors about the FASTCOVER parameters, but the dictionary is generated successfully this time.
To Reproduce
Steps to reproduce the behavior:
maxdict
parameter at256
.Expected behavior
A size 256 dictionary should be generated and saved, given enough samples.
Desktop (please complete the following information):
--train
,--maxdict 256
,-o <PATH>
.The text was updated successfully, but these errors were encountered: