eniga commited on
Commit
94c2f5c
·
verified ·
1 Parent(s): 6bdb8b0

Radiance 2.2.0 bf16 container

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +52 -0
  3. embeddinggemma2-bf16.rad +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ embeddinggemma2-bf16.rad filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - google/embeddinggemma-2
5
+ base_model_relation: quantized
6
+ pipeline_tag: feature-extraction
7
+ tags:
8
+ - radiance
9
+ - bf16
10
+ - embeddings
11
+ - amd
12
+ - rocm
13
+ ---
14
+
15
+ # EmbeddingGemma 2, bf16 (Radiance)
16
+
17
+ [google/embeddinggemma-2](https://huggingface.co/google/embeddinggemma-2) at its own bf16 precision,
18
+ packed as a [Radiance](https://codeberg.org/StillDeadcode/radiance) container. Radiance is an
19
+ inference server for AMD GPUs (and AVX2/AVX-512 CPUs). This file does not load in transformers,
20
+ sentence-transformers, vLLM or llama.cpp.
21
+
22
+ | | |
23
+ |---|---|
24
+ | File | `embeddinggemma2-bf16.rad`, 1.5 GB |
25
+ | Served by | Radiance 2.2.0 |
26
+ | Weights | bf16 as the checkpoint ships them, no quantisation |
27
+ | Output | 768-dimension vectors on `/v1/embeddings` |
28
+
29
+ ## How it was made
30
+
31
+ With the `stilldeadcode/radiance` 2.2.0 image, no recipe:
32
+
33
+ ```sh
34
+ rad-convert embeddinggemma-2 -o embeddinggemma2-bf16.rad
35
+ ```
36
+
37
+ ## Serving
38
+
39
+ ```yaml
40
+ models:
41
+ EmbeddingGemma-2:
42
+ model: embeddinggemma2-bf16.rad
43
+ tp: 1
44
+ max-num-seqs: 64
45
+ max-num-batched-tokens: 8192 # also the longest input: it embeds in one step
46
+ ```
47
+
48
+ On one Radeon AI PRO R9700 it holds 1.8 GiB. The engine adds no task prefix; send it in the input.
49
+
50
+ ## License
51
+
52
+ Apache-2.0, as the base model. Google's model card applies.
embeddinggemma2-bf16.rad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eca7d3c21191214c6e700072ebe5e6747f3e2c15896354d133cfa2f12f8868be
3
+ size 1502429184