Skip to content

Commit b2ee46a

Browse files
committed
Missed a COPY location
1 parent 6a0bae0 commit b2ee46a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile-cuda

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ FROM base-builder AS planner
2323

2424
WORKDIR /usr/src
2525

26-
COPY backends backends
2726
COPY candle-extensions candle-extensions
27+
COPY backends backends
2828
COPY core core
2929
COPY router router
3030
COPY Cargo.toml ./
@@ -74,6 +74,7 @@ RUN --mount=type=secret,id=actions_cache_url,env=ACTIONS_CACHE_URL \
7474
cargo chef cook --release --features candle-cuda --features static-linking --no-default-features --recipe-path recipe.json && sccache -s; \
7575
fi;
7676

77+
COPY candle-extensions candle-extensions
7778
COPY backends backends
7879
COPY core core
7980
COPY router router

backends/candle/src/models/gte.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ impl GTEModel {
443443
vb: VarBuilder,
444444
config: &GTEConfig,
445445
) -> Result<(Embedding, Option<Embedding>, GTEEncoder, LayerNorm)> {
446-
447446
let word_embeddings = Embedding::new(
448447
vb.pp("embeddings.word_embeddings")
449448
.get((config.vocab_size, config.hidden_size), "weight")?,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Candle CublasLt Matmul Layer
22

33
CublasLt Matmul operation for the Candle ML framework.
4-
Allows for bias and Relu/Gelu fusing.
4+
Allows for bias and Relu/Gelu fusing.

0 commit comments

Comments
 (0)