Skip to content

added device_id as param to init() to support gpu selection #74

added device_id as param to init() to support gpu selection

added device_id as param to init() to support gpu selection #74

Triggered via pull request January 28, 2026 18:05
Status Success
Total duration 21s
Artifacts

test.yml

on: pull_request
Lint & Import Check
11s
Lint & Import Check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (I001): rtxpy/rtx.py#L18
rtxpy/rtx.py:18:1: I001 Import block is un-sorted or un-formatted
Ruff (E402): rtxpy/rtx.py#L18
rtxpy/rtx.py:18:1: E402 Module level import not at top of file
Ruff (I001): rtxpy/rtx.py#L8
rtxpy/rtx.py:8:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): rtxpy/__init__.py#L7
rtxpy/__init__.py:7:5: F401 `.rtx.get_current_device` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): rtxpy/__init__.py#L6
rtxpy/__init__.py:6:5: F401 `.rtx.list_devices` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): rtxpy/__init__.py#L5
rtxpy/__init__.py:5:5: F401 `.rtx.get_device_properties` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): rtxpy/__init__.py#L4
rtxpy/__init__.py:4:5: F401 `.rtx.get_device_count` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): rtxpy/__init__.py#L3
rtxpy/__init__.py:3:5: F401 `.rtx.has_cupy` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F401): rtxpy/__init__.py#L2
rtxpy/__init__.py:2:5: F401 `.rtx.RTX` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (I001): rtxpy/__init__.py#L1
rtxpy/__init__.py:1:1: I001 Import block is un-sorted or un-formatted