Skip to content

[export] Remove call_spec argument from ExportedProgram ctor.#111407

Closed
zhxchen17 wants to merge 1 commit intopytorch:mainfrom
zhxchen17:export-D50335365
Closed

[export] Remove call_spec argument from ExportedProgram ctor.#111407
zhxchen17 wants to merge 1 commit intopytorch:mainfrom
zhxchen17:export-D50335365

Conversation

@zhxchen17
Copy link
Copy Markdown
Contributor

@zhxchen17 zhxchen17 commented Oct 17, 2023

Summary: call_spec arg is not used anymore.

Test Plan: CI

Reviewed By: SherlockNoMad, tugsbayasgalan

Differential Revision: D50335365

cc @avikchaudhuri @gmagogsfm @tugsbayasgalan

Summary: call_spec arg is not used anymore.

Test Plan: CI

Reviewed By: SherlockNoMad, tugsbayasgalan

Differential Revision: D50335365
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Oct 17, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111407

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit dec46e5 with merge base 19a6487 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D50335365

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

facebook-github-bot pushed a commit to pytorch/executorch that referenced this pull request Oct 17, 2023
Summary:
Pull Request resolved: #981

X-link: pytorch/pytorch#111407

call_spec arg is not used anymore.

Reviewed By: SherlockNoMad, tugsbayasgalan

Differential Revision: D50335365

fbshipit-source-id: 019eae5c5a382cd7da7b667733ec2266007e74c3
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge failed

Reason: PR #111407 has not been reviewed yet

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@izaitsevfb
Copy link
Copy Markdown
Contributor

@pytorchbot merge -f 'Landed internally'

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Dec 15, 2023
Since pytorch 2.1 release we've made some BC breaking changes to the serialized schema. We should update it in time for the 2.2 release. Some of the changes include:

* #114371 - custom class objects / pybinded objects are no longer saved directly to the `ExportedProgram` structure. Instead, the name is serialized inside of the program, and the actual bytes are stored. in a separate location from the exported program, allowing it to be saved to a different location.
* #111204 - `GraphSignature` structure changed and `call_spec` is removed from the `GraphModule` schema
* #111407 - `loss_outout` -> `loss_output`
* #113075 - `example_inputs` removed from the `ExportedProgram` structure (this originally did not store anything), `dialect` added to the `ExportedProgram` structure.
* #113689 - tensor constants are now lifted as inputs to the graph, and their locations are stored in the `GraphSignature`
* #114172 - removed `equality_constraints` and added a `SymExprHint` for all symbolic expressions.
Pull Request resolved: #115712
Approved by: https://github.com/gmagogsfm
angelayi added a commit that referenced this pull request Dec 15, 2023
Since pytorch 2.1 release we've made some BC breaking changes to the serialized schema. We should update it in time for the 2.2 release. Some of the changes include:

* #114371 - custom class objects / pybinded objects are no longer saved directly to the `ExportedProgram` structure. Instead, the name is serialized inside of the program, and the actual bytes are stored. in a separate location from the exported program, allowing it to be saved to a different location.
* #111204 - `GraphSignature` structure changed and `call_spec` is removed from the `GraphModule` schema
* #111407 - `loss_outout` -> `loss_output`
* #113075 - `example_inputs` removed from the `ExportedProgram` structure (this originally did not store anything), `dialect` added to the `ExportedProgram` structure.
* #113689 - tensor constants are now lifted as inputs to the graph, and their locations are stored in the `GraphSignature`
* #114172 - removed `equality_constraints` and added a `SymExprHint` for all symbolic expressions.
Pull Request resolved: #115712
Approved by: https://github.com/gmagogsfm
guilhermeleobas pushed a commit to guilhermeleobas/pytorch that referenced this pull request Dec 18, 2023
Since pytorch 2.1 release we've made some BC breaking changes to the serialized schema. We should update it in time for the 2.2 release. Some of the changes include:

* pytorch#114371 - custom class objects / pybinded objects are no longer saved directly to the `ExportedProgram` structure. Instead, the name is serialized inside of the program, and the actual bytes are stored. in a separate location from the exported program, allowing it to be saved to a different location.
* pytorch#111204 - `GraphSignature` structure changed and `call_spec` is removed from the `GraphModule` schema
* pytorch#111407 - `loss_outout` -> `loss_output`
* pytorch#113075 - `example_inputs` removed from the `ExportedProgram` structure (this originally did not store anything), `dialect` added to the `ExportedProgram` structure.
* pytorch#113689 - tensor constants are now lifted as inputs to the graph, and their locations are stored in the `GraphSignature`
* pytorch#114172 - removed `equality_constraints` and added a `SymExprHint` for all symbolic expressions.
Pull Request resolved: pytorch#115712
Approved by: https://github.com/gmagogsfm
malfet pushed a commit that referenced this pull request Dec 18, 2023
Since pytorch 2.1 release we've made some BC breaking changes to the serialized schema. We should update it in time for the 2.2 release. Some of the changes include:

* #114371 - custom class objects / pybinded objects are no longer saved directly to the `ExportedProgram` structure. Instead, the name is serialized inside of the program, and the actual bytes are stored. in a separate location from the exported program, allowing it to be saved to a different location.
* #111204 - `GraphSignature` structure changed and `call_spec` is removed from the `GraphModule` schema
* #111407 - `loss_outout` -> `loss_output`
* #113075 - `example_inputs` removed from the `ExportedProgram` structure (this originally did not store anything), `dialect` added to the `ExportedProgram` structure.
* #113689 - tensor constants are now lifted as inputs to the graph, and their locations are stored in the `GraphSignature`
* #114172 - removed `equality_constraints` and added a `SymExprHint` for all symbolic expressions.
Pull Request resolved: #115712
Approved by: https://github.com/gmagogsfm
dmenig pushed a commit to dmenig/pytorch that referenced this pull request Dec 21, 2023
Since pytorch 2.1 release we've made some BC breaking changes to the serialized schema. We should update it in time for the 2.2 release. Some of the changes include:

* pytorch#114371 - custom class objects / pybinded objects are no longer saved directly to the `ExportedProgram` structure. Instead, the name is serialized inside of the program, and the actual bytes are stored. in a separate location from the exported program, allowing it to be saved to a different location.
* pytorch#111204 - `GraphSignature` structure changed and `call_spec` is removed from the `GraphModule` schema
* pytorch#111407 - `loss_outout` -> `loss_output`
* pytorch#113075 - `example_inputs` removed from the `ExportedProgram` structure (this originally did not store anything), `dialect` added to the `ExportedProgram` structure.
* pytorch#113689 - tensor constants are now lifted as inputs to the graph, and their locations are stored in the `GraphSignature`
* pytorch#114172 - removed `equality_constraints` and added a `SymExprHint` for all symbolic expressions.
Pull Request resolved: pytorch#115712
Approved by: https://github.com/gmagogsfm
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.

4 participants