Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognized arguments: --deployment #90

Open
relaxtheo opened this issue Oct 22, 2024 · 1 comment
Open

unrecognized arguments: --deployment #90

relaxtheo opened this issue Oct 22, 2024 · 1 comment
Assignees

Comments

@relaxtheo
Copy link

relaxtheo commented Oct 22, 2024

I am trying the vlm_ptq by following the readme in vlm_ptq folder, and when I call a command "scripts/huggingface_example.sh --type llava --model llava-1.5-7b-hf --quant fp8 --tp 8", following error message is reported:

hf_ptq.py: error: unrecognized arguments: --deployment=

I have tried hard coded DEPLOYMENT="tensorrt_llm" in huggingface_example.sh, and still have this error message as:
hf_ptq.py: error: unrecognized arguments: --deployment=tensorrt-llm

A bug in llm_ptq or a bug in huggingface_example.sh?

I am using modelopt0.17.0 by installing it with command "pip install "nvidia-modelopt[all]" --extra-index-url https://pypi.nvidia.com"

@cjluo-omniml
Copy link
Collaborator

Hi @relaxtheo could you try the latest release?

And we've deprecated the DEPLOYMENT flag instead using the export_fmt flag.

See: https://github.com/NVIDIA/TensorRT-Model-Optimizer/blob/main/vlm_ptq/scripts/huggingface_example.sh#L155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants