Collaboration, transfer, and adding iterators
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Bắt đầu với README và branch teh/stored2, sau đó xem xét các PR và issue Julia được liên kết để xác định các dependency. So sánh package này với ArrayIteration.jl và KernelAbstractions.jl để xác định liệu các package nên được chuyển giao, kết hợp hay duy trì khả năng interoperability; hoàn tất có nghĩa là đã có kế hoạch ownership và collaboration được thống nhất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
https://github.com/JuliaLang/julia/pull/31563#issuecomment-591469542, posted by @AriMKatz, drew my attention to this package. I agree that there appear to be a subset of shared goals between this package and https://github.com/timholy/ArrayIteration.jl. This is a proposal to collaborate so we don't duplicate effort.
To summarize ArrayIteration (because the README is ancient and talks about some stuff that long ago made it into Base): if you had to boil it down to a single goal, it's to provide an efficient fallback for A*B for matrices A and B with arbitrary sparsity patterns and representation. The general problem is that if you have to specialize on both typeof(A) and typeof(B), you have to write O(N^2) methods where N is the number of array types. (And wrappers like Adjoint make the problem worse because it's essentially O(4N^2) or O(9N^2).) ArrayIteration takes the stance that you can solve the problem with O(N) methods if you instead create a fancy iterator for each matrix that allows synchronization with another iterator. You sync the row iterator of A to the column iterator of B and thereby mostly just visit entries that are nonzero in both.
ArrayIteration is basically waiting for https://github.com/JuliaLang/julia/pull/34126 (so we don't pay the allocation penalty for wrappers) and probably https://github.com/JuliaLang/julia/issues/34847 before I trying bringing it back to life. The state of the art is the teh/stored2 branch which was almost functional, before the performance problems due to wrapper creation put it on hold. (The README, however, was not updated to reflect the state of that branch.)
I'd propose we all get together in a package hosted at JuliaArrays, which seems like the natural home for generic array stuff. We could start by transferring this one, since I'm guessing it's working whereas ArrayIteration is stalled out. If anyone wants to just steal the code in ArrayIteration that's fine too, but I don't think keeping it under the JuliaDiffEq umbrella makes sense if it's supposed to be generic array handling. We could also keep them two packages, but in that case we'd want to make sure they're independent but interoperable.
Also CCing @vchuravy whose https://github.com/JuliaGPU/KernelAbstractions.jl was also mentioned. I am less certain there are true shared goals there, but just in case.
- Ngôn ngữ chính
- Julia
- Star
- 140
- Fork
- 44
- Merge trung bình
- 4 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 5
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaArrays/ArrayInterface.jl
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
JuliaArrays/ArrayInterface.jl#499 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
JuliaArrays/ArrayInterface.jl#463 · 5 bình luận · 4 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
JuliaArrays/ArrayInterface.jl#460 · 8 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
JuliaArrays/ArrayInterface.jl#397 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
JuliaArrays/ArrayInterface.jl#396 ·
Tất cả issue của JuliaArrays/ArrayInterface.jl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
epiforecasts/BVDOutbreakSize#862 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
CliMA/Oceananigans.jl#6066 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JuliaLang/LinearAlgebra.jl#1707 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
JuliaPluto/Pluto.jl#3616 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ReactiveBayes/ExponentialFamily.jl#322 · 2 bình luận ·