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
To specify the batch_size and sequence_length, I use the following "optimum-cli export onnx --model /home/wangzhiqun/TinyLlama-1.1B-Chat-v1.0 --task text-generation --batch_size 1 --sequence_length 128 tinyllama_onnx_file". But the exported onnx model still holds the shape [batch_size, sequence_length]. How can I specify the fixed dimensions?
The text was updated successfully, but these errors were encountered:
System Info
main branch newest local pip install
Who can help?
@michaelbenayoun
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
optimum-cli export onnx --model /home/wangzhiqun/TinyLlama-1.1B-Chat-v1.0 --task text-generation --batch_size 1 --sequence_length 128 tinyllama_onnx_file
Expected behavior
To specify the batch_size and sequence_length, I use the following "optimum-cli export onnx --model /home/wangzhiqun/TinyLlama-1.1B-Chat-v1.0 --task text-generation --batch_size 1 --sequence_length 128 tinyllama_onnx_file". But the exported onnx model still holds the shape [batch_size, sequence_length]. How can I specify the fixed dimensions?
The text was updated successfully, but these errors were encountered: