Skip to content

[ONNX] Fix param names#50764

Merged
BowenBao merged 4 commits intopytorch:onnx_ms_1from
neginraoof:neraoof/fix_param_names
Jan 22, 2021
Merged

[ONNX] Fix param names#50764
BowenBao merged 4 commits intopytorch:onnx_ms_1from
neginraoof:neraoof/fix_param_names

Conversation

@neginraoof
Copy link
Copy Markdown
Contributor

@neginraoof neginraoof commented Jan 19, 2021

Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

@facebook-github-bot facebook-github-bot added cla signed oncall: jit Add this issue/PR to JIT oncall triage queue labels Jan 19, 2021
@BowenBao BowenBao merged commit 891c0e7 into pytorch:onnx_ms_1 Jan 22, 2021
BowenBao added a commit that referenced this pull request Jan 22, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Jan 22, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

ghstack-source-id: 8f2ede4
Pull Request resolved: #50955
BowenBao added a commit that referenced this pull request Jan 22, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

Differential Revision: [D26023932](https://our.internmc.facebook.com/intern/diff/D26023932)

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Jan 25, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Jan 25, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

Differential Revision: [D26050880](https://our.internmc.facebook.com/intern/diff/D26050880)

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Jan 25, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

ghstack-source-id: 67e45bc
Pull Request resolved: #50955
BowenBao added a commit that referenced this pull request Jan 26, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

ghstack-source-id: a3c7d91
Pull Request resolved: #50955
BowenBao added a commit that referenced this pull request Jan 26, 2021
Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

Differential Revision: [D26050880](https://our.internmc.facebook.com/intern/diff/D26050880)

[ghstack-poisoned]
facebook-github-bot pushed a commit that referenced this pull request Jan 28, 2021
Summary:
Pull Request resolved: #50955

Preserve name of parameters for ONNX.

Looks like output->copyMetadata(input) API is giving the same debugName to the output. So the name of the original input is changed. This update avoid the name change by just copying the type.

Test Plan: Imported from OSS

Reviewed By: pbelevich

Differential Revision: D26050880

Pulled By: SplitInfinity

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

Labels

cla signed oncall: jit Add this issue/PR to JIT oncall triage queue open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants