summaryrefslogtreecommitdiff
path: root/candle-core/src/dummy_cuda_backend.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-07-05 13:06:33 +0100
committerGitHub <noreply@github.com>2023-07-05 13:06:33 +0100
commit93896f6596e44285f6250f4966ada8c08fa85f09 (patch)
treefee5a01b56231a6d1472fd925f76c73aa8b93ac0 /candle-core/src/dummy_cuda_backend.rs
parentd8f75ceeaa4702b641a9f71ec348fc54a32f4cd7 (diff)
parentbce28ab7938b27931fd51e59c8bcad37038e0337 (diff)
downloadcandle-93896f6596e44285f6250f4966ada8c08fa85f09.tar.gz
candle-93896f6596e44285f6250f4966ada8c08fa85f09.tar.bz2
candle-93896f6596e44285f6250f4966ada8c08fa85f09.zip
Merge branch 'main' into upgrade_bert
Diffstat (limited to 'candle-core/src/dummy_cuda_backend.rs')
-rw-r--r--candle-core/src/dummy_cuda_backend.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/candle-core/src/dummy_cuda_backend.rs b/candle-core/src/dummy_cuda_backend.rs
index b025eeab..0dbd8d54 100644
--- a/candle-core/src/dummy_cuda_backend.rs
+++ b/candle-core/src/dummy_cuda_backend.rs
@@ -100,6 +100,16 @@ impl CudaStorage {
Err(Error::NotCompiledWithCudaSupport)
}
+ pub(crate) fn conv1d(
+ &self,
+ _l: &Layout,
+ _kernel: &Self,
+ _kernel_l: &Layout,
+ _params: &crate::conv::ParamsConv1D,
+ ) -> Result<Self> {
+ Err(Error::NotCompiledWithCudaSupport)
+ }
+
pub(crate) fn embedding(&self, _: &Layout, _: &Self, _: &Layout) -> Result<Self> {
Err(Error::NotCompiledWithCudaSupport)
}