Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
8fbe0f3
Add init vector for cg
bcharlier Feb 6, 2026
67b289e
Fix backend helper function binding
bcharlier Apr 8, 2026
641eb1a
Make Keops_Print compatible with multiple messages
bcharlier Apr 8, 2026
b6b1a08
Add default formula
bcharlier Apr 8, 2026
86062ac
add precommit
bcharlier Apr 8, 2026
9e49563
black files
bcharlier Apr 9, 2026
ccd5b1d
black files
bcharlier Apr 9, 2026
bd3acb2
add ConjugateGradientSolver with x0, maxiter, and cv_info support
bcharlier Apr 14, 2026
3296b0b
Add explicit indexing to torch.meshgrid call in doc
bcharlier Apr 14, 2026
11a2c17
Remove Jenkinsfile
bcharlier Apr 14, 2026
4d13f20
fix setup.py and doc building
bcharlier Apr 15, 2026
fa604bf
Update pydoc with parallel jobs and fix
bcharlier Apr 15, 2026
47308ea
add verbose flag to CG
bcharlier Apr 22, 2026
ca25ca3
fix KernelSolve calls
bcharlier Apr 22, 2026
7fa45da
WIP. Refactor config stack. Platform; Cpp; OpenMP
bcharlier Apr 28, 2026
7a42bed
WIP. Cuda
bcharlier Apr 28, 2026
6bfa32a
Refactor pass test...
bcharlier May 1, 2026
5cb80e0
fix openmp linking
bcharlier May 1, 2026
1e6758b
remove sum_scheme eval
bcharlier May 1, 2026
c6f29c1
linting
bcharlier May 1, 2026
f1fd1c2
Add include path init
bcharlier May 4, 2026
7d35354
reorder compiles flags
bcharlier May 4, 2026
f9ce2a1
explicit name in cuda options
bcharlier May 4, 2026
310c801
init options to str
bcharlier May 4, 2026
62bb4ca
lint
bcharlier May 4, 2026
33ddab9
cleanup openMP detection
bcharlier May 4, 2026
3aa45f3
fix openMp init
bcharlier May 4, 2026
9dba8df
add fix to OpemMP detection on MacOS
bcharlier May 4, 2026
db13b9c
Add forgotten init. Remove cxx options if checks fail.
bcharlier May 4, 2026
f475ef1
relove _shared.py
bcharlier May 5, 2026
47a1054
remove global constant in chunks
bcharlier May 5, 2026
9c4a832
rename chunks
bcharlier May 5, 2026
979f2e1
add adaptive verbosity level
bcharlier May 5, 2026
dbc8c95
lint
bcharlier May 5, 2026
f19ae0a
Add a size check to avoid segfault with missing (dummy) dimension in …
bcharlier May 6, 2026
6dae0ce
lint
bcharlier May 6, 2026
7deb341
Fix test. Add manual random seed. Shape tests.
bcharlier May 6, 2026
9c093a2
Skip conv2d test if not cuda
bcharlier May 6, 2026
8cb7938
move autofactorize to chunkConfig. Rename ChunkConfig to ReductionTun…
bcharlier May 7, 2026
d0c978d
Split cpp compilation : create entry point with pybind11. remove evals.
bcharlier May 10, 2026
f25e1e8
fix messages
bcharlier May 10, 2026
c8d8dbe
fix omp path in brew
bcharlier May 10, 2026
7e0b3ad
test openMP on MacOS
bcharlier May 10, 2026
a35a669
try debub openmp detection
bcharlier May 10, 2026
d0f9965
debugging in progress...
bcharlier May 10, 2026
b9c2100
debugging in progress...
bcharlier May 10, 2026
96147b5
add arch flag to openmp test
bcharlier May 10, 2026
92e34b7
polish messages. CI pass on all systems
bcharlier May 10, 2026
53feaf5
try to add crt header locally...
bcharlier May 10, 2026
c09aa8f
Fix set_build_folder
bcharlier May 10, 2026
28f94d9
Fix set_build_folder in pykeops
bcharlier May 10, 2026
ee4f114
add build path to include when symlink are created
bcharlier May 11, 2026
c88ca57
typo in fstring
bcharlier May 11, 2026
1c9586a
protect first compile with a try
bcharlier May 11, 2026
293dcad
update version number
bcharlier May 11, 2026
f9c042a
protect keopcore compilation with a try
bcharlier May 11, 2026
31e1ba9
add new path in setup.py
bcharlier May 11, 2026
054a82d
remove unused method. Add verbosity to debuf colab...
bcharlier May 11, 2026
626ceac
change order in compilation / symlink
bcharlier May 11, 2026
ad9b989
add checks for cuda header
bcharlier May 22, 2026
0f5f582
remove crt folder: pypi cudatoolkit 13 includes it
bcharlier May 22, 2026
ef72d81
fix imports
bcharlier May 22, 2026
73e81ed
test mac python3.12
bcharlier May 23, 2026
ce4e5b3
test mac python3.12
bcharlier May 23, 2026
df159b3
Merge branch 'macOS_python' of github.com:getkeops/keops into macOS_p…
bcharlier May 23, 2026
4d7408b
fix pytest
bcharlier May 23, 2026
2833979
fix malformed compile flag.
bcharlier May 23, 2026
c3d0b45
add filter to CXXFLAGS. Fix brew detection message.
bcharlier May 23, 2026
23deddf
move ci to github action.
bcharlier May 23, 2026
3d6cda1
fix path insertion to include list
bcharlier May 23, 2026
4bc2a20
check macOS
bcharlier May 23, 2026
98b959b
add both intel and arm for macOs test
bcharlier May 23, 2026
dd48a25
pin python versoin on CI macOs intel
bcharlier May 23, 2026
5c88413
adapt openmp discovery strategy with conda
bcharlier May 23, 2026
d207e95
Add brew prefix for intel macOS. Pin np version
bcharlier May 24, 2026
d3e86a6
fix CI macOS
bcharlier May 24, 2026
dd0d39d
update pip constraint CI env
bcharlier May 24, 2026
001b862
clean pip constraints
bcharlier May 24, 2026
0996bda
add verbose option to pytest
bcharlier May 24, 2026
7c590ef
add verbose option to pytest
bcharlier May 24, 2026
bc970d9
fix openMp discovery. Add a unit test.
bcharlier May 24, 2026
1982ee1
add install documentation
bcharlier May 24, 2026
f728e68
fixed message
joanglaunes May 27, 2026
f16ba1f
fixed another message
joanglaunes May 27, 2026
0ca18bf
better fix for message...
joanglaunes May 27, 2026
48b9b7f
add pip cuda toolkit support
bcharlier May 29, 2026
bafcd8f
Merge branch 'config_clean' of github.com:getkeops/keops into config_…
bcharlier May 29, 2026
0a9a3fd
test without custom headers
bcharlier May 29, 2026
9e13ff0
fix OpenMP import on macOS
bcharlier May 29, 2026
9b2f25b
fix link to openmp lib on MacOS
bcharlier May 29, 2026
03c7152
split strategy on MacOS openmp linkikng
bcharlier Jun 4, 2026
88c6dcb
lint
bcharlier Jun 4, 2026
7929b4b
remove shadowing in test
bcharlier Jun 4, 2026
61ac930
prevent unconsistent CPUGPU configuration
bcharlier Jun 5, 2026
746b631
remove cirrus CI. Add pykeops.config.cuda.is_available()
bcharlier Jun 6, 2026
f35a321
remove torch dependancies in test
bcharlier Jun 9, 2026
6730ba0
fixed some issues on mac
joanglaunes Jun 9, 2026
b14e44f
lint
joanglaunes Jun 9, 2026
2eda3a9
another fix to avoid "duplicate rpath" warning
joanglaunes Jun 9, 2026
5e23190
Merge branch 'test_fp16' of github.com:getkeops/keops into test_fp16
bcharlier Jun 10, 2026
b979ac7
add some detail on cuda pip install
bcharlier Jun 12, 2026
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
25 changes: 0 additions & 25 deletions .cirrus.yml

This file was deleted.

19 changes: 13 additions & 6 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
name: Lint
name: Format Check

on: [push, pull_request]
on:
push:
pull_request:

jobs:
lint:
format:
name: Format (Black)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/black@stable
- name: Checkout
uses: actions/checkout@v4

- name: Black format check
uses: psf/black@stable
with:
options: "--check ."

15 changes: 0 additions & 15 deletions .github/workflows/cuda_test.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/linux_cpu_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Linux CPU Test

on:
push:
pull_request:

jobs:
tests-linux:
name: Tests (Linux CPU)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Run tests
run: bash ./pytest.sh
16 changes: 16 additions & 0 deletions .github/workflows/linux_cuda_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Linux CUDA Test

on:
push:
pull_request:

jobs:
tests-linux-cuda:
name: Tests (Linux CUDA)
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: bash ./pytest.sh
46 changes: 46 additions & 0 deletions .github/workflows/macOs_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: macOS Test

on:
push:
pull_request:

jobs:
tests-macos-latest:
name: Tests (macOS latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install dependencies
run: brew install libomp

- name: Run tests
run: bash ./pytest.sh

tests-macos-intel:
name: Tests (macOS Intel)
runs-on: macos-26-intel
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Pin NumPy for Intel CI
run: |
echo "numpy<2" > /tmp/pip-constraints.txt

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: brew install libomp

- name: Run tests
run: bash ./pytest.sh --pip-constraint=/tmp/pip-constraints.txt -v 2
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black

- repo: local
hooks:
- id: pytest
name: pytest
entry: ./pytest.sh
language: system
pass_filenames: false
always_run: true
25 changes: 0 additions & 25 deletions Jenkinsfile

This file was deleted.

1 change: 0 additions & 1 deletion benchmarks/PyTorch_GPU.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import numpy as np
from time import time


nits = 100
Ns, D = [10000, 100000, 1000000], 3

Expand Down
1 change: 0 additions & 1 deletion benchmarks/TVM.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import numpy as np
from time import time


# Global declarations of environment.
tgt_host = "llvm"
tgt = "cuda"
Expand Down
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def find_source():
# Add patterns
# 'filename_pattern': r'../pykeops/pykeops/tutorials/*',
"ignore_pattern": r"__init__\.py|benchmark_utils\.py|dataset_utils\.py",
"parallel": int(os.environ.get("SPHINX_GALLERY_JOBS", "1")),
}

# Generate the API documentation when building
Expand Down
19 changes: 19 additions & 0 deletions doc/python/api/common/Config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Configuration
-------------

This section documents lower-level KeOps configuration helpers that are useful
when troubleshooting PyKeOps installations.

.. rubric:: Summary

.. currentmodule:: keopscore.config.Cuda

.. autosummary::
:nosignatures:

CudaConfig

.. rubric:: Syntax

.. autoclass:: CudaConfig
:members:
1 change: 1 addition & 0 deletions doc/python/api/common/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Common Python API
.. toctree::

GenericLazyTensor
Config
Utils

Loading
Loading