Handling of DArray input to distributing functions

Aperta
#107 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
julia

Direzione di ricerca

Start by reproducing the nested distribute(randn(4)) example from the issue, then read verified_destination_serializer and the existing DArray methods for AbstractArray operations. Determine whether the fix belongs in the serializer or requires special DArray methods; done means nested distribution no longer produces the unwanted DArray type and the behavior has regression coverage.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This is not what you want

julia> distribute(distribute(randn(4)))
4-element DistributedArrays.DArray{Float64,1,SubArray{Float64,1,DistributedArrays.DArray{Float64,1,Array{Float64,1}},Tuple{UnitRange{Int64}},false}}:
  1.27283
 -0.642431
 -0.585599
 -1.96976

The most general solutino might be to change verified_destination_serializer. Alternatively, we'll have to add special DArray methods for each method defined for AbstractArray. @amitmurthy thoughts?

Lingua principale
Julia
Stelle
205
Fork
34
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di JuliaParallel/DistributedArrays.jl

Tutte le issue di JuliaParallel/DistributedArrays.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.