Skip to content

Dont store redundant packed params in dynamic quantized RNN#38134

Closed
jamesr66a wants to merge 2 commits intogh/jamesr66a/235/basefrom
gh/jamesr66a/235/head
Closed

Dont store redundant packed params in dynamic quantized RNN#38134
jamesr66a wants to merge 2 commits intogh/jamesr66a/235/basefrom
gh/jamesr66a/235/head

Conversation

@jamesr66a
Copy link
Copy Markdown
Collaborator

@jamesr66a jamesr66a commented May 8, 2020

Stack from ghstack:

Differential Revision: D21479289

@jamesr66a jamesr66a requested a review from apaszke as a code owner May 8, 2020 18:15
jamesr66a pushed a commit that referenced this pull request May 8, 2020
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@jamesr66a merged this pull request in 4157211.

@facebook-github-bot facebook-github-bot deleted the gh/jamesr66a/235/head branch May 12, 2020 14:16
malfet added a commit to malfet/pytorch that referenced this pull request May 14, 2020
Preserve module list in QRNNBase. This partially reverts pytorch#38134
facebook-github-bot pushed a commit that referenced this pull request May 14, 2020
Summary:
Return unmodified type from decorator if fbgemm is present.

Fix `Tried to trace <__torch__.torch.classes.rnn.CellParamsBase object at 0x55f504c56b40> but it is not part of the active trace. Modules that are called during a trace must be registered as submodules of the thing being traced` thrown from `TestPostTrainingDynamic.test_quantized_rnn`  by preserving modules in returned qRNNBase (i.e. by partially reverting #38134 )
Pull Request resolved: #38432

Differential Revision: D21567333

Pulled By: malfet

fbshipit-source-id: 364fa2c8fc6e400b4f2e425b922a977756aec1d8
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…38134)

Summary: Pull Request resolved: pytorch#38134

Test Plan: Imported from OSS

Reviewed By: ailzhang

Differential Revision: D21479289

Pulled By: jamesr66a

fbshipit-source-id: 11d9ad034396ce75c5a93d1f7ebca587205089ee
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Return unmodified type from decorator if fbgemm is present.

Fix `Tried to trace <__torch__.torch.classes.rnn.CellParamsBase object at 0x55f504c56b40> but it is not part of the active trace. Modules that are called during a trace must be registered as submodules of the thing being traced` thrown from `TestPostTrainingDynamic.test_quantized_rnn`  by preserving modules in returned qRNNBase (i.e. by partially reverting pytorch#38134 )
Pull Request resolved: pytorch#38432

Differential Revision: D21567333

Pulled By: malfet

fbshipit-source-id: 364fa2c8fc6e400b4f2e425b922a977756aec1d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants