Skip to content

Commit

Permalink
Merge branch 'master' into dev/sso_login_ux
Browse files Browse the repository at this point in the history
  • Loading branch information
vaimdev authored Jan 24, 2025
2 parents 5a14983 + 3d4c986 commit 372b627
Show file tree
Hide file tree
Showing 20 changed files with 2,942 additions and 36 deletions.
99 changes: 99 additions & 0 deletions .github/workflows/ci-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: ci-gpu
on:
pull_request:
types:
- labeled
workflow_dispatch:
repository_dispatch:
types:
- trigger-ci-gpu

jobs:

stub_mt:
name: Always-succeed step to prevent appearing as a failure
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Do nothing
run: echo "Do nothing"

gpu-permission:
if: >
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && contains(fromJson('["lmeyerov", "tanmoyio", "aucahuasi", "silkspace", "DataBoyTx"]'), github.actor))
runs-on: ubuntu-latest
steps:
- name: Do nothing
run: echo "Do nothing"

cancel_outstanding:
name: Detect and cancel outstanding runs of this workflow
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && contains(github.event.label.name, 'gpu-ci'))
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Cancel Previous Runs
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cancel') }}
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}

test-full-ai:
needs: [ gpu-permission ]
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && contains(github.event.label.name, 'gpu-ci'))
runs-on:
group: GPU Runners - Public

strategy:
matrix:
python-version: ['3.10', 3.11, 3.12]

steps:

- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: nvidia-smi
run: nvidia-smi

- name: Install test dependencies
run: |
python -m venv pygraphistry
source pygraphistry/bin/activate
python -m pip install --upgrade pip
python -m pip install --extra-index-url=https://pypi.nvidia.com -e .[test,testai,ai,rapids]
echo "skrub: `pip show skrub | grep Version`"
echo "pandas: `pip show pandas | grep Version`"
echo "numpy: `pip show numpy | grep Version`"
echo "scikit-learn: `pip show scikit-learn | grep Version`"
echo "scipy: `pip show scipy | grep Version`"
echo "umap-learn: `pip show umap-learn | grep Version`"
- name: Test RAPIDS
shell: 'script -q -e -c "bash {0}"' # tty
run: |
source pygraphistry/bin/activate
python -c 'import cudf; v = cudf.DataFrame({\"x\": [1,2,3]}).x.sum(); print(\"got\", v); assert v == 6'
- name: Type check
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run: |
source pygraphistry/bin/activate
./bin/typecheck.sh
- name: Run all tests
run: |
source pygraphistry/bin/activate
python -m pytest --version
python -B -m pytest -vv
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,46 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Fixes
* Fix refresh function does not reset some variable in memory that cause weird behavior

## [0.35.9 - 2025-01-22]

### Docs

* Spanner: minor changes to html and markdown in notebook for proper rendering in readthedocs

## [0.35.8 - 2025-01-22]

### Docs

* Spanner: fix for plots rendering in readthedocs demo notebooks


## [0.35.7 - 2025-01-22]

### Feat

* added support for Google Spanner Graph and Google Spanner `spanner_gql_to_g` and `spanner_query_to_df`
* added new Google Spanner Graph demo notebook

## [0.35.6 - 2025-01-11]

### Docs

* Fix typo in new shaping tutorial
* Privacy-preserving analytics

## [0.35.5 - 2025-01-10]

### Docs

* New tutorial on graph shaping

## [0.35.4 - 2024-12-28]

### Fixes

* `Plottable._render` now typed as `RenderModesConcrete`
* Remote GFQL - Handle `output_type is None`

## [0.35.3 - 2024-12-24]

### Docs
Expand Down
10 changes: 10 additions & 0 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ graphistry.__version__

GitHub Actions: See `.github/workflows`

CI runs on every PR and updates them

### GPU CI

GPU CI can be manually triggered by core dev team members:

1. Push intended changes to protected branches `gpu-public` or `master`
2. Manually trigger action [ci-gpu](https://github.com/graphistry/pygraphistry/actions/workflows/ci-gpu.yml) on one of the above branches

GPU tests can also be run locally via `./docker/test-gpu-local.sh` .

## Debugging Tips

Expand Down
Loading

0 comments on commit 372b627

Please sign in to comment.