Skip to content

Conversation

@z-a-f
Copy link

@z-a-f z-a-f commented Apr 16, 2019

Stack:
    :black_circle:  #19312 Use the QTensor with QReLU  💚

Replaces the tuple hack with the QTensor. Please, note this can be landed ONLY after #18960 (D14810261) is landed.

Differential Revision: D14819460

Differential Revision: D14524641
Differential Version: 76207283
Differential Revision: D14524641
Differential Version: 76232282
Differential Revision: D14524641
Differential Version: 76268727
Differential Revision: D14524641
Differential Version: 76274055
Differential Revision: D14524641
Differential Version: 76276578
Differential Revision: D14524641
Differential Version: 76396588
Differential Revision: D14524641
Differential Version: 76418300
Differential Revision: D14524641
Differential Version: 76514776
Differential Revision: D14524641
Differential Version: 76527628
Differential Revision: D14524641
Differential Version: 76744384
Differential Revision: D14524641
Differential Version: 76820575
Differential Revision: D14524641
Differential Version: 76821832
Differential Revision: D14524641
Differential Version: 76975950
Differential Revision: D14524641
Differential Version: 77002611
Differential Revision: D14524641
Differential Version: 77091472
Differential Revision: D14524641
Differential Version: 77132423
Differential Revision: D14637671
Differential Version: 77002632
Differential Revision: D14637671
Differential Version: 77133031
Differential Revision: D14524641
Differential Version: 77381115
Differential Revision: D14524641
Differential Version: 77410360
Differential Revision: D14524641
Differential Version: 77413271
Differential Revision: D14637671
Differential Version: 77414604
Differential Revision: D14637671
Differential Version: 77417949
Differential Revision: D14524641
Differential Version: 77418932
Differential Revision: D14637671
Differential Version: 77418837
Differential Revision: D14524641
Differential Version: 77423162
Differential Revision: D14524641
Differential Version: 77428769
Differential Revision: D14524641
Differential Version: 77682011
Differential Revision: D14524641
Differential Version: 77702132
Differential Revision: D14524641
Differential Version: 77786239
zaf added 3 commits April 16, 2019 11:03
Differential Revision: D14756833
Differential Version: 79638291
Differential Revision: D14810261
Differential Version: 79639689
Differential Revision: D14819460
Differential Version: 79244000
@z-a-f z-a-f mentioned this pull request Apr 16, 2019
facebook-github-bot pushed a commit that referenced this pull request Apr 17, 2019
Summary:
Stack:
    :black_circle:  **#19296 [pt1][quant] Add slicing and int_repr() to QTensor**  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14756833/)
    :white_circle:  #18960 [pt1][quant] Add empty_quantized  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14810261/)
    :white_circle:  #19312 Use the QTensor with QReLU  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14819460/)
    :white_circle:  #19319 [RFC] Quantized SumRelu  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14866442/)

Methods added to pytorch python frontend:
- int_repr() returns a CPUByte Tensor which copies the data of QTensor.
- Added as_strided for QTensorImpl which provides support for slicing a QTensor(see test_torch.py)
Pull Request resolved: #19296

Differential Revision: D14756833

Pulled By: jerryzh168

fbshipit-source-id: 6f4c92393330e725c4351d6ff5f5fe9ac7c768bf
@z-a-f z-a-f changed the base branch from export-D14810261 to master April 18, 2019 17:39
zaf and others added 7 commits April 18, 2019 13:47
Differential Revision: D14819460
Differential Version: 79995274
Differential Revision: D14819460
Differential Version: 79998565
Differential Revision: D14819460
Differential Version: 80409930
Differential Revision: D14819460
Differential Version: 80493108
Differential Revision: D14819460
Differential Version: 80549017
Differential Revision: D14819460
Differential Version: 80692789
Differential Revision: D14819460
Differential Version: 80692842
@z-a-f
Copy link
Author

z-a-f commented Apr 25, 2019

The tests will continue failing until #19714 is landed (D15077095)

Differential Revision: D14819460
Differential Version: 80694620
@z-a-f z-a-f changed the base branch from master to export-D15077095 April 25, 2019 03:27
Differential Revision: D14819460
Differential Version: 80696525
zdevito pushed a commit to zdevito/ATen that referenced this pull request Apr 26, 2019
Summary:
Pull Request resolved: pytorch/pytorch#19312

Replaces the tuple hack with the QTensor. Please, note this can be landed ONLY after #18960 (D14810261) is landed.

Reviewed By: raghuramank100

Differential Revision: D14819460

fbshipit-source-id: 75ca649304b1619cb3cfe845962c9f226b8f884a
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7630766.

zhangguanheng66 pushed a commit to zhangguanheng66/pytorch that referenced this pull request May 6, 2019
Summary:
Stack:
    :black_circle:  **pytorch#19296 [pt1][quant] Add slicing and int_repr() to QTensor**  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14756833/)
    :white_circle:  pytorch#18960 [pt1][quant] Add empty_quantized  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14810261/)
    :white_circle:  pytorch#19312 Use the QTensor with QReLU  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14819460/)
    :white_circle:  pytorch#19319 [RFC] Quantized SumRelu  [:yellow_heart:](https://our.intern.facebook.com/intern/diff/D14866442/)

Methods added to pytorch python frontend:
- int_repr() returns a CPUByte Tensor which copies the data of QTensor.
- Added as_strided for QTensorImpl which provides support for slicing a QTensor(see test_torch.py)
Pull Request resolved: pytorch#19296

Differential Revision: D14756833

Pulled By: jerryzh168

fbshipit-source-id: 6f4c92393330e725c4351d6ff5f5fe9ac7c768bf
zhangguanheng66 pushed a commit to zhangguanheng66/pytorch that referenced this pull request May 6, 2019
Summary:
Pull Request resolved: pytorch#19312

Replaces the tuple hack with the QTensor. Please, note this can be landed ONLY after pytorch#18960 (D14810261) is landed.

Reviewed By: raghuramank100

Differential Revision: D14819460

fbshipit-source-id: 75ca649304b1619cb3cfe845962c9f226b8f884a
@ezyang ezyang deleted the export-D14819460 branch May 30, 2019 15:55
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

Successfully merging this pull request may close these issues.

5 participants