Skip to content

Commit

Permalink
Bumped numba, needed for python 3.12 (#1177)
Browse files Browse the repository at this point in the history
Closes: #1173
  • Loading branch information
MischaPanch authored Jul 20, 2024
1 parent 324e3d2 commit f2d80cf
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 71 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/extra_sys.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
name: Windows/MacOS

on: [push, pull_request]

on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
cpu-extra:
runs-on: ${{ matrix.os }}
Expand All @@ -11,6 +23,9 @@ jobs:
os: [macos-latest, windows-latest]
python-version: [3.11]
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Cancel previous run
uses: styfle/[email protected]
with:
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/gputest.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
name: Ubuntu GPU

on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
gpu:
runs-on: [self-hosted, Linux, X64]
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Cancel previous run
uses: styfle/[email protected]
with:
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/lint_and_docs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
name: PEP8, Types and Docs Check

on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Cancel previous run
uses: styfle/[email protected]
with:
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
name: Ubuntu

on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
cpu:
Expand All @@ -10,6 +23,9 @@ jobs:
matrix:
python-version: ["3.11"]
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Cancel previous run
uses: styfle/[email protected]
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
- `atari_network.DQN`:
- Fix constructor input validation #1128
- Fix `output_dim` not being set if `features_only`=True and `output_dim_added_layer` is not None #1128
- `PPOPolicy`:
- Fix `max_batchsize` not being used in `logp_old` computation inside `process_fn` #1168

### Internal Improvements
- `Collector`s rely less on state, the few stateful things are stored explicitly instead of through a `.data` attribute. #1063
Expand Down Expand Up @@ -101,10 +103,12 @@ continuous and discrete cases. #1032

### Tests
- Fixed env seeding it `test_sac_with_il.py` so that the test doesn't fail randomly. #1081
- Improved CI triggers and added telemetry (if requested by user) #1177

### Dependencies
- [DeepDiff](https://github.com/seperman/deepdiff) added to help with diffs of batches in tests. #1098
- Bumped black, idna, pillow
- New extra "eval"
- Bumped numba to >=60.0.0, permitting installation on python 3.12 # 1177

Started after v1.0.0
Loading

0 comments on commit f2d80cf

Please sign in to comment.