Commit Graph

114 Commits

Author SHA1 Message Date
Sylvain Benner 9c5cb511fa
Rename CI workflow back to test.yml (#2225)
* Rename CI workflow back to test.yml

* Static job names in test workflow

This allows to have static status check names

* Remove need for a cache-version matrix variable
2024-08-30 19:09:55 -04:00
Sylvain Benner a88c69af4a
Refactor xtask to use tracel-xtask and refactor CI workflow (#2063)
* Migrate to xtask-common crate

* Fix example crate name for simple-regression

* Refactor CI workflows

* Flatten linux workflows

* Install grcov and typos from binaries

Although xtask-common support auto-installation of these tools via cargo
it is a lot faster to install them via the distributed binaries

* [CI] Update Rust caches on failure

* [CI] Add shell bash to jobs steps

* [CI] Try cache all crates

* Fix no-std tests not executing

* [CI] Add CARGO_INCREMENTAL 0

* Exclude tch and cuda from tests and merge crates and examples steps

* Fix some typos found with typos cli

* Add Windows and MacOS jobs

* Only test no-std with default rust target

* Fix syntax in composite action setup-windows

* Enable incremental build

* Upate cargo alias for xtask

* Bump to github action checkout v4

* Revert to tch 0.15 and disable WGPU on windows

* Fix color in output

* Add Test command

* Test long output errorring

* Build and test workspace before additional builds and tests

* Disable wgpu tests on windows

* Remove tests- prefix in CI workflow jobs name

* Add Checks command

* Rename ci workflow jobs

* Execute windows and macos CI tests on rust stable only

* Rename integration test files with a test_ prefix

* Fix format

* Don't auto-correct "arange" with typos

* Fix typos in code

* Merge unit and integration tests steps

* Fix macos tests

* Fix coverage step

* Name publish-crate workflow

* Fix bad cache name for macos

* Reorganize commands and get rid of the ci command

* Fix dispatch to customized commands for Burn

* Update to last version of tracel-xtask

* Remove unnecessary shell bash in ci workflow

* Update cargo.lock

* Fix format

* Bump tracel-xtask

* Simplify dispatch of base commands using updated macro

* Update to last version of tracel-xtask

* Adapt legacy run_checks script with new xtask commands

* Run xtask in debug for faster compilation time

* Ditch build step in ci and enable coverage for stable linux only

* Freeze tracel-xtask to specific commit rev

* Update cargo.lock

* Update Step 6 of CONTRIBUTING guidelines about run-checks script

* Remove unneeded CI and CD paragraphgs in CONRIBUTING.md

* Change cache version

* Fix typos

* Use centralized actions and workflows

* Update to last version of tracel-xtask

* Update CONTRIBUTING file to mention integration tests

* Add custom build for thumbv6m-none-eabi

* Ignore onnx files for typos check

* Fix action and workflow paths in github workflows

* Fix custom builds on MacOS

* Bump tracel-xtask crate to last version

* Update Cargo.lock

* Update publish workflow to use reusable workflow in tracel repo

* Add --ci flag for build and test commands
2024-08-28 15:57:13 -04:00
nathaniel 0edfc38857 Remove burn-compute from github action 2024-08-27 12:39:01 -04:00
nathaniel 7eb3a7b27a Add cuda in CI publish 2024-08-27 12:36:19 -04:00
github-actions[bot] 9405713d2b
Combined PRs (#2108)
* Bump serde_json from 1.0.121 to 1.0.122

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.122.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122)

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

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

* Bump regex from 1.10.5 to 1.10.6

Bumps [regex](https://github.com/rust-lang/regex) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6)

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

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

* Bump wgpu from 22.0.0 to 22.1.0

Bumps [wgpu](https://github.com/gfx-rs/wgpu) from 22.0.0 to 22.1.0.
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/wgpu-v22.1.0/CHANGELOG.md)
- [Commits](https://github.com/gfx-rs/wgpu/compare/wgpu-v22.0.0...wgpu-v22.1.0)

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

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

* Bump tempfile from 3.10.1 to 3.11.0

Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.10.1 to 3.11.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0)

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

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

* Bump flate2 from 1.0.30 to 1.0.31

Bumps [flate2](https://github.com/rust-lang/flate2-rs) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/commits)

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

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

* Bump EmbarkStudios/cargo-deny-action from 1 to 2

Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action) from 1 to 2.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases)
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-08-05 11:43:58 -04:00
dependabot[bot] 2046831df6
Bump github/combine-prs from 5.0.0 to 5.1.0 (#2039)
Bumps [github/combine-prs](https://github.com/github/combine-prs) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/github/combine-prs/releases)
- [Commits](https://github.com/github/combine-prs/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: github/combine-prs
  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-07-24 11:03:45 -04:00
Sylvain Benner b6784684a1 Bump rust minimal version to 1.79
That's because bitstream-io, a dependency of rav1e, started using
a feature only in Rust 1.79.
2024-07-18 09:15:49 -04:00
Joshua Ferguson 25348cf181
Separating ONNX parsing from burn-import (#1921)
* separating onnx parsing from burn-import

* ran clippy and cargo-fmt

* removed unused deps from onnx-ir

* fixed clippy warnings that were causing run-checks to fail

* removed dead code

* removed unused dependencies from burn-import

* updated contributor-book, updated publish.yml, added readme

* update cargo lock

* formatted md document with prettier, rephrased sentence

* missed the errors with reduce_prod_conversion during merge

* formatted onnx-to-burn-conversion-tool.md, forgot to save
2024-07-02 15:17:44 -05: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 9ce9dd4c21
Add burn-jit crate to publish workflow (#1609) 2024-04-12 13:18:31 -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
Sylvain Benner bc39e4c7a1
[CI] Use GitHub's own action to generate GitHub App token (#1437) 2024-03-12 13:05:32 -04:00
Sylvain Benner 59c84a6cf8
Update Cargo.lock workflow to trigger commit checks (#1399)
A token used to execute an action cannot be reused in another
workflow to prevent infinite chain of workflow execution.

This commit uses a token from a special GitHub app in the tracel
organization so that commit checks (created by the test workflow
which uses the generic GITHUB_TOKEN) can be triggered upon creation
of a Pull Request by this workflow.
2024-03-02 10:38:24 -05:00
Luni-4 2cc39f0027
ci: Add stale action (#1383) 2024-02-29 14:15:12 -05:00
Luni-4 32bd8792cc
[CI] Fix codecov and update to weekly the `.dependabot` file for `cargo` (#1320)
* ci: Fix codecov

* ci: Add all dependencies to a dependabot group

* Update dependabot scheduling for cargo
2024-02-20 08:44:44 -05:00
Sylvain Benner 9e61b6687a
[CI] Trigger test suite when Cargo.lock file is updated (#1326) 2024-02-19 06:38:45 -05:00
Sylvain Benner 62809cdb30
[CI] Add workflow to test dependencies and update Cargo.lock (#1303) 2024-02-13 10:49:13 -05:00
Sylvain Benner 5b48e8d131
[CI] Set minimum supported version of Rust to 1.75 (#1297) 2024-02-12 15:16:42 -05:00
Guillaume Lagrange 88f5a3e88c
Add `burn::data::network::downloader` (#1283) 2024-02-10 11:54:33 -05:00
Luni-4 a99258da2e
ci: Move software versions in a single point (#1235) 2024-02-06 10:06:12 -05:00
Luni-4 f223297ba1
Add a semantic versioning checker (#1219) 2024-02-02 14:53:19 -05:00
Sylvain Benner d4c4565293
[CI] Add workflow to group dependabot PRs (#1233) 2024-02-02 13:51:11 -05:00
dependabot[bot] 5786ff4f47
Bump codecov/codecov-action from 3 to 4 (#1214)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 09:39:05 -05:00
Luni-4 c92c51d8b9
ci: Enable dependabot daily (#1195) 2024-01-31 09:48:01 -05:00
Sylvain Benner 3c056a41e3
[CI] Disable unused windows steps since wgpu tests are skipped (#1107) 2024-01-06 15:19:03 -05:00
Sylvain Benner b17ac2dfba
[CI] Pin version of CI dependencies from wgpu repo (#1120)
* Pin version of CI dependencies from wgpu repo

Fixes seg fault in wgpu instance creation.

* Fix new_devauto dead code warning

* Add a notice for wgpu
2024-01-05 12:47:31 -05:00
Luni-4 467e65247b ci/Add Windows pipeline (#925)
Co-Authored-By: Sylvain Benner <sylvain.benner@gmail.com>
2023-12-14 18:48:59 -05:00
Luni-4 1a5f252ac6
Ci/Improve scheduled tasks (#1028) 2023-12-12 09:42:33 -05:00
David Chavez 82f5722ca1
chore(ci): CI grouping and refactoring (#1024) 2023-12-04 11:14:50 -05:00
Nathaniel Simard ab1b5890f5
Chore/release (#1031) 2023-12-01 14:33:28 -05:00
Luni-4 ba1de9c654
Ci/Schedule dependencies checks (#1014)
* ci: Add audit file

* ci: Schedule dependencies checks

* mnist-inference-web: Remove unused dep

* Run when a new release is created

* Fix comment
2023-11-30 13:06:27 -05:00
Luni-4 1d4e91ad32
ci/Vulnerabilities checker (#964)
* ci: Add vulnerabilities checker

* Fix

* Fix

* Fix

* More options

* Schedule vulnerabilities

* Remove
2023-11-30 13:01:34 -05:00
David Chavez f0c75aa748
chore(ci): run workflow on macOS (#1010) 2023-11-29 16:19:11 -05:00
Luni-4 3301aedcc3
Ci/Update dependabot (#1003) 2023-11-29 09:04:15 -05:00
Luni-4 cdf54d0b40
ci: Use Ubuntu 22.04 instead of latest version (#974) 2023-11-20 16:07:13 -06:00
Dilshod Tadjibaev 5845790f5c
Disable udeps checking till all unused deps are resolved (#969) 2023-11-20 16:46:26 -05:00
Dilshod Tadjibaev 8c235d6d94
Add a checklist to update book if needed (#972) 2023-11-20 11:02:48 -05:00
Luni-4 445603401d
ci/Check dependencies (#895) 2023-11-19 10:35:03 -05:00
Nathaniel Simard 8f1526b9c9
Update readme (#962) 2023-11-17 13:04:41 -05:00
Luni-4 ec9df53d4c
ci/Fix `cargo clippy` action (#942) 2023-11-16 19:35:38 -05:00
Luni-4 8c80c9b94a
ci/Speed up typos checks (#907) 2023-11-02 14:30:07 -04:00
Luni-4 7332ebcabf
ci/Add coverage as xtask task (#902) 2023-10-26 12:45:08 -04:00
nathaniel 4eb69735e4 Fix publish workflow 2023-10-24 19:26:21 -04:00
nathaniel cfb3157e04 Fix publish workflow 2023-10-24 18:08:19 -04:00
Luni-4 9f4eec7fe5
ci: Do not consider `examples` folder for coverage (#898) 2023-10-24 17:25:04 -04:00
nathaniel ae0de594fd CI: Update publish step 2023-10-24 14:37:27 -04:00
Luni-4 aa1f3e3f92
ci/Add filters (#892) 2023-10-24 11:12:33 -04:00
Luni-4 38e88a79bd
ci: Implement source-code coverage (#890) 2023-10-23 14:15:14 -04:00