diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2024-02-12 09:38:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 10:38:44 +0200 |
commit | 4a46d2b7923be83d6019251671ee63aa1fa0d6bc (patch) | |
tree | e5b9b1a9f7bf3fef826674f9808d0936b00ebb95 /examples/quantize/quantize.cpp | |
parent | 3b169441dfe8e420f88d1592708cc2a871daadb9 (diff) |
llava : remove prog parameter from ArgumentParser (#5457)
* llava: remove prog parameter from ArgumentParser
This commit removes the `prog` parameter from `ArgumentParser`
so that it uses the default value which is the name of the script.
The motivation for this change is that currently the usage output looks
like this:
```console
$ python examples/llava/convert-image-encoder-to-gguf.py --help
usage: convert_hf_to_gguf.py [-h] ...
```
And with this change it will look like this:
```console
$ python examples/llava/convert-image-encoder-to-gguf.py --help
usage: convert-image-encoder-to-gguf.py [-h] ...
```
Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
* ci: add W503 to flake8 ignore list
This commit adds W503 to the ignore list for flake8. This is done to
avoid the following error:
W503 line break before binary operator
Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
---------
Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'examples/quantize/quantize.cpp')
0 files changed, 0 insertions, 0 deletions