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

How to modify the dtype of inputs? #795

Open
trajepl opened this issue Aug 14, 2024 · 0 comments
Open

How to modify the dtype of inputs? #795

trajepl opened this issue Aug 14, 2024 · 0 comments
Assignees

Comments

@trajepl
Copy link

trajepl commented Aug 14, 2024

Take this tutorial example, after the optimization in cuda, the output onnx model's input requires float16.
But the processor = model.create_multimodal_processor() processed the image and conducted float32 tensors.

https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi-3-vision.md

image

@baijumeswani baijumeswani self-assigned this Aug 14, 2024
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