Commit Graph

936 Commits

Author SHA1 Message Date
louisfd 992564587c Merge branch 'main' into feat/autodiff/checkpoint 2024-02-20 07:37:48 -05:00
louisfd 12cd9a3b90 refactor memory bound api 2024-02-19 18:22:00 -05:00
github-actions[bot] 188b619002
Combined PRs (#1327)
* Bump clap from 4.5.0 to 4.5.1

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.0...v4.5.1)

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

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

* Bump syn from 2.0.48 to 2.0.49

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.48 to 2.0.49.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.48...2.0.49)

---
updated-dependencies:
- dependency-name: syn
  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>
2024-02-19 08:53:41 -05:00
dependabot[bot] 866daa0fa4
Bump clap from 4.5.0 to 4.5.1 (#1318)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.0...v4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 08:49:09 -05:00
Guillaume Lagrange 80f3cddcc1
Fix LogEventStore end epoch log (#1314) 2024-02-19 08:45:54 -05:00
Sylvain Benner 9e61b6687a
[CI] Trigger test suite when Cargo.lock file is updated (#1326) 2024-02-19 06:38:45 -05:00
Nathaniel Simard 843dd492c2
[Refactor] Just-In-Time Compilation Pipeline (#1313) 2024-02-16 14:45:59 -05:00
dependabot[bot] 24287237d1
Bump env_logger from 0.11.1 to 0.11.2 (#1308)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.1...v0.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 14:19:53 -05:00
dependabot[bot] 89520b2b73
Bump arboard from 3.3.0 to 3.3.1 (#1307)
Bumps [arboard](https://github.com/1Password/arboard) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/1Password/arboard/releases)
- [Changelog](https://github.com/1Password/arboard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/1Password/arboard/compare/v3.3.0...v3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 14:19:42 -05:00
louisfd 75ee760f8c clippy 2024-02-16 14:11:35 -05:00
louisfd b445187ce1 fmt 2024-02-16 14:08:08 -05:00
louisfd 0ea7ee2011 confident everything works 2024-02-16 14:01:53 -05:00
louisfd 612919bd21 wip bugfixes 2024-02-16 10:02:06 -05:00
louisfd cb03b983a5 refactor and doc 2024-02-15 19:02:50 -05:00
louisfd 94a8373b1b automatic tests 2024-02-15 15:01:27 -05:00
Dilshod Tadjibaev 44266d5fd4
Make all struct CamelCase (#1316) 2024-02-15 13:00:37 -06:00
louisfd 8174b4a66b it works 2024-02-15 13:06:44 -05:00
Dilshod Tadjibaev dfb739c89a
Rename GELU to Gelu (#1311)
* Rename GELU to Gelu

This is to follow Rust naming convention
2024-02-15 10:39:06 -06:00
Joshua Ferguson d1273d4963
Unsqueeze op (#1236) 2024-02-15 10:33:41 -05:00
Jakub 3592f3799a
fix(book): add missing second parameter to CrosEntropyLoss constructor (#1301)
* fix(book): add missing second parameter to CrosEntropyLoss constructor

CrossEntropyLoss::new() expects two parameters, the pad_index and the device

* fix: fix missing closing parenthese
2024-02-15 09:46:41 -05:00
louisfd 1e520fbcbd wip 2024-02-14 16:48:04 -05:00
Sylvain Benner 00b6c7d136
[backend-comparison] Add GitHub authentication to burnbench CLI (#1285)
* [backend-comparison] Add auth command to burnbench CLI

* [backend-comparison] Add --share argument to Burnbench CLI

* Cargo clippy fixes

* Fix typos

* Add comment to explain the FIVE_SECONDS constant

* Use num_args to force at least one arg value and make args required

In the run command, makes the --benches and --backends required
The manual check is no longer necessary

* Use and_then instead of match

* Simplify token verification

* Use map_or instead of match
2024-02-13 11:16:53 -05:00
Sylvain Benner 62809cdb30
[CI] Add workflow to test dependencies and update Cargo.lock (#1303) 2024-02-13 10:49:13 -05:00
Jakub a68b494531
fix(book): add missing device parameter to mode.init() (#1302) 2024-02-13 09:34:03 -05:00
dependabot[bot] 938a9d00b3
Bump clap from 4.4.18 to 4.5.0 (#1281)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.18 to 4.5.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.18...clap_complete-v4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 16:24:18 -05:00
Sylvain Benner 5b48e8d131
[CI] Set minimum supported version of Rust to 1.75 (#1297) 2024-02-12 15:16:42 -05:00
Nathaniel Simard dfc65abd52
[Refactor] Just-In-Time Backend (#1280) 2024-02-12 12:15:07 -05:00
github-actions[bot] 03bbc64031
Combined PRs (#1295)
Combined PRs ➡️📦⬅️
 The following pull requests have been successfully combined on this PR:

Closes Bump thiserror from 1.0.56 to 1.0.57 #1293 Bump thiserror from 1.0.56 to 1.0.57
Closes Bump tokenizers from 0.15.1 to 0.15.2 #1292 Bump tokenizers from 0.15.1 to 0.15.2
Closes Bump bytemuck from 1.14.1 to 1.14.3 #1291 Bump bytemuck from 1.14.1 to 1.14.3
Closes Bump indicatif from 0.17.7 to 0.17.8 #1290 Bump indicatif from 0.17.7 to 0.17.8
2024-02-12 10:42:15 -05:00
Dilshod Tadjibaev 16541ea523
Fix out of memory bug #1270 (#1286) 2024-02-12 09:53:36 -05:00
Louis Fortier-Dubois 397bc02d8b
Fix/conv2d/fan (#1287) 2024-02-12 09:51:43 -05:00
louisfd 2a8a18ac83 wip 2024-02-10 12:24:05 -05:00
Guillaume Lagrange 8f753b3aae
Update TORCH_CUDA_VERSION usage (#1284) 2024-02-10 12:01:45 -05:00
Guillaume Lagrange 88f5a3e88c
Add `burn::data::network::downloader` (#1283) 2024-02-10 11:54:33 -05:00
louisfd c1fae225b9 passes tests 2024-02-08 12:40:18 -05:00
Nathaniel Simard fb6cc2db62
[Refactor] Create an Intermediate representation of compute shaders on the GPU (#1274) 2024-02-08 12:34:37 -05:00
louisfd d1b5c0810b dirty - post pair prog 2024-02-08 11:31:02 -05:00
Nathaniel Simard a9b6dbc177
Enable burn fusion by default (#1223) 2024-02-08 11:28:02 -05:00
dependabot[bot] 685d30fb46
Bump tempfile from 3.9.0 to 3.10.0 (#1277)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.9.0 to 3.10.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 09:38:56 -05:00
dependabot[bot] 1dc022cc54
Bump num-traits from 0.2.17 to 0.2.18 (#1275)
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.17 to 0.2.18.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.17...num-traits-0.2.18)

---
updated-dependencies:
- dependency-name: num-traits
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 09:38:30 -05:00
louisfd f9a2e74c8a fix bugs 2024-02-08 09:03:18 -05:00
Guillaume Lagrange c603c68258
Fix chain pattern matching when multiple patterns are provided (#1273) 2024-02-07 16:51:48 -05:00
louisfd 4fc46488b1 notes 2024-02-07 12:24:17 -05:00
louisfd 99fda7b668 some use cases work 2024-02-07 11:33:36 -05:00
louisfd e321dabd6d compiles 2024-02-07 10:04:15 -05:00
yurzhang 419e53bc42
Support signed value for `Tensor::arange` (#1238) 2024-02-07 09:33:01 -05:00
Sylvain Benner 5bef9d8432
[backend-comparison] Burnbench CLI (#1260) 2024-02-07 09:28:02 -05:00
dependabot[bot] f6ea74721b
Bump the wasm-bindgen-dependencies group with 2 updates (#1271)
Bumps the wasm-bindgen-dependencies group with 2 updates: [js-sys](https://github.com/rustwasm/wasm-bindgen) and [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen).


Updates `js-sys` from 0.3.67 to 0.3.68
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Updates `wasm-bindgen-futures` from 0.4.40 to 0.4.41
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: js-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: wasm-bindgen-dependencies
- dependency-name: wasm-bindgen-futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: wasm-bindgen-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 09:22:38 -05:00
Guillaume Lagrange 059c241511
Add vision feature for MNIST in book guide (#1267) 2024-02-07 09:21:35 -05:00
Guillaume Lagrange d2bdc46786
Allow multiple pattern matches in chain (#1269) 2024-02-06 20:09:38 -06:00
louisfd 7cade3caa3 wip integrate to ops 2024-02-06 17:48:43 -05:00