{"id":27918792,"url":"https://github.com/juliaparallel/daggerarrays.jl","last_synced_at":"2026-03-09T15:32:58.447Z","repository":{"id":55180035,"uuid":"289335968","full_name":"JuliaParallel/DaggerArrays.jl","owner":"JuliaParallel","description":"Experimental Distributed Arrays package","archived":false,"fork":false,"pushed_at":"2023-03-14T12:46:44.000Z","size":26,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-06-02T22:46:01.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/JuliaParallel.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,"zenodo":null}},"created_at":"2020-08-21T18:15:00.000Z","updated_at":"2021-09-09T11:43:19.000Z","dependencies_parsed_at":"2025-05-06T18:39:35.718Z","dependency_job_id":"8ba6115b-fce2-4c68-bf89-18255ad05750","html_url":"https://github.com/JuliaParallel/DaggerArrays.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaParallel/DaggerArrays.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaParallel%2FDaggerArrays.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaParallel%2FDaggerArrays.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaParallel%2FDaggerArrays.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaParallel%2FDaggerArrays.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaParallel","download_url":"https://codeload.github.com/JuliaParallel/DaggerArrays.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaParallel%2FDaggerArrays.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30301109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-05-06T18:25:36.307Z","updated_at":"2026-03-09T15:32:58.435Z","avatar_url":"https://github.com/JuliaParallel.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Experimental Distributed Arrays package\n\nThis is an attempt to use Tullio.jl to run tensor expressions on Dagger-based distributed arrays.\n\n## Quick links\n\n- You need [this branch](https://github.com/shashi/Tullio.jl/tree/s/lowered) of Tullio.jl\n- [DArray struct](https://github.com/JuliaParallel/DaggerArrays.jl/blob/master/src/darray.jl#L15-L24) is how we represent a distributed array\n- [`@dtullio` macro](https://github.com/JuliaParallel/DaggerArrays.jl/blob/master/src/tullio.jl#L127-L128) is in this file\n\n\n## What works\n\n```julia\njulia\u003e using DaggerArrays\n\njulia\u003e A = distribute(reshape(1:24, (4,6)), Blocks(2,3))\n4×6 DArray{Int64, 2} with 2×2 chunks\n\njulia\u003e B = distribute(reshape(1:24, (6,4)), Blocks(3,2))\n6×4 DArray{Int64, 2} with 2×2 chunks\n\njulia\u003e @dtullio C[i,k] := A[i,j] * B[j,k]\n4×4 DArray{Any, 2} with 2×2 chunks\n```\n\n## What does not work (and should)\n\n\n```julia\njulia\u003e @generated matmul(A, B) = :(@dtullio C[i,k] := A[i,j] * B[j,k])\nmatmul (generic function with 1 method)\n\njulia\u003e matmul(A,B)\nERROR: The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension.\nStacktrace:\n [1] top-level scope at REPL[24]:1\n [2] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.2/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288\n```\n\nThis is required to implement dimension-independent operations\n\n```julia\njulia\u003e A = distribute(reshape(1:24, (4,6)), Blocks(2,3))\n4×6 DArray{Int64, 2} with 2×2 chunks\n\njulia\u003e B = distribute(reshape(1:24, (6,4)), Blocks(6,2))\n6×4 DArray{Int64, 2} with 1×2 chunks\n\njulia\u003e @dtullio C[i,k] := A[i,j] * B[j,k]\nERROR: range of index j must agree\nStacktrace:\n [1] top-level scope at /home/shashi/.julia/dev/Tullio/src/macro.jl:777\n [2] top-level scope at /home/shashi/.julia/dev/DaggerArrays/src/tullio.jl:103\n [3] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.2/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288\n```\n(Should auto-slice B to match the layout of A)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaparallel%2Fdaggerarrays.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaparallel%2Fdaggerarrays.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaparallel%2Fdaggerarrays.jl/lists"}