Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directories:
- "/.github/workflows"
schedule:
interval: "monthly"
cooldown:
default-days: 5
groups:
github-actions:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/build_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
platform: [ubuntu-22.04, ubuntu-22.04-arm]
include:
- image: "manylinux2014_x86_64"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Python Unit Tests

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

jobs:
Ubuntu-Python-Unit-Test:
Expand All @@ -9,8 +9,8 @@ jobs:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
platform: [ubuntu-20.04, ubuntu-22.04, ubuntu-22.04-arm]
python-version: ["3.11", "3.12", "3.13", "3.14"]
platform: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm]

runs-on: ${{ matrix.platform }}

Expand Down Expand Up @@ -38,18 +38,18 @@ jobs:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13", "3.14"]

runs-on: ubuntu-latest
container: amazonlinux:2
container: amazonlinux:2023

steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
yum -y update
yum -y groupinstall 'Development Tools'
amazon-linux-extras install epel -y
yum install spal-release -y
yum install openblas-devel -y
- name: Set up Python ${{ matrix.python-version }} via miniconda
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style_type_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
- name: Set up Python 3.13
uses: actions/setup-python@v1
with:
python-version: "3.9"
python-version: "3.13"
- name: Install dependencies
id: install-dep
run: |
Expand Down
2 changes: 1 addition & 1 deletion pecos/core/ann/quantizer_impl/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace ann {
for (index_type m = 0; m < num_local_codebooks; m++) {
std::vector<index_type> indices(n_data, 0);
std::iota(indices.data(), indices.data() + n_data, 0);
std::random_shuffle(indices.data(), indices.data() + n_data);
std::shuffle(indices.data(), indices.data() + n_data, std::default_random_engine{});
for (index_type i = 0; i < sub_sample_points; i++) {
offset = (mem_index_type) indices[i] * global_dimension;
std::memcpy(
Expand Down
Loading