-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: deploy-conda | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: deploy-docker | ||
|
||
on: | ||
# push: | ||
# branches: | ||
# - main | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- published | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: deploy-docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
pull_request: | ||
branches: | ||
- main | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
# Build | ||
# ----- | ||
|
||
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04 as builder | ||
FROM nvidia/cuda:12.3.1-devel-ubuntu22.04 as builder | ||
MAINTAINER Siavash Ameli <[email protected]> | ||
LABEL Description="imate python package with cuda-12 support" | ||
|
||
|
@@ -53,21 +53,23 @@ RUN rm -rf build dist | |
|
||
# Note: run setup.py clean to remove in-source cpp build files (if there are any) | ||
RUN /usr/bin/python3 setup.py clean | ||
RUN /usr/bin/python3 setup.py bdist_wheel | ||
RUN /usr/bin/python3 -m pip install --upgrade pip | ||
RUN /usr/bin/python3 -m pip install build | ||
RUN /usr/bin/python3 -m build --wheel | ||
|
||
# ------- | ||
# Runtime | ||
# ------- | ||
|
||
FROM nvidia/cuda:12.2.0-base-ubuntu22.04 | ||
FROM nvidia/cuda:12.3.1-base-ubuntu22.04 | ||
|
||
# Install python3 and libcudablas, libcusparse, since they are not in the NVIDIA | ||
# cuda's "base" image. | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y --no-install-recommends \ | ||
libcublas-12-2 \ | ||
libcusparse-12-2 \ | ||
libcublas-12-3 \ | ||
libcusparse-12-3 \ | ||
python3-pip \ | ||
libgomp1 \ | ||
libsuitesparse-dev \ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.21.4" | ||
__version__ = "0.21.5" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,10 +65,10 @@ conda_build_wheels_macosx_arm64_task: | |
CIBW_TEST_SKIP: "*_universal2:arm64" | ||
|
||
build_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
- which python | ||
- uname -m | ||
- brew install [email protected] | ||
- sudo ln -s /opt/homebrew/opt/[email protected]/bin/python3.11 /usr/local/bin/python | ||
- which python | ||
- python -c "import platform;print(platform.python_version());print(platform.system());print(platform.machine())" | ||
- clang --version | ||
<<: *CONDA_MACOSX_ARM64_CIBW | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,10 +65,10 @@ pypi_build_wheels_macosx_arm64_task: | |
CIBW_TEST_SKIP: "*_universal2:arm64" | ||
|
||
build_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
- which python | ||
- uname -m | ||
- brew install [email protected] | ||
- sudo ln -s /opt/homebrew/opt/[email protected]/bin/python3.11 /usr/local/bin/python | ||
- which python | ||
- python -c "import platform;print(platform.python_version());print(platform.system());print(platform.machine())" | ||
- clang --version | ||
<<: *PYPI_MACOSX_ARM64_CIBW | ||
|