Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: jax integration #590

Merged
merged 25 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0cdbfe4
build: added jax to environments
mrava87 Jul 3, 2024
21659ae
feat: added JaxOperator
mrava87 Jul 3, 2024
a060af7
feat: enabled jax in basicoperators
mrava87 Jul 3, 2024
d372de7
feat: enabled jax in avo
mrava87 Jul 3, 2024
6067fa2
feat: enabled jax in signalprocessing
mrava87 Jul 3, 2024
ca81494
feat: enabled jax in waveeqprocessing
mrava87 Jul 3, 2024
6216128
doc: added jax integration to doc
mrava87 Jul 3, 2024
05c78e9
build: remove python 3.8 from CI
mrava87 Jul 3, 2024
cd0ebb8
minor: added sphinxemoji to requirements-dev
mrava87 Jul 3, 2024
e27faa0
minor: change jax integration for sliding and patching in gpu.rst
mrava87 Jul 3, 2024
eae806f
minor: fixed some error messages
mrava87 Jul 4, 2024
126515d
minor: removed commented code in prestack
mrava87 Jul 4, 2024
c9d0eae
doc: improved doc for JaxOperator
mrava87 Jul 4, 2024
14adc13
feat: enable jax in todense
mrava87 Jul 4, 2024
391104c
minor: remove commented codes
mrava87 Jul 4, 2024
6af08b6
minor: fix typo in fredholm1 docstring
mrava87 Jul 5, 2024
1560889
chore: smaller diffs
cako Aug 5, 2024
cfef27a
chore: import order
cako Aug 5, 2024
694e2ff
fix: docs using the wrong array type
cako Aug 5, 2024
1890d16
fix: randn arguments
cako Aug 5, 2024
162d72a
fix: remove unused import
cako Aug 5, 2024
5a8a20b
minor: fixed typing of jax
mrava87 Aug 9, 2024
29a4dc2
Merge branch 'feature-jax' of https://github.com/mrava87/pylops into …
mrava87 Aug 9, 2024
310b2a9
minor: one more fix of typing of jax
mrava87 Aug 9, 2024
054c5b8
minor: fix linting
mrava87 Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-13 ]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]

runs-on: ${{ matrix.platform }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '3.7'
# versionSpec: '3.9'
# architecture: 'x64'
#
# - script: |
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
architecture: 'x64'

- script: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
architecture: 'x64'

- script: |
Expand Down
1 change: 1 addition & 0 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Templates
FunctionOperator
MemoizeOperator
TorchOperator
JaxOperator

Basic operators
~~~~~~~~~~~~~~~
Expand Down
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"numpydoc",
"nbsphinx",
"sphinx_gallery.gen_gallery",
"sphinxemoji.sphinxemoji",
cako marked this conversation as resolved.
Show resolved Hide resolved
# 'sphinx.ext.napoleon',
]

Expand All @@ -29,6 +30,8 @@
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference", None),
"cupy": ("https://docs.cupy.dev/en/stable/", None),
"jax": ("https://jax.readthedocs.io/en/latest", None),
"sklearn": ("http://scikit-learn.org/stable/", None),
"pandas": ("http://pandas.pydata.org/pandas-docs/stable/", None),
"matplotlib": ("https://matplotlib.org/", None),
Expand Down
Loading