help wantedinfrastructure
Repository metrics
- Stars
- (15,550 stars)
- PR merge metrics
- (PR metrics pending)
Description
Introduction
In order to ensure that the burn-wgpu backend functions correctly, it is essential to expand our testing strategy to include integration tests using the WebGPU API. Given that Deno recently introduced experimental support for WebGPU, it provides us with an ideal platform for these integration tests. See the official announcement here: Deno v1.8 WebGPU Support.
Objectives
- Setup Deno for WebGPU testing: To start, we need to set up an environment that supports Deno and is tailored for WebGPU tests.
- Automate Test Cases: Develop a suite of test cases specifically designed for the
burn-wgpubackend. This will ensure that future changes to the framework don't unintentionally break compatibility or functionality. - CI/CD Integration: Integrate these tests into our continuous integration and delivery pipeline to ensure that every push or pull request is automatically tested against this suite.
Implementation Details
-
Deno Setup:
- Ensure that the testing environment has the latest version of Deno installed.
- Configure Deno permissions to allow access to WebGPU and other necessary resources.
-
Develop Test Cases:
- Test the basic functionality of
burn-wgputo ensure all the expected methods and attributes function as intended.
- Test the basic functionality of
-
CI/CD Integration:
- Choose a CI/CD platform that supports Deno (or configure it to do so).
- Automate the deployment of the testing environment, including the installation of Deno.
- Run the test suite on every push or pull request and report any failures directly on the GitHub platform.