diff options
author | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-12-14 16:05:33 +0100 |
---|---|---|
committer | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-12-14 16:05:33 +0100 |
commit | 361f2ad2af52ccf1750e274f1649fb8c90f80a86 (patch) | |
tree | 6e919f0df7076abd021bd22e595b811f404bd8d3 /candle-nn | |
parent | 931432ed55918886680e37a280c3ff25d7ee9839 (diff) | |
download | candle-361f2ad2af52ccf1750e274f1649fb8c90f80a86.tar.gz candle-361f2ad2af52ccf1750e274f1649fb8c90f80a86.tar.bz2 candle-361f2ad2af52ccf1750e274f1649fb8c90f80a86.zip |
Working with merging encoders and using fences.
Diffstat (limited to 'candle-nn')
-rw-r--r-- | candle-nn/src/ops.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/candle-nn/src/ops.rs b/candle-nn/src/ops.rs index 14dd10de..e002d931 100644 --- a/candle-nn/src/ops.rs +++ b/candle-nn/src/ops.rs @@ -238,8 +238,6 @@ impl candle::CustomOp1 for SoftmaxLastDim { &mut output, ) .unwrap(); - command_buffer.commit(); - output.did_modify_range(metal::NSRange::new(0, output.length())); let newstorage = candle::MetalStorage::new(output, device.clone(), storage.dtype()); Ok((newstorage, layout.shape().clone())) } |