Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc123 committed Dec 5, 2018
1 parent 3d19372 commit 8f3b1ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ if [[ "$cuda_ver" == 'cpu' ]]; then
entire_file_exclusions+=("nccl")
fi

if [[ "$(uname)" == 'Darwin' ]]; then
if [[ "$(uname)" == 'Darwin' || "$OSTYPE" == "msys" ]]; then
# pytest on Mac doesn't like the exits in these files
entire_file_exclusions+=('c10d')
entire_file_exclusions+=('distributed')
Expand Down
2 changes: 1 addition & 1 deletion windows/internal/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ echo Not running unit tests. Hopefully these problems are caught by CI
goto test_end

cd pytorch\test
python run_test.py -v -pt
python run_test.py -v -pt -x c10d distributed thd_distributed

if ERRORLEVEL 1 exit /b 1

Expand Down
4 changes: 2 additions & 2 deletions windows/templates/upload_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:
sourceFolder: 'windows/output/${{ parameters.cudaVer }}'
globExpressions: '*.whl'
targetFolder: 'whl/nightly/${{ parameters.cuVer }}/'
fileAcl: 'public-read'
filesAcl: 'public-read'
flattenFolders: 'true'

- task: AmazonWebServices.aws-vsts-tools.S3Upload.S3Upload@1
Expand All @@ -22,5 +22,5 @@ steps:
sourceFolder: 'windows/output/${{ parameters.cudaVer }}'
globExpressions: '*.zip'
targetFolder: 'libtorch/nightly/${{ parameters.cuVer }}/'
fileAcl: 'public-read'
filesAcl: 'public-read'
flattenFolders: 'true'

0 comments on commit 8f3b1ed

Please sign in to comment.