{"id":15907627,"url":"https://github.com/laggui/burn-2178-mwe","last_synced_at":"2025-04-02T23:42:01.751Z","repository":{"id":253828718,"uuid":"844649913","full_name":"laggui/burn-2178-mwe","owner":"laggui","description":"Matmul Web MWE","archived":false,"fork":false,"pushed_at":"2024-08-19T17:59:13.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T14:09:53.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laggui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T17:33:26.000Z","updated_at":"2024-08-19T17:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"341a7514-25f9-4963-bceb-1d052e6bdca8","html_url":"https://github.com/laggui/burn-2178-mwe","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"222d9a5ebe07ecb9ced1ce7b97e335cac2c467cc"},"previous_names":["laggui/burn-2178-mwe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laggui%2Fburn-2178-mwe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laggui%2Fburn-2178-mwe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laggui%2Fburn-2178-mwe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laggui%2Fburn-2178-mwe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laggui","download_url":"https://codeload.github.com/laggui/burn-2178-mwe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911495,"owners_count":20853654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T14:01:34.354Z","updated_at":"2025-04-02T23:42:01.736Z","avatar_url":"https://github.com/laggui.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matmul Web MWE\n\nMatmul operation returns zero on web with wgpu.\n\n## Reproduction Steps\n\n\u003e **Important**  \n\u003e The `Cargo.toml` assumes your burn dev repository to be at the [parent level of this repository folder](./Cargo.toml#L15) (`../burn/crates/burn`). Modify accordingly.\n\n1. Clone this repo\n\n```sh\ngit clone https://github.com/laggui/burn-2178-mwe.git\n```\n\n2. Build\n\n```sh\n./build-for-web.sh\n```\n\n3. Run\n\n```sh\n./run-server.sh\n```\n\n4. Open your browser at [`http://localhost:8000/`](http://localhost:8000/) and check the console logs.\nThe correct computation should display:\n```\nMatmul result [2, 2]:\n[10.0, 13.0, 22.0, 29.0]\n```\n\nWhich only happens when the [default matmul strategy](https://github.com/tracel-ai/burn/blob/main/crates/burn-jit/src/kernel/matmul/base.rs#L32) is set to simple. For example:\n```rust\nMatmulStrategy::Simple {\n    grid_x: 16,\n    grid_y: 16,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaggui%2Fburn-2178-mwe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaggui%2Fburn-2178-mwe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaggui%2Fburn-2178-mwe/lists"}