Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 3e215ce

Browse files
authored
Fix minor bugs (#35)
* Fix minor bug * Update readme * Prettify * Add auto merge * Add auto merge 1
1 parent bfd3334 commit 3e215ce

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

.github/auto-merge.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Configuration for probot-auto-merge - https://github.com/bobvanderlinden/probot-auto-merge
2+
3+
updateBranch: true
4+
deleteBranchAfterMerge: true
5+
reportStatus: true
6+
7+
minApprovals:
8+
COLLABORATOR: 0
9+
maxRequestedChanges:
10+
NONE: 0
11+
blockingLabels:
12+
- blocked
13+
14+
# Will merge whenever the above conditions are met, but also
15+
# the owner has approved or merge label was added.
16+
rules:
17+
- minApprovals:
18+
OWNER: 1
19+
- requiredLabels:
20+
- merge

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,34 @@ ImportError: DLL load failed: The specified procedure could not be found.
9090
You can download it and put it in the PyTorch directory or use it in a standalone way.
9191
There're more details about MSVC 2017 setup in [#23](https://github.com/peterjc123/pytorch-scripts/issues/23).
9292
```Powershell
93+
################################################################################
94+
# These are the flags that you can set before running the scripts.
95+
################################################################################
96+
9397
# You can specify which version you want to build
9498
# If you omit it, it will build for the master branch on default
9599
set PYTORCH_BUILD_VERSION=0.4.1
96100
101+
# If you want to build your own fork of PyTorch
102+
set PYTORCH_REPO=pytorch
103+
104+
# If you want to build for a specific branch
105+
# Note: If you specify PYTORCH_BUILD_VERSION too, it won't be used.
106+
set PYTORCH_BRANCH=master
107+
108+
# If you want to skip the confirmation of the flags configured by our script
109+
set NO_PROMPT=1
110+
111+
# If you want to continue build without a verified VS version (Safe for CPU builds)
112+
set SKIP_VS_VER_CHECK=1
113+
114+
# If you want to skip prompt for building for Python 2.7 (Not recommended)
115+
set SKIP_PY_VER_CHECK=1
116+
117+
################################################################################
118+
# These are the available scripts that you can use.
119+
################################################################################
120+
97121
# If you don't want to override the default settings
98122
auto.bat
99123
@@ -109,6 +133,12 @@ cuda90.bat
109133
# If you want to compile with CUDA 9.1
110134
cuda91.bat
111135
136+
# If you want to compile with CUDA 9.2
137+
cuda92.bat
138+
139+
# If you want to compile with CUDA 10.0
140+
cuda100.bat
141+
112142
```
113143

114144
# Using Examples

internal/check_deps.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if %PYVER% LSS 35 (
5757
goto after_py27
5858
)
5959

60-
IF "%SKIP_VS_VER_CHECK%" == "1" (
60+
IF "%SKIP_PY_VER_CHECK%" == "1" (
6161
goto after_py27
6262
)
6363

0 commit comments

Comments
 (0)