Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
afcce1a1
"tests/vscode:/vscode.git/clone" did not exist on "3b8f445f4b723e2dd36cffc0dd4dfd48d2258986"
Commit
afcce1a1
authored
Sep 01, 2023
by
Casper
Browse files
Add Windows build to workflow
parent
1a3acf02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
.github/workflows/build.yaml
.github/workflows/build.yaml
+7
-7
No files found.
.github/workflows/build.yaml
View file @
afcce1a1
...
...
@@ -39,8 +39,8 @@ jobs:
strategy
:
matrix
:
os
:
[
ubuntu-20.04
]
pyver
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
]
os
:
[
ubuntu-20.04
,
windows-latest
]
pyver
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
]
cuda
:
[
"
11.8"
]
defaults
:
run
:
...
...
@@ -73,6 +73,11 @@ jobs:
conda install pytorch "pytorch-cuda=${env:CUDA_VERSION}" -c pytorch -c nvidia
python -m pip install --upgrade build setuptools wheel ninja
# Environment variables
Add-Content $env:GITHUB_ENV "CUDA_PATH=$env:CONDA_PREFIX"
Add-Content $env:GITHUB_ENV "CUDA_HOME=$env:CONDA_PREFIX"
if ($IsLinux) {$env:LD_LIBRARY_PATH = $env:CONDA_PREFIX + '/lib:' + $env:LD_LIBRARY_PATH}
# Print version information
python --version
python -c "import torch; print('PyTorch:', torch.__version__)"
...
...
@@ -81,11 +86,6 @@ jobs:
-
name
:
Build Wheel
run
:
|
$env:CUDA_PATH = $env:CONDA_PREFIX
$env:CUDA_HOME = $env:CONDA_PREFIX
if ($IsLinux) {$env:LD_LIBRARY_PATH = $env:CONDA_PREFIX + '/lib:' + $env:LD_LIBRARY_PATH}
$env:TORCH_CUDA_ARCH_LIST = '8.0 8.6 8.9 9.0+PTX'
python setup.py sdist bdist_wheel
-
name
:
Upload Assets
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment