We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fc621e commit 866e7dbCopy full SHA for 866e7db
src/xla/IFRT/Array.jl
@@ -149,6 +149,12 @@ function XLA.to_host(buffer::Array, data)
149
return nothing
150
end
151
152
+ if any(!is_addressable, all_devices)
153
+ @warn "Not all devices are addressable. Currently we only fill in the data for \
154
+ addressable devices. Remaining slices of data in `data` are left \
155
+ untouched."
156
+ end
157
+
158
# While some client implementations might support directly copying to host, but we
159
# avoid the complexity of supporting that for now.
160
single_device_arrays = disassemble_into_single_device_arrays(buffer, true)
0 commit comments