Skip to content

Commit 875239e

Browse files
Narsilalvarobartt
andauthored
Prepare for release. (#540)
Co-authored-by: Alvaro Bartolome <[email protected]>
1 parent c095e3a commit 875239e

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
resolver = "2"
1313

1414
[workspace.package]
15-
version = "1.6.0"
15+
version = "1.6.1"
1616
edition = "2021"
1717
authors = ["Olivier Dehaene"]
1818
homepage = "https://github.com/huggingface/text-embeddings-inference"

Dockerfile-intel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ RUN PROTOC_ZIP=protoc-21.12-linux-x86_64.zip && \
4444
unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
4545
rm -f $PROTOC_ZIP
4646

47-
FROM builder as http-builder
47+
FROM builder AS http-builder
4848

4949
RUN --mount=type=secret,id=actions_cache_url,env=ACTIONS_CACHE_URL \
5050
--mount=type=secret,id=actions_runtime_token,env=ACTIONS_RUNTIME_TOKEN \
5151
cargo build --release --bin text-embeddings-router -F python -F http --no-default-features && sccache -s
5252

53-
FROM builder as grpc-builder
53+
FROM builder AS grpc-builder
5454

5555
COPY proto proto
5656

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")?,

0 commit comments

Comments
 (0)