Skip to content

Changed the use of Deepcopy to keep the original model to torch.save(… #2387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

Samsonboadi
Copy link
Contributor

@Samsonboadi Samsonboadi commented Jun 1, 2023

…) to save the original model for future comparision

Fixes #2334

Description

I changed the use of deepcopy.copy to torch.save, to create a copy of the original torch model

Checklist

  • [ x] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • [x ] Only one issue is addressed in this pull request
  • [x ] Labels from the issue that this PR is fixing are added to this pull request
  • [x ] No unnessessary issues are included into this pull request.
    @docathon-h1-2023 #docathon-h1-2023

cc @albanD

…) to save the original model for future comparision
@netlify
Copy link

netlify bot commented Jun 1, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit e9e4397
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/647866e02e485a0008ab50a1
😎 Deploy Preview https://deploy-preview-2387--pytorch-tutorials-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added core Tutorials of any level of difficulty related to the core pytorch functionality docathon-h1-2023 A label for the docathon in H1 2023 easy and removed cla signed labels Jun 1, 2023
@netlify
Copy link

netlify bot commented Jun 1, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 6fefcfa
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/64786722db6e6700087196dc
😎 Deploy Preview https://deploy-preview-2387--pytorch-tutorials-preview.netlify.app/prototype/fx_graph_mode_ptq_dynamic
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed core Tutorials of any level of difficulty related to the core pytorch functionality docathon-h1-2023 A label for the docathon in H1 2023 easy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update tutorial to avoid use of copy.deepcopy()-FX Graph Mode Post Training Dynamic Quantization
2 participants