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
8 changes: 4 additions & 4 deletions .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: ${{ github.event_name == 'workflow_dispatch' && fromJson('["ubuntu-latest","macos-latest","windows-latest"]') || fromJson('["ubuntu-latest"]') }}
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
python-version: ['3.10', 3.11, 3.12, 3.13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
fail-fast: false
matrix:
os: ${{ github.event_name == 'workflow_dispatch' && fromJson('["ubuntu-latest","macos-latest","windows-latest"]') || fromJson('["ubuntu-latest"]') }}
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
python-version: ['3.10', 3.11, 3.12, 3.13]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
fail-fast: false
matrix:
os: ${{ github.event_name == 'workflow_dispatch' && fromJson('["ubuntu-latest","macos-latest","windows-latest"]') || fromJson('["ubuntu-latest"]') }}
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
python-version: ['3.10', 3.11, 3.12, 3.13]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
fail-fast: false
matrix:
os: ${{ github.event_name == 'workflow_dispatch' && fromJson('["ubuntu-latest","macos-latest","windows-latest"]') || fromJson('["ubuntu-latest"]') }}
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
python-version: ['3.10', 3.11, 3.12, 3.13]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![License](https://img.shields.io/github/license/analysiscenter/batchflow.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Python](https://img.shields.io/badge/python-3.9-blue.svg)](https://python.org)
[![Python](https://img.shields.io/badge/python-3.10-blue.svg)](https://python.org)
[![PyTorch](https://img.shields.io/badge/PyTorch-2.0-orange.svg)](https://pytorch.org)
[![codecov](https://codecov.io/gh/analysiscenter/batchflow/branch/master/graph/badge.svg)](https://codecov.io/gh/analysiscenter/batchflow)
[![PyPI](https://badge.fury.io/py/batchflow.svg)](https://badge.fury.io/py/batchflow)
Expand Down
3 changes: 1 addition & 2 deletions batchflow/batch_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
except ImportError:
pass

from scipy.ndimage.filters import gaussian_filter
from scipy.ndimage.interpolation import map_coordinates
from scipy.ndimage import gaussian_filter, map_coordinates

from .batch import Batch
from .decorators import action, apply_parallel, inbatch_parallel
Expand Down
2 changes: 1 addition & 1 deletion batchflow/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class GPUResourceMonitor(ResourceMonitor):
""" If the `CUDA_VISIBLE_DEVICES` is set, check it and return device numbers. Otherwise, return [0]. """
def __init__(self, function=None, frequency=0.1, gpu_list=None, **kwargs):
if pynvml is None:
raise ImportError('Install Python interface for pynvml')
raise ImportError('Install nvidia-ml-py to use GPU monitoring functionality')
super().__init__(function=function, frequency=frequency, **kwargs)

# Fallback to env variable
Expand Down
6 changes: 0 additions & 6 deletions check_release_version.py

This file was deleted.

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "batchflow"
version = "0.9.3"
version = "0.9.4"
description = "ML pipelines, model configuration and batch management"
authors = [{ name = "Roman Kh", email = "[email protected]" }]
license = {text = "Apache License 2.0"}
Expand All @@ -13,11 +13,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering"
]

requires-python = ">=3.9"
requires-python = ">=3.10"

dependencies = [
"dill>=0.3",
Expand All @@ -37,12 +37,12 @@ image = [

research = [
"multiprocess>=0.70",
"py-nbtools>=0.9.14"
"py-nbtools>=0.9.15"
]

monitor = [
"psutil",
"pynvml"
"nvidia-ml-py"
]

nn = [
Expand Down
Loading
Loading