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
torch-scatter
Commits
47de00ac
"tools/git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "9f0b01caf6aefed861ef4c3eb197c09362d26b32"
Commit
47de00ac
authored
Mar 11, 2022
by
rusty1s
Browse files
build conda [ci skip]
parent
d53e3ace
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
+18
-11
.github/workflows/building-conda.yml
.github/workflows/building-conda.yml
+13
-9
conda/pytorch-scatter/README.md
conda/pytorch-scatter/README.md
+1
-1
conda/pytorch-scatter/build_conda.sh
conda/pytorch-scatter/build_conda.sh
+4
-1
No files found.
.github/workflows/building-conda.yml
View file @
47de00ac
...
@@ -10,21 +10,25 @@ jobs:
...
@@ -10,21 +10,25 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
os
:
[
windows-latest
]
#
[ubuntu-18.04, macos-10.15, windows-
latest
]
os
:
[
ubuntu-18.04
,
macos-10.15
,
windows-
2019
]
python-version
:
[
3.
6
,
3.
7
,
3.
8
,
3.
9
]
python-version
:
[
'
3.
7'
,
'
3.
8'
,
'
3.
9'
,
'
3.
10'
]
torch-version
:
[
1.
9
.0
,
1.1
0
.0
]
torch-version
:
[
1.
10
.0
,
1.1
1
.0
]
cuda-version
:
[
'
cu113'
]
#
['cpu', 'cu102', 'cu11
1
', 'cu11
3
']
cuda-version
:
[
'
cpu'
,
'
cu102'
,
'
cu11
3
'
,
'
cu11
5
'
]
exclude
:
exclude
:
-
torch-version
:
1.9.0
cuda-version
:
'
cu113'
-
torch-version
:
1.10.0
-
torch-version
:
1.10.0
cuda-version
:
'
cu111'
cuda-version
:
'
cuda115'
-
os
:
macos-10.15
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu102'
cuda-version
:
'
cu102'
-
os
:
windows-2019
torch-version
:
1.11.0
cuda-version
:
'
cu115'
-
os
:
macos-10.15
-
os
:
macos-10.15
cuda-version
:
'
cu1
11
'
cuda-version
:
'
cu1
02
'
-
os
:
macos-10.15
-
os
:
macos-10.15
cuda-version
:
'
cu113'
cuda-version
:
'
cu113'
-
os
:
macos-10.15
cuda-version
:
'
cu115'
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
conda/pytorch-scatter/README.md
View file @
47de00ac
```
```
./build_conda.sh 3.9 1.
9
.0 cu11
1
# python, pytorch and cuda version
./build_conda.sh 3.9 1.
11
.0 cu11
3
# python, pytorch and cuda version
```
```
conda/pytorch-scatter/build_conda.sh
View file @
47de00ac
...
@@ -10,6 +10,9 @@ if [ "${CUDA_VERSION}" = "cpu" ]; then
...
@@ -10,6 +10,9 @@ if [ "${CUDA_VERSION}" = "cpu" ]; then
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cpuonly # [not osx]"
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cpuonly # [not osx]"
else
else
case
$CUDA_VERSION
in
case
$CUDA_VERSION
in
cu115
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.3.*"
;;
cu113
)
cu113
)
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.3.*"
export
CONDA_CUDATOOLKIT_CONSTRAINT
=
"cudatoolkit==11.3.*"
;;
;;
...
@@ -33,4 +36,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION"
...
@@ -33,4 +36,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION"
echo
"-
$CONDA_PYTORCH_CONSTRAINT
"
echo
"-
$CONDA_PYTORCH_CONSTRAINT
"
echo
"-
$CONDA_CUDATOOLKIT_CONSTRAINT
"
echo
"-
$CONDA_CUDATOOLKIT_CONSTRAINT
"
conda build
.
-c
nvidia
-c
pytorch
-c
default
-c
conda-forge
--output-folder
"
$HOME
/conda-bld"
conda build
.
-c
pytorch
-c
default
--output-folder
"
$HOME
/conda-bld"
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