Skip to content

[packaging] add support for BytesIO#50838

Closed
suo wants to merge 2 commits intogh/suo/383/basefrom
gh/suo/383/head
Closed

[packaging] add support for BytesIO#50838
suo wants to merge 2 commits intogh/suo/383/basefrom
gh/suo/383/head

Conversation

@suo
Copy link
Copy Markdown
Member

@suo suo commented Jan 20, 2021

Stack from ghstack:

Similar to torch.save and torch.jit.save, accept a IO-like object
instead of just a file.

Differential Revision: D25982719

Similar to `torch.save` and `torch.jit.save`, accept a IO-like object
instead of just a file.

[ghstack-poisoned]
Similar to `torch.save` and `torch.jit.save`, accept a IO-like object
instead of just a file.

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

[ghstack-poisoned]
suo added a commit that referenced this pull request Jan 20, 2021
Similar to `torch.save` and `torch.jit.save`, accept a IO-like object
instead of just a file.

ghstack-source-id: d5b4585
Pull Request resolved: #50838
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 21, 2021

Codecov Report

Merging #50838 (53da358) into gh/suo/383/base (4aea007) will decrease coverage by 0.33%.
The diff coverage is 89.47%.

@@                 Coverage Diff                 @@
##           gh/suo/383/base   #50838      +/-   ##
===================================================
- Coverage            81.08%   80.75%   -0.34%     
===================================================
  Files                 1915     1915              
  Lines               208544   208554      +10     
===================================================
- Hits                169108   168410     -698     
- Misses               39436    40144     +708     

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@suo merged this pull request in 2ba2ab9.

@facebook-github-bot facebook-github-bot deleted the gh/suo/383/head branch January 26, 2021 15:21
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#50838

Similar to `torch.save` and `torch.jit.save`, accept a IO-like object
instead of just a file.

Test Plan: Imported from OSS

Reviewed By: nikithamalgifb

Differential Revision: D25982719

Pulled By: suo

fbshipit-source-id: 42f3665932bbaa6897215002d116df6338edae50
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.

3 participants