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

Fix different devices error #1814

Open
wants to merge 1 commit into
base: release/8.6
Choose a base branch
from
Open

Conversation

rotorliu
Copy link

Keep tensors on same device

Keep tensors on same device
@rotorliu rotorliu changed the title Update tensor_quantizer.py Fix different devices error Feb 23, 2022
@rajeevsrao rajeevsrao added this to the TensorRT-Next milestone Mar 16, 2023
@rajeevsrao rajeevsrao changed the base branch from main to release/8.6 March 16, 2023 05:28
@ttyio
Copy link
Collaborator

ttyio commented Mar 17, 2023

@rotorliu , could you elborate more on the fail case that this PR fix? thank you!

@rotorliu
Copy link
Author

@rotorliu , could you elborate more on the fail case that this PR fix? thank you!

When running on GPU, the amax is on different device from the inputs.

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

Successfully merging this pull request may close these issues.

3 participants