add multiprocessing unit tests, working file-descriptor based solution and OSX#11
Merged
add multiprocessing unit tests, working file-descriptor based solution and OSX#11
Conversation
* TH_ALLOCATOR_MAPPED_FROMFD uses an existing file descriptor for mapping (and steals it) * TH_ALLOCATOR_MAPPED_KEEPFD doesn't close the file descriptor until the mapping is freed * TH_ALLOCATOR_MAPPED_UNLINK unlinks the file immediately after mapping it to memory Also, now it's using fstat to check the file size (instead of lseek, which alters the fd state).
7ccc5ea to
dbaf05d
Compare
Added dynamic dispatch for x86
write returns errno 45 (Operation not supported) when used with a file descriptor obtained via shm_open on OS X.
dbaf05d to
5b4afd7
Compare
test/test_multiprocessing.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
5b4afd7 to
3d6b805
Compare
apaszke
pushed a commit
that referenced
this pull request
Apr 28, 2017
Summary: This change includes CMake changes to compile the MPI assets when the USE_MPI flag is enabled. If so, the benchmark tool can now be launched through mpirun. Includes the changes done in #11. Closes pytorch/gloo#12 Reviewed By: Yangqing Differential Revision: D4712060 Pulled By: pietern fbshipit-source-id: 0d0e93882f5822583f59304d4256dbdf5dea7483
soumith
pushed a commit
that referenced
this pull request
Jul 13, 2017
Fix ATen build for debug python
yogi81
referenced
this pull request
Aug 16, 2017
hubertlu-tw
pushed a commit
to hubertlu-tw/pytorch
that referenced
this pull request
Nov 1, 2022
Handle the use of .sum() in fused LSTM/GRU backward
hubertlu-tw
pushed a commit
to hubertlu-tw/pytorch
that referenced
this pull request
Nov 1, 2022
[FusedOptimizers] Bug fixes in fused optimizers for fp16/bfp16.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Don't merge, this PR is only for test purposes