Commit Graph

456 Commits

Author SHA1 Message Date
Guillaume Lagrange
3b22a9538c Change Device::enumerate to return Devices list to apply transforms + re-enable distributed grads tests 2026-05-28 09:07:02 -04:00
Guillaume Lagrange
ada9700e88 Fix clippy + launch_multi text-classification 2026-05-27 15:52:12 -04:00
Charles23R
1b8c5321d4 refactor(rl): add inference device and update dqn example (#5009)
* update dqn-agent example

* update device stuff + couple bugs in dispatch

* update main and some utils

* deal with the whole to_device thing for off policy

* remove test code + fix warnings

* burn toml file
2026-05-26 10:07:26 -04:00
Guillaume Lagrange
e18a3c2e30 refactor(backends)!: remove associated element types & replace with device defaults (#5000)
* Remove multi backend router

* Remove associated element types; replaced by device defaults

* Fix wgpu devices

* Fix burn-store

* Fix cubecl backend extensions + device configs

* Missing fixes

* Fix clippy

* Fix wgpu backend feature gate in dispatch

* Fix wgpu/vulkan features for xtask tests

* Fix merge
2026-05-25 09:04:44 -04:00
Nathaniel Simard
0034f64bf0 feat(dispatch): add remote backend (#4994) 2026-05-22 17:36:42 -04:00
David M.
6a5b0e64ce feat(train): add training and evaluation progress logger and add them to the event processors (#4980)
* feat: add TrainingProgressLogger

* feat: add a debug implementation of TrainingProgressLogger

* feat: expose new optional progress_logger

* feat: rename trait function end_eval to end_epoch and update mnist example

* feat: add EvaluationProgressLogger trait

* fix: fix evaluation_logger override

* doc: add documentation for EvaluationProgressLogger

* feat: refactor training and evaluation logger to be more general and structured

* feat: put the new methods in full.rs pipeline and evaluation pipeline

* feat: put the new methods in full.rs pipeline and evaluation pipeline

* chore: removed boolean for FullEventTrainingProcessor

* chore: remove is_test_started from EvaluationEventPorcessor and add TestStart Event

* feat: add EndEpoch event and add TrainingProgressLogger in minimal.rs

* doc: updated doc

* doc: update documentation in pardigm.rs

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: address pr comments

* feat: update method signature from new traits

* fix: change output directory in mnist and add total_test to  EvalEven::start

* feat: add EndTest event and refactor evaluation pipeline to ugrade logging

* fix: reset default values in mnist example

* feat: add new event of TrainingProgressLogger to ddp algorithm

* fix: doc test and lint
2026-05-21 15:29:57 -04:00
Nathaniel Simard
8037309704 perf(core)!: improve compile times via opaque inner types to break dependency chain (#4977)
* Initial commit

* Improve compilation time

* Refactor device

* Device blob

* Improvements

* Autodiff fix

* Burn-std no cubecl dep

* WIP

* Autodiff

* Sanitize outside of generic

* Fix display compilation

* Clippy

* Improve device selection

* WIP

* Fix examples wip

* Fix fmt

* Cleanup

* Fmt

* Fix clippy

* Fix autodiff

* Fix test device

* Fix docs

* Fix tests

* Fmt

* Fix display

* Miri fix

* Improve comments

* Fix device

* Fix docs
2026-05-21 14:08:30 -04:00
Guillaume Lagrange
73b72bc92a refactor(extension): feature gate Tensor::from/into_primitive and add from/into_bridge w/ TensorKindId validation (#4961)
* Dispatch default_backend should not be enabled for wgpu_only

* Add extension feature with from/into primitive

* Fix usage in test

* Fix doc
2026-05-15 16:29:55 -04:00
Guillaume Lagrange
d30a82ae78 refactor(tensor): add BridgeTensor to bridge high-level tensor API with dispatch (#4958)
* Replace tensor primitive type

* Fix into_scalar calls

* Fix clippy

* Fix unused + bounds

* Fix extensions

* Rename to BridgeTensor

* Cargo fmt
2026-05-15 10:59:33 -04:00
Guillaume Lagrange
27964e0160 Refactor tensor kind traits (#4957)
* Remove generics from tensor kind traits and Elem associated type

* Move backend extension, re-export no types from burn_backend and fix into_scalar missing types

* Remove into/from primitive usage in burn-optim

* Fix backtrace

* Fix float_sort_with_indices int dtype

* Fix feature gated

* Remove dead code

* Add tensor primitive note

* Another note

* High level kind

* Working but still pub traits

* Fix into_scalar doc example

* Fix argsort out dtype

* Restrict ops traits to pub(crate)

* Add other backends for burn-vision
2026-05-14 14:02:44 -04:00
Nathaniel Simard
0c763dcd26 Refactor/isolate burn backend deps (#4954)
* Wip Tensor module moving

* WIP

* WIP

* Fix

* Fix dependencies

* Cleanup

* Fixes

* Fix docs

* Remove registered reference

* Fix refs

* set_default_dtypes is in burn-tensor

---------

Co-authored-by: Guillaume Lagrange <lagrange.guillaume.1@gmail.com>
2026-05-13 16:26:14 -04:00
Guillaume Lagrange
dbf03c516b [Breaking] Remove Tensor backend generic and add high-level Device struct (#4717)
* Remove backend generic from `Tensor` and add high-level `Device` struct

* Fix rfft

* WIP modules

* Cleanup flags

* Carry autodiff intent via checkpointing field

* Fix ctc loss test shape

* Fix imports

* Fix burn-collective & burn-communication

* Working core / nn / optim

* Removed from burn-rl

* Removed from burn-train

* Update lock

* Working mnist

* More examples

* Fix int/bool to_device with float AD device + add enumerate devices

* Working text-classification

* Fixed MultiGradientsParams usage + added gradient checkpointing to trainer

* Updated text-generation example

* Update comment

* Fix merge

* Remove backend generics from merge

* Update lock

* Remove from burn-store

* Fix burn-store dtype tests

* Remove circular dep to burn-tensor from burn-flex

* Cleanup

* Fix burn-store tests

* Fix seed

* Fix imports

* More examples

* Add `backend_extension` proc macro

* Working vision extension

* Missing merge changes

* More merge fixes

* tree

* Whoops

* Cleanup

* Not feature gated

* Fix wgpu kernel example

* Small change

* Update lock

* Cleanup

* Cargo fmt

* Clippy

* Remove burn-collective

* Cleanup

* Fix burn-store import

* Fallback to wgpu for workspace builds & blanket fusion impl

* Add `default_backend` fallback for burn-dispatch

* Gate unused var autodiff

* Fix no-std

* Refactor new tests

* Fix more tests

* Adjust ctc_loss backward f16 tolerance

* Fix test device for burn-core

* Fix test device

* Fix some docs

* Default to ndarray for now due to burn-flex CAS limitation

* Fix docs + ndarray default

* Add portable_atomic_util::Arc in burn-autodiff

* Add optim feature flag because it requires autodiff (fix no-std; not supported on all targets)

* Add Gradients high-level wrapper

* Fix types

* Fix test device

* Fix docs

* Fix burn-train auto merge

* Fix clippy

* WIP burn device override

* Fix dtype usage

* Remove test-metal

* Fix CI test flags

* Remove burn-train vision on metal

* Small note

* Missing metal feature for macos CI

* Fix docs

* Remove backend ops note

* Change set_default_dtypes to &mut self

* Fix mut device

* Fix burn-vision backend features

* Exclude burn-backend-tests from workspace tests (explicitly handled)
2026-05-13 10:03:12 -04:00
github-actions[bot]
ee2b832191 Combined PRs (#4944)
* Bump macerator from 0.3.2 to 0.3.3

Bumps [macerator](https://github.com/wingertge/macerator) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/wingertge/macerator/releases)
- [Changelog](https://github.com/wingertge/macerator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wingertge/macerator/compare/macerator-v0.3.2...macerator-v0.3.3)

---
updated-dependencies:
- dependency-name: macerator
  dependency-version: 0.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump opentelemetry-stdout from 0.31.0 to 0.32.0

Bumps [opentelemetry-stdout](https://github.com/open-telemetry/opentelemetry-rust) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/release_0.32.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.31.0...opentelemetry-stdout-0.32.0)

---
updated-dependencies:
- dependency-name: opentelemetry-stdout
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump openblas-src from 0.10.15 to 0.10.16

Bumps [openblas-src](https://github.com/blas-lapack-rs/openblas-src) from 0.10.15 to 0.10.16.
- [Release notes](https://github.com/blas-lapack-rs/openblas-src/releases)
- [Changelog](https://github.com/blas-lapack-rs/openblas-src/blob/master/CHANGELOG.md)
- [Commits](https://github.com/blas-lapack-rs/openblas-src/compare/openblas-src-v0.10.15...openblas-src-v0.10.16)

---
updated-dependencies:
- dependency-name: openblas-src
  dependency-version: 0.10.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-11 07:12:32 -04:00
Guillaume Lagrange
7ed1b6f1b5 Bump version to 0.22.0-pre.1 (#4933) 2026-05-08 10:50:16 -04:00
Guillaume Lagrange
fdf774b885 Update version to 0.21.0 (#4927)
* Update version to 0.21.0

* Update revs

* Update mnist model

* Add topk default impl back

* LibTorch topk

* Fix clippy

* Use published versions
2026-05-07 15:46:37 -04:00
Guillaume Lagrange
7728590d70 Update version to 0.21.0-pre.5 (#4921)
* Update version to 0.21.0-pre.5

* Update tests for n_fft assert
2026-05-05 15:51:51 -04:00
Guillaume Lagrange
8e485cb3fb Update version to 0.21.0-pre.4 (#4890) 2026-04-27 16:19:43 -04:00
Dilshod Tadjibaev
9a0ba1d81c Centralize internal burn-* deps in [workspace.dependencies] (#4876)
Consumers now say `workspace = true` instead of repeating
`path = "../burn-X", version = "=0.21.0-pre.3"` 180+ times.

Workspace deps pin `default-features = false` because Cargo forbids
consumers from overriding `default-features` when inheriting. Consumers
that previously enabled defaults now opt in with `features = ["default"]`.
2026-04-27 08:13:24 -04:00
Joshua Ferguson
c9b1a27a7d Split Associated Types from Backend into BackendTypes (#4868)
* split backend types from backend ops

* split associated types from backend into new BackendCore trait

* split associated types from backend into new BackendCore trait

* split associated types from backend into new BackendCore trait

* update doc strings

* doc string fixes

* change backendCore to BackendTypes

* remove BackendTypes for FloatTensorOps

* rename struct doesn't hit doc strings or apparently macros

* Cleanup

* Missing doc

* Missing import
2026-04-24 12:59:03 -04:00
Nathaniel Simard
7c3adae226 Add burn-std::config runtime configuration with fusion logging and search optimization (#4864) 2026-04-23 09:11:05 -04:00
Dilshod Tadjibaev
4e54d468c7 Display FlexDevice as Cpu (#4857)
* Display FlexDevice as Cpu

* Delegate FlexDevice Debug to Display to avoid drift
2026-04-21 15:36:00 -04:00
Dilshod Tadjibaev
994e9094ed Use burn-flex in docs and examples (#4841)
* Promote burn-flex over burn-ndarray in docs and examples

burn-ndarray stays available but is no longer referenced from any
user-facing path. All docs, book pages, examples, and notebooks now
point at burn-flex. burn-ndarray and burn-candle READMEs direct users
to burn-flex for new projects.

* Remove NdArray from remaining crate-level docs

Doc tests and module headers that still mentioned NdArray as an example
backend now point at Flex. Covers:
- burn-tensor linalg::lu doc example
- burn-router Router type doc example
- burn-dispatch available backends table (ndarray row marked legacy)
- burn-candle deprecation note migration target

* Update device.rs

* Address PR review: drop Flex generics, fix device format

- text-classification: drop Flex<ElemType, i32> generics in the flex
  modules (Flex only implements Backend for its default
  Flex<f32, i32>, so Flex<f16, i32> failed the Backend bound under
  --features flex,f16). Also fixed the same pre-existing bug in the
  ag-news-train flex module.
- onnx-import.md: use burn::backend::{Flex, flex::FlexDevice} so the
  sample code matches the Cargo.toml that only declares burn.
- tensor.md, notebook outputs: tensor display formats the device
  with {:?}, which renders FlexDevice (not Flex or Cpu).
2026-04-21 10:37:07 -04:00
Nathaniel Simard
21f6366281 Device service usage (#4839) 2026-04-20 14:13:51 -04:00
Nathaniel Simard
69fe3f2ceb Matmul selection (#4773) 2026-04-16 08:40:27 -04:00
Guillaume Lagrange
e6425da085 Update version to 0.21.0-pre.3 (#4757)
* Update version to 0.21.0-pre.3

* Use published pre.3 versions

* Add missing syn feature

* Move fusion tests

* Remove pretrained losses from burn-nn

* Move GramMatrixLoss to burn-vision

* Move burn-vision out of burn-core and into root burn crate

* Temporarily disable fusion tests using burn::nn
2026-04-08 15:24:08 -04:00
Nathaniel Simard
71081ee69b Fix select_assign OOB (#4760) 2026-04-08 15:06:02 -04:00
Charles23R
ab00b3897e Fix cubecl cuda all-reduce + remove useless check in distributed server (#4720)
* local dev

* text-cla params

* sync_collective timing

* print model

* add random test

* cleanup 1

* cleanup 2

* update cubecl versions

* lock
2026-04-07 09:46:05 -04:00
Nathaniel Simard
06dc9ff758 Perf/burn fusion overhead (#4645) 2026-04-01 16:16:51 -04:00
Guillaume Lagrange
a048051b8a Split TrainingStrategy to decouple the DistributedBackend requirement (#4710) 2026-04-01 12:15:48 -04:00
Charles23R
053f030d23 All reduce in backward (#4650)
* burn-rl tests

* agentenv loops unit tests

* rl feature flag

* lint

* typo

* typo

* mock docs

* publish workflow

* typo

* perform all reduce during the backward pass

* warnings, versionning, etc

* grad_sharded unit tests

* Remove R::supported_line_sizes

* refactor: Metadata optimization

* Revert temp fix

* Rename `ShapeError` to `MetadataError`

* Cleanup

* Bump cubecl and cubek rev

* Fix doc test

* Refactor `CubeOption`

* gradient sync server and communication ops on backends

* Migrated fusion

* Migrated cubecl fusion

* WIP

* WIP

* It compiles

* tests and bug fixes in gradsync

* WIP

* fallback impl all_reduce and improve is_finished

* Update to changes

* WIP

* WIP

* Burn cubecl

* WIP

* test cudas

* WIP

* WIP

* WIP

* FIX

* Update rev

* Clippy

* Update rev

* Update revs

* Once againt, update the rev to fix no-std

* Fix test compilation issue

* Migrate to runtime option refactor

* Update rev

* Debug + give names to threads

* Update stuff

* Remove prints

* Add 64-bit test for manually enabling and running

* Update to new cubecl rev

* Add rev

* Set rev

* all_reduce compatible with new cubecl

* lockfile

* tests work

* debug sync collective, more cleanup

* cleanup comments

* lockfile

* better syncing conditions

* local deps

* prints

* test 1 iter

* more prints

* logic error

* flush right place

* depbug

* more debug

* more debug

* debug again

* more debug

* try

* try

* try

* try

* compile fusion

* compile fusion

* updtae test

* typo

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* wip

* Flash attention selection

* wip

* update rev

* update rev

* callback sync collective

* clippy

* test

* test

* test

* clean test

* cleaner tests

* test

* test

* test

* test

* test

* test

* test

* text-cla ddp

* example features

* dir

* imports

* remove prints

* remove print

* remove print

* remove print

* change some naming to be consistent

* clean some stuff up

* simplify all_reduce and sync calls

* test smtg

* clean up

* test

* test

* test

* test

* test

* test

* tests

* tests

* tests

* tests

* remove prints

* renaming

* refactor distributed params

* distributed config

* test print

* fix example

* test_derive_module

* test

* test derive

* clean up and reset examples

* communication backend feature

* fix warnings

* communication feature flag

* remove print

* tests feature flags

* simplify sync for now

* fix deadlock

* fix warning

* typo

* remove useless sync

* fusion

* fusion

* fix tests

* autodiff ops

* deadcode

* WIP distributed backend trait refactor

* fix autodiff

* fix autodiff, move stuff around

* sort out backend stuff

* fix warning

* fix test

* Cleanup

* fix text-cla

* remove ndarray distributed

* distributed api doesnt leak in burn-train

---------

Co-authored-by: Genna Wingert <1058083+wingertge@users.noreply.github.com>
Co-authored-by: nathaniel <nathaniel.simard.42@gmail.com>
Co-authored-by: Guillaume Lagrange <lagrange.guillaume.1@gmail.com>
Co-authored-by: louisfd <louisfd94@gmail.com>
2026-03-31 16:59:08 -04:00
Genna Wingert
5b4b334632 chore: Update to upstream changes in cubecl (#4670)
* Update to register changes

* Fix clippy

* Fix candle

* Reformat
2026-03-25 08:13:21 -04:00
Guillaume Lagrange
a615c61451 Refactor backend tests to set device settings at initialization + use Dispatch (#4666)
* Fix autodiff device checkpointing

* Refactor tests and fix some out dtypes

* Cargo fmt

* Update xtask handle_backend_tests

* Remove debug

* Cleanup

* Fix remote dtype usage

* Feature gate f16 tests

* Fix default quant scheme

* Fix cuda enabled by default in workspace

* Cargo fmt

* Fix clippy

* Fix display

* Fix float elem metal

* Update notes

* Fix burn-store tests
2026-03-24 16:04:19 -04:00
Guillaume Lagrange
8f1ac9a7ed Bump rustls-webpki to 0.103.10 and tar to 0.4.45 (#4663)
* Bump rustls-webpki to 0.103.10

* Bump tar to 0.4.45
2026-03-23 08:29:42 -04:00
Guillaume Lagrange
4e962f9484 Remove named tensor (#4628) 2026-03-13 15:38:00 -04:00
Genna Wingert
fce1a57211 refactor: Vector size generic (#4624) 2026-03-13 08:36:34 -04:00
Nathaniel Simard
3c6b710dca Refactor/device handle (#4593) 2026-03-11 18:46:49 -04:00
Nathaniel Simard
91e784e3fb Bump versions (#4589) 2026-03-02 12:05:46 -05:00
Guillaume Lagrange
f451a12e8d Add evaluator summary (#4578)
* Add evaluator summary

* Add mnist summary

* Remove comment
2026-02-27 11:37:07 -05:00
Guillaume Lagrange
13b7513a2f [Feat] Global backend Dispatch (#4508)
* Add burn engine (WIP)

* Move feature flag checks

* Implemen device count

* Implement change_backend_float

* Simple example

* Multi backend WIP

* Cleanup

* WIP

* Big ol macro

* Comments

* Automatic backend repetition for macros

* Fix usage example

* Rename engine -> dispatch

* Rename to burn-dispatch

* Replace compile_error with build cfgs

* Cleanup

* Fix whitespace

* Clippy

* Ignore usage example

* Add From impls

* Implement transaction

* Remove example

* Fix warning

* Use in mnist example + fix issues

* WIP autodiff working (needs cleanup)

* Cleanup macros + complete ops

* Rename DispatchDevice

* Cargo fmt

* Add AutodiffDevice tuple struct wrapper

* Fix attn

* Use device.inner() for valid

* Fix clippy

* Revert example debug

* Fix doc

* Add autodiff doc + remove print

* Remove comments

* Rename DispatchDevice::autodiff
2026-02-25 13:10:49 -05:00
Tyooughtul
4567e84cb3 doc(notebook) : add more basic operations and some examples (#4542)
* doc(notebook) : add more basic operations and some examples
Add execution outputs to basic-tensor-op.ipynb
- Add outputs for trigonometric, reduction and comparison operations
- Add operation summary and PyTorch API comparison

Refactor plots.ipynb for autodiff and gradient descent
- Rewrite notebook to demonstrate autodiff and gradient flow
- Add GD from scratch and linear regression examples
- Update dependencies and remove unused plotting code

* resolve review feedback

* fix(notebook): - delete conclusion as review feedback
- use tensor instead of iter
- rename file
2026-02-24 08:12:41 -05:00
Dilshod Tadjibaev
9d2d87b8bf fix: resolve macOS build and test failures (#4545)
* fix: make vulkan feature opt-in for guide example

The guide example had `burn/vulkan` in its default features, which
caused `cargo build` to fail on macOS without the Vulkan SDK installed.
Workspace feature unification forced all workspace members to build
with the spirv feature, triggering a panic in cubecl-wgpu's build script.

Move vulkan to a non-default opt-in feature, matching the pattern used
by other examples (mnist, text-classification, server).

* skip burn-cuda tests on macOS

CUDA is not available on macOS. Gate the entire test module with
cfg(not(target_os = "macos")) to avoid test failures.

* fix burn-wgpu dtype test on macOS

Without the `metal` feature flag, wgpu still uses Metal at runtime on
macOS. The fallback test branch assumed a non-Metal GPU and asserted
F64 support, which Metal doesn't provide. Add a macOS-specific branch
that matches actual Metal runtime capabilities.

* enable vulkan by default on non-macOS for guide example

Use platform-conditional dependency to keep vulkan enabled by default
on Linux/Windows where it works without extra setup, while excluding
it on macOS where the Vulkan SDK is required.

* add comment for vulkan feature in guide example
2026-02-20 07:28:17 -05:00
Genna Wingert
66733ae0eb refactor: Metadata type/strides refactor (#4534)
* Remove R::supported_line_sizes

* refactor: Metadata optimization

* Revert temp fix

* Rename `ShapeError` to `MetadataError`

* Cleanup

* Bump cubecl and cubek rev

* Fix doc test

* Bump cubecl rev
2026-02-19 10:07:37 -05:00
Antonio Souza
d63bd6a21b Replace Vec-based TransitionBuffer with tensor-backed storage (#4504)
* Replace Vec-based TransitionBuffer with tensor-backed storage

Signed-off-by: arferreira <arfs.antonio@gmail.com>

* Use inplace for slice_assign

Signed-off-by: arferreira <arfs.antonio@gmail.com>

* Add SliceAccess trait for generic tensor-backed replay buffer

---------

Signed-off-by: arferreira <arfs.antonio@gmail.com>
2026-02-18 17:37:30 -05:00
Guillaume Lagrange
07f4132373 Remove getrandom w/ wasm_js backend (#4515) 2026-02-13 11:35:26 -05:00
Guillaume Lagrange
b7b388bac1 Upgrade to rand 0.10 (#4500)
* Upgrade to rand 0.10

* Clippy

* Fix examples

* Remove `From<&StdRng>` example

* Fix RngSource

* Remove import

* Cleanup

* Unused import

* Cleanup

* Update cubecl/cubek revs and regenerate lockfile

---------

Co-authored-by: Dilshod Tadjibaev <939125+antimora@users.noreply.github.com>
2026-02-10 18:55:21 -06:00
Nathaniel Simard
d4dbe9ef84 Chore: Pre-Release 0.21.0-pre.1 (#4494) 2026-02-09 15:47:05 -05:00
Charles23R
798c209094 Feature flag + Tests for RL in burn-rl and burn-train (#4470)
* burn-rl tests

* agentenv loops unit tests

* rl feature flag

* lint

* typo

* typo

* mock docs

* publish workflow

* typo
2026-02-09 11:58:09 -05:00
github-actions[bot]
10815f5cf8 Combined PRs (#4485)
* Bump interprocess from 2.2.3 to 2.3.1

Bumps [interprocess](https://github.com/kotauskas/interprocess) from 2.2.3 to 2.3.1.
- [Release notes](https://github.com/kotauskas/interprocess/releases)
- [Commits](https://github.com/kotauskas/interprocess/compare/2.2.3...2.3.1)

---
updated-dependencies:
- dependency-name: interprocess
  dependency-version: 2.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump getrandom from 0.3.4 to 0.4.1

Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.3.4 to 0.4.1.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.3.4...v0.4.1)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-version: 0.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump tracel-xtask from 4.12.3 to 4.13.1

Bumps [tracel-xtask](https://github.com/tracel-ai/xtask) from 4.12.3 to 4.13.1.
- [Release notes](https://github.com/tracel-ai/xtask/releases)
- [Commits](https://github.com/tracel-ai/xtask/compare/v4.12.3...v4.13.1)

---
updated-dependencies:
- dependency-name: tracel-xtask
  dependency-version: 4.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-09 07:48:17 -05:00
Charles23R
4b259aa3b3 Burn rl (#4447)
* wip burn-rl

* clean up types traits, remove paradigm trait, improve learner

* code quality

* book

* doc

* error in doc

* revert TrainStep rename and remove paradigm components

* trainstep refactor with assoc types

* fix docs

* fix warning

* comment

* remove evaluator step

* add more rl stuff and change Adaptor trait

* metrics for rl and revert adaptor change

* docs + cleanup event processor for rl

* policy vs agent refactor

* rework renderer

* policy no longer generic over env

* early version of checkpointing

* versioning

* off policy training loop

* naming consistency and loading from record

* naming

* add other backends

* strategies and configs

* env initializer and cum reward metric

* transition backend thing compiles

* mostly docs and naming

* reorganize files

* batchable trait and re-arrange some bounds

* start env runner refactor

* rework autobatcher and env_runnner episodes

* change autobatcher dynamic and tweak dqn params

* fix typos and warnings

* params tweeking

* file naming

* fix docs

* metrics api and dependency bump

* address PR comments and fix lint

* kill process when user kills training

* handle kill signal renderer

* format

* remove dqn-agent from ci tests bc of dependency issue
2026-02-04 15:55:44 -05:00
keke
5f13421c28 Scope RUSTFLAG for the wasm-pack build (#4358)
* Add check for wasm-bindgen installation

Check for wasm-bindgen installation and install if missing.

* Simplify build script by removing wasm-bindgen check

Removed installation check for wasm-bindgen.
2026-02-04 09:00:23 -05:00