linear operator#1180
Conversation
|
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
ok, make sense |
|
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
where? maybe this. should be Code snippet: DeviceSpecific<LinearPerDeviceState> state =
acc.create_device_specific<LinearPerDeviceState>(
init_kernel(handle,
allocator,
one_ptr,
attrs.regularizer,
attrs.use_bias,
input.data_type,
weight.data_type,
output.data_type,
batch_size,
attrs.out_channels));
return state;
} |
lambda7xx
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 6 files reviewed, 12 unresolved discussions (waiting on @reyna-abhyankar)
lib/kernels/src/cuda/linear_kernels.cu line 28 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
What is
ActivationI think this should beActiMode
Done.
lib/kernels/src/cuda/linear_kernels.cu line 71 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
Use the same allocation method that is in the original constructor for
LinearPerDeviceState
Done.
lib/runtime/src/ops/element_binary.cc line 216 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
Don't worry about it in this PR. If it's a problem, you can open an issue
Done.
lib/runtime/src/ops/linear.cc line 37 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
ATTRS,
Done.
lib/runtime/src/ops/linear.cc line 40 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
Why?
Done.
lib/runtime/src/ops/linear.cc line 46 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
bind.bind_arg(ATTRS, attrs);
Done.
lib/runtime/src/ops/linear.cc line 85 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
Why the
+ 1?
Done.
lib/runtime/src/ops/linear.cc line 202 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
I think these should always be
InputParallelTensorDescinstead ofParallelTensorShape
Done.
deps/fmt line 0 at r1 (raw file):
Previously, reyna-abhyankar (Reyna Abhyankar) wrote…
Use most updated submodules
Done.
…da7xx/FlexFlow into repo-refactor-lambda-linear
Description of changes:
init_kernelhas some problem, we need to fix it.Related Issues:
Linked Issues:
Issues closed by this PR:
This change is