Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

fix potential bug in quantize device #3212

Merged
merged 1 commit into from
Dec 23, 2020
Merged

Conversation

eedalong
Copy link
Contributor

@eedalong eedalong commented Dec 20, 2020

#3213. In my previous implementation of tensor device assignment, there's potential bug when device is not a cpu nor a GPU, such as XLA:CPU or XLA:GPU. so I fix the code to migrate tensor to input tensors' deivce. Sorry for that QAT.
this pr is a complement to #3211

@eedalong
Copy link
Contributor Author

CI failed,although i dont know why for now. I'il fix this late today

@liuzhe-lz liuzhe-lz changed the base branch from master to v2.0 December 21, 2020 05:29
@QuanluZhang QuanluZhang reopened this Dec 21, 2020
@QuanluZhang QuanluZhang requested review from J-shang and removed request for liuzhe-lz December 23, 2020 03:31
@QuanluZhang QuanluZhang merged commit 9520f25 into microsoft:v2.0 Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants