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

Whether the inference speed can be optimized #50

Open
NickJony opened this issue Mar 8, 2024 · 1 comment
Open

Whether the inference speed can be optimized #50

NickJony opened this issue Mar 8, 2024 · 1 comment

Comments

@NickJony
Copy link

NickJony commented Mar 8, 2024

Great job! I do inference on 3090, it takes about 0.7 seconds to calculate the time of two images, and what other operations can be used for inference acceleration, in addition to reducing the image resolution.

@Parskatt
Copy link
Owner

Parskatt commented Mar 8, 2024

You can try fp16, see my code in roma for some examples.

I haven't gotten torch.compile to work, but it could improve things.

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