Guillaume Lagrange
b65a487300
Fix transpose onnx op (permute) ( #1657 )
2024-04-19 09:34:03 -04:00
Nico Zweifel
ee12aee2e7
fix: `window` -> `pub window` in `dataset/mod.rs` ( #1658 )
...
* update dataset/mod.rs
* Update mod.rs
* Update window.rs
2024-04-19 09:33:21 -04:00
Guillaume Lagrange
9fbcbed20f
Add where onnx op support ( #1653 )
...
* Add where onnx op support
* Add broadcasting support
* Remove broadcasting limitation comment
* Fix broadcasting in mask where
* Forgot to reflect changes in codegen test
* Fix clippy
2024-04-18 15:46:02 -04:00
Guillaume Lagrange
7705fd9c25
Add matmul ONNX op support ( #1638 )
...
* Mul onnx op already supported
* Add matmul onnx op checks and tests
* Add missing eq derives
* Change supscript symbol
* Remove dead code
* Add support for matmul broadcast
* No more broadcasting restrictions
* Add results comment for mm, mv and vm
2024-04-18 09:20:31 -04:00
Dilshod Tadjibaev
2a721a9d0c
Enable native sign operation for Candle backend ( #1647 )
...
* Enable native sign operation for Candle backend
* Use fixed revision
2024-04-17 09:07:56 -04:00
Guillaume Lagrange
424033283a
Add reduce max ONNX op support ( #1636 )
...
* Add reduce max onnx op support
* Fix comments on tensor rank 1 result
2024-04-17 08:26:46 -04:00
Sylvain Benner
2d264e9a74
[burn-book] Fix broken URL to SUPPORTED-ONNX-OPS.md ( #1651 )
2024-04-17 08:15:32 -04:00
Sylvain Benner
e700aa0cbf
[burn-book] Fix typos in getting started ( #1650 )
2024-04-17 08:04:20 -04:00
Nico Zweifel
5a3f345734
WindowDataset/windows function ( #1553 )
2024-04-17 07:51:53 -04:00
Louis Fortier-Dubois
e4b80bad5e
Many superficial fixes to the contributor book ( #1644 )
...
* wip
* many fixes in the contributor book
* undo candle modif
* oops candle changes shouldnt have been there
* typo
* fix commands
2024-04-16 17:17:11 -04:00
Guillaume Lagrange
0ee2021567
Fix guide project name in the book ( #1631 )
2024-04-16 09:38:13 -04:00
Gadersd
1235b06e25
Improve grammar ( #1619 )
2024-04-16 09:32:42 -04:00
github-actions[bot]
adb31dd943
Combined PRs ( #1643 )
...
* Bump getrandom from 0.2.13 to 0.2.14
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.13 to 0.2.14.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14 )
---
updated-dependencies:
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump sysinfo from 0.30.8 to 0.30.10
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.30.8 to 0.30.10.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/v0.30.10/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.30.8...v0.30.10 )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump async-trait from 0.1.79 to 0.1.80
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.79 to 0.1.80.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.79...0.1.80 )
---
updated-dependencies:
- dependency-name: async-trait
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>
2024-04-16 09:29:59 -04:00
Guillaume Lagrange
35b36bbe62
Add shape ONNX op support ( #1639 )
...
* Add shape onnx op support
* Remove cast node from onnx graph
* Fix shape implementation
* Fix shape config error message
* Fix typo
* Fix clippy type complexity for generated code
2024-04-16 09:28:21 -04:00
Guillaume Lagrange
6d96e8d808
[ONNX] Add not op and extend cast support to tensors ( #1634 )
...
* Add not onnx op support
* Extend cast onnx support to tensors
* Fix clippy
2024-04-16 08:45:25 -04:00
Mathias Insley
7377bbe31c
Feat/remainder ( #1597 )
...
* Add remainder_scalar op to numeric trait and associated int/float functions
* Update burn-tch crate
* Update ndarray crate
* Update jit crate
* Update candle crate
* Update fusion crate
* Update autodiff crate
* Forgot float.rs for fusion
* Add burn-tensor tests
* Redirect to the pre-existing modulus op
* Fix sign
* Remove mut from burn-tch
* Use sign trick to make wgpu backend work
* Add more unit tests in to cover bases
* Naming fix for burn-fusion
* Update tests w/PyTorch link
* Use different WGSL instructions for remainder
* Redirect to remainder Operator instead of modulo
* Revert Modulo in instruction.rs
2024-04-16 08:35:20 -04:00
Mathias Insley
48c61ebb81
Docs/update contributor book ( #1622 )
...
* Update links to latest commit off main
* Some pedantry
* Update links and add jit
* Update instructions for burn-jit and wgpu
* Updated import section with more recent links
* Some grammar/typo/styling fixes
* Code added to burn-wgpu too
2024-04-16 08:33:59 -04:00
Guillaume Lagrange
d5f20e2711
Add reduce mean ONNX op support ( #1637 )
...
* Add reduce mean onnx op support
* Fix comment
2024-04-16 07:59:35 -04:00
Dilshod Tadjibaev
340a12463a
Update SUPPORTED-ONNX-OPS.md ( #1641 )
2024-04-16 07:52:15 -04:00
Guillaume Lagrange
81a67b6a09
Add sin onnx op support ( #1633 )
2024-04-15 15:28:16 -04:00
github-actions[bot]
adf25fcf3a
Combined PRs ( #1628 )
...
* Bump anyhow from 1.0.81 to 1.0.82
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump quote from 1.0.35 to 1.0.36
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: quote
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>
2024-04-15 15:18:30 -04:00
Sylvain Benner
e303e31c8b
Bump next version of Burn to 0.14.0 ( #1618 )
2024-04-12 17:14:45 -04:00
Guillaume Lagrange
cf7b279e5e
Fix burn README symlink ( #1617 )
2024-04-12 16:00:47 -04:00
Guillaume Lagrange
9980db440d
Remove unused assets ( #1616 )
2024-04-12 15:48:16 -04:00
Guillaume Lagrange
4fea2b51bb
Add burn-jit dep to wgpu publish ( #1615 )
2024-04-12 15:34:27 -04:00
Guillaume Lagrange
7ccaba68bc
Add missing ndarray dep for tests ( #1614 )
2024-04-12 15:22:21 -04:00
Guillaume Lagrange
264c167c11
Update licenses symlinks ( #1613 )
2024-04-12 14:43:58 -04:00
Sylvain Benner
b4ef118646
[xtask] Fix cargo_run for publish command ( #1611 )
2024-04-12 14:14:30 -04:00
Sylvain Benner
09d4c709f4
Add BSL notice for error-code and clipboard-win ( #1612 )
2024-04-12 14:06:28 -04:00
Guillaume Lagrange
9ce9dd4c21
Add burn-jit crate to publish workflow ( #1609 )
2024-04-12 13:18:31 -04:00
Guillaume Lagrange
63947d20a2
Fix missing clone derive for MnistBatcher in the book ( #1608 )
2024-04-12 12:16:28 -04:00
Nathaniel Simard
ff844b1667
Fix candle backend sync ( #1579 )
...
* Fix candle backend sync
* tch mps sync
* clippy
---------
Co-authored-by: louisfd <louisfd94@gmail.com>
2024-04-12 12:15:50 -04:00
Aasheesh Singh
fb1da53a38
support for rotary positional encoding to transformer modules. ( #1604 )
...
* add rotary positional encoding to transformer modules.
* fix f64 error
* use num_traits
* add panic condition
2024-04-12 11:45:49 -04:00
Guillaume Lagrange
06ce2b02d6
Fix missing device in custom training loop book example ( #1606 )
2024-04-12 10:34:04 -04:00
Louis Fortier-Dubois
23210f05f2
JIT: Autotune matmul tiling 2d unroll ( #1601 )
...
* autotune tiling 2d unroll
* clippy
* forgotten important stuff
2024-04-12 10:15:21 -04:00
Nathaniel Simard
07a61a1cec
Fix autodiff memory management graph cleaning ( #1602 )
2024-04-11 16:21:00 -04:00
Guillaume Lagrange
0cbe9a927d
Add learner training report summary ( #1591 )
...
* Add training report summary
* Fix LossMetric batch size state
* Add NumericEntry de/serialize
* Fix clippy suggestion
* Compact recorder does not use compression (anymore)
* Add learner summary expected results tests
* Add summary to learner builder and automatically display in fit
- Add LearnerSummaryConfig
- Keep track of summary metrics names
- Add model field when displaying from learner.fit()
2024-04-11 12:32:25 -04:00
Louis Fortier-Dubois
bdb62fbcd0
Repeat ops autodiff & fusion + fix autodiff ones & zeros ( #1600 )
...
* added repeat to autodiff and fusion + zero one backend init in autodiff
* autodiff for repeat
2024-04-11 11:32:45 -04:00
Sylvain Benner
15f2e49aca
Add Blaze badge. ( #1595 )
...
* Add Blaze badge.
Co-authored-by: David Chavez <david@dcvz.io>
2024-04-11 09:53:55 -04:00
David Chavez
4488e89704
[CI] Add a retry on adding ppa for kisak ( #1599 )
...
* Add a retry on adding ppa for kisak
* Share llvmpipe installation
2024-04-11 09:13:57 -04:00
David Chavez
a880d2cf64
Migrate workflows to use Blaze runners ( #1596 )
2024-04-10 14:07:41 -04:00
github-actions[bot]
4befea5f70
Combined PRs ( #1590 )
...
* Bump h2 from 0.3.24 to 0.3.26 in the cargo group
Bumps the cargo group with 1 update: [h2](https://github.com/hyperium/h2 ).
Updates `h2` from 0.3.24 to 0.3.26
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump getrandom from 0.2.12 to 0.2.13
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.12 to 0.2.13.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13 )
---
updated-dependencies:
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump async-trait from 0.1.77 to 0.1.79
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.77 to 0.1.79.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.79 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump half from 2.3.1 to 2.4.1
Bumps [half](https://github.com/starkat99/half-rs ) from 2.3.1 to 2.4.1.
- [Release notes](https://github.com/starkat99/half-rs/releases )
- [Changelog](https://github.com/starkat99/half-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/starkat99/half-rs/compare/v2.3.1...v2.4.1 )
---
updated-dependencies:
- dependency-name: half
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump sysinfo from 0.30.7 to 0.30.8
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.30.7 to 0.30.8.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.30.7...v0.30.8 )
---
updated-dependencies:
- dependency-name: sysinfo
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>
2024-04-09 15:01:58 -04:00
M S Hrishikesh
80a41b810e
Fixes to code examples in section 5.2 ( #1594 )
...
* Fixes to code examples in section 5.2
* A more generic way to get a device for code examples in Burn book section 5.2
* Change run-checks instruction + fix comment spacing
---------
Co-authored-by: hrishim <hrishim@gail.com>
Co-authored-by: Guillaume Lagrange <lagrange.guillaume.1@gmail.com>
2024-04-09 11:12:37 -04:00
Dilshod Tadjibaev
2f885480ed
Use num-traits for float ops ( #1584 )
2024-04-08 10:16:20 -05:00
Sylvain Benner
ca3dcb9daf
[backend-comparison] Update README ( #1581 )
2024-04-06 21:06:03 -04:00
Guillaume Lagrange
f3e0aa6689
Add multi-label classification dataset and metric ( #1572 )
...
* Add multilabel classification dataset
- Add MultiLabel annotation support
- Refactor de/serialize annotation with AnnotationRaw
- Add ImageFolderDataset::with_items methods
* Fix custom-image-classification example deps
* Add image_folder_dataset_multilabel test
* Do not change class names order when provided
* Add hamming score and multi-label classification output
* Add new_classification_with_items test
* Fix clippy suggestions
* Implement default trait for hamming score
* Remove de/serialization and use AnnotationRaw as type
* Fix clippy
* Fix metric backend phantom data
2024-04-05 13:16:46 -04:00
Louis Fortier-Dubois
f5159b6d22
Refactor: split JitKernel and SourceKernel ( #1569 )
...
* refactor execute_dynamic into Execution
* minor change
* extension cfg
* jitkernel and sourcekernel
* add todo statement
* cleanup and docs
* update book
* fix server dependancy on compiler
* refactor into shader information
* refactor to compile shader once
* clippy
* clippy
* clippy
* fix doc
* fix doc
* fmt
* rename feature flag
* refactor
* All broked
* compile at the right time
* todo done
* all dynamic
* all dynamic in template too
* fmt
* fix ci
---------
Co-authored-by: nathaniel <nathaniel.simard.42@gmail.com>
2024-04-05 12:58:10 -04:00
Nathaniel Simard
1239d9bfa3
[Breaking] Make Tensor, Module, Optimizer !Sync + Refactor Autodiff ( #1575 )
2024-04-04 16:01:17 -04:00
Guillaume Lagrange
ce898ff899
Fix pytorch recorder adapt_linear when using autodiff backend ( #1576 )
...
* Fix pytorch recorder adapt_linear when using autodiff backend
* Fix comment typo
2024-04-04 12:29:24 -04:00
Sylvain Benner
65222761fd
[backend-comparison] Add URL to browse results on burn.dev website ( #1573 )
2024-04-04 10:06:30 -04:00