chidiwilliams
commited on
Commit
•
a95356f
1
Parent(s):
85a98a6
Add models
Browse files- ggml-base-encoder.mlmodelc/analytics/coremldata.bin → ggml-base-encoder.mlmodelc.zip +2 -2
- ggml-base-encoder.mlmodelc/metadata.json +0 -64
- ggml-base-encoder.mlmodelc/model.mil +0 -393
- ggml-large-encoder.mlmodelc.zip +3 -0
- ggml-large-encoder.mlmodelc/coremldata.bin +0 -3
- ggml-large-encoder.mlmodelc/metadata.json +0 -64
- ggml-large-encoder.mlmodelc/model.mil +0 -0
- ggml-large-encoder.mlmodelc/weights/weight.bin +0 -3
- ggml-base-encoder.mlmodelc/weights/weight.bin → ggml-medium-encoder.mlmodelc.zip +2 -2
- ggml-medium-encoder.mlmodelc/analytics/coremldata.bin +0 -3
- ggml-medium-encoder.mlmodelc/coremldata.bin +0 -3
- ggml-medium-encoder.mlmodelc/metadata.json +0 -64
- ggml-medium-encoder.mlmodelc/model.mil +0 -0
- ggml-medium-encoder.mlmodelc/weights/weight.bin +0 -3
- ggml-large-encoder.mlmodelc/analytics/coremldata.bin → ggml-medium.en-encoder.mlmodelc.zip +2 -2
- ggml-medium.en-encoder.mlmodelc/analytics/coremldata.bin +0 -3
- ggml-medium.en-encoder.mlmodelc/coremldata.bin +0 -3
- ggml-medium.en-encoder.mlmodelc/metadata.json +0 -64
- ggml-medium.en-encoder.mlmodelc/model.mil +0 -0
- ggml-medium.en-encoder.mlmodelc/weights/weight.bin +0 -3
- ggml-small-encoder.mlmodelc.zip +3 -0
- ggml-small-encoder.mlmodelc/analytics/coremldata.bin +0 -3
- ggml-small-encoder.mlmodelc/coremldata.bin +0 -3
- ggml-small-encoder.mlmodelc/metadata.json +0 -64
- ggml-small-encoder.mlmodelc/model.mil +0 -0
- ggml-small-encoder.mlmodelc/weights/weight.bin +0 -3
- ggml-base-encoder.mlmodelc/coremldata.bin → ggml-tiny-encoder.mlmodelc.zip +2 -2
- ggml-tiny-encoder.mlmodelc/analytics/coremldata.bin +0 -3
- ggml-tiny-encoder.mlmodelc/coremldata.bin +0 -3
- ggml-tiny-encoder.mlmodelc/metadata.json +0 -64
- ggml-tiny-encoder.mlmodelc/model.mil +0 -275
- ggml-tiny-encoder.mlmodelc/weights/weight.bin +0 -3
ggml-base-encoder.mlmodelc/analytics/coremldata.bin → ggml-base-encoder.mlmodelc.zip
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd106a13783431e3555a79dc58250a0d4f76df6c9f071fc20f6dfd3dc84be6ea
|
3 |
+
size 37922607
|
ggml-base-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 36,
|
23 |
-
"Matmul" : 12,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 6,
|
27 |
-
"Add" : 13,
|
28 |
-
"LayerNorm" : 13,
|
29 |
-
"Mul" : 12,
|
30 |
-
"Transpose" : 25,
|
31 |
-
"Gelu" : 8,
|
32 |
-
"Reshape" : 24
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_base",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-base-encoder.mlmodelc/model.mil
DELETED
@@ -1,393 +0,0 @@
|
|
1 |
-
program(1.0)
|
2 |
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "4.28.4"}, {"coremlc-version", "1436.100.10"}})]
|
3 |
-
{
|
4 |
-
func main<ios15>(tensor<fp32, [1, 80, 3000]> logmel_data) {
|
5 |
-
tensor<int32, []> var_20 = const()[name = tensor<string, []>("op_20"), val = tensor<int32, []>(1)];
|
6 |
-
tensor<int32, [1]> var_28 = const()[name = tensor<string, []>("op_28"), val = tensor<int32, [1]>([1])];
|
7 |
-
tensor<int32, [1]> var_30 = const()[name = tensor<string, []>("op_30"), val = tensor<int32, [1]>([1])];
|
8 |
-
tensor<string, []> var_32_pad_type_0 = const()[name = tensor<string, []>("op_32_pad_type_0"), val = tensor<string, []>("custom")];
|
9 |
-
tensor<int32, [2]> var_32_pad_0 = const()[name = tensor<string, []>("op_32_pad_0"), val = tensor<int32, [2]>([1, 1])];
|
10 |
-
tensor<string, []> logmel_data_to_fp16_dtype_0 = const()[name = tensor<string, []>("logmel_data_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
|
11 |
-
tensor<fp16, [512, 80, 3]> weight_3_to_fp16 = const()[name = tensor<string, []>("weight_3_to_fp16"), val = tensor<fp16, [512, 80, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
12 |
-
tensor<fp16, [512]> bias_3_to_fp16 = const()[name = tensor<string, []>("bias_3_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(245888)))];
|
13 |
-
tensor<fp16, [1, 80, 3000]> cast_187 = cast(dtype = logmel_data_to_fp16_dtype_0, x = logmel_data);
|
14 |
-
tensor<fp16, [1, 512, 3000]> var_32_cast = conv(bias = bias_3_to_fp16, dilations = var_30, groups = var_20, pad = var_32_pad_0, pad_type = var_32_pad_type_0, strides = var_28, weight = weight_3_to_fp16, x = cast_187);
|
15 |
-
tensor<string, []> input_1_mode_0 = const()[name = tensor<string, []>("input_1_mode_0"), val = tensor<string, []>("EXACT")];
|
16 |
-
tensor<fp16, [1, 512, 3000]> input_1_cast = gelu(mode = input_1_mode_0, x = var_32_cast);
|
17 |
-
tensor<int32, []> var_36 = const()[name = tensor<string, []>("op_36"), val = tensor<int32, []>(1)];
|
18 |
-
tensor<int32, [1]> var_45 = const()[name = tensor<string, []>("op_45"), val = tensor<int32, [1]>([2])];
|
19 |
-
tensor<int32, [1]> var_47 = const()[name = tensor<string, []>("op_47"), val = tensor<int32, [1]>([1])];
|
20 |
-
tensor<string, []> var_49_pad_type_0 = const()[name = tensor<string, []>("op_49_pad_type_0"), val = tensor<string, []>("custom")];
|
21 |
-
tensor<int32, [2]> var_49_pad_0 = const()[name = tensor<string, []>("op_49_pad_0"), val = tensor<int32, [2]>([1, 1])];
|
22 |
-
tensor<fp16, [512, 512, 3]> weight_7_to_fp16 = const()[name = tensor<string, []>("weight_7_to_fp16"), val = tensor<fp16, [512, 512, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(246976)))];
|
23 |
-
tensor<fp16, [512]> bias_7_to_fp16 = const()[name = tensor<string, []>("bias_7_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1819904)))];
|
24 |
-
tensor<fp16, [1, 512, 1500]> var_49_cast = conv(bias = bias_7_to_fp16, dilations = var_47, groups = var_36, pad = var_49_pad_0, pad_type = var_49_pad_type_0, strides = var_45, weight = weight_7_to_fp16, x = input_1_cast);
|
25 |
-
tensor<string, []> x_3_mode_0 = const()[name = tensor<string, []>("x_3_mode_0"), val = tensor<string, []>("EXACT")];
|
26 |
-
tensor<fp16, [1, 512, 1500]> x_3_cast = gelu(mode = x_3_mode_0, x = var_49_cast);
|
27 |
-
tensor<int32, [3]> var_54 = const()[name = tensor<string, []>("op_54"), val = tensor<int32, [3]>([0, 2, 1])];
|
28 |
-
tensor<fp16, [1500, 512]> positional_embedding_to_fp16 = const()[name = tensor<string, []>("positional_embedding_to_fp16"), val = tensor<fp16, [1500, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1820992)))];
|
29 |
-
tensor<fp16, [1, 1500, 512]> transpose_48 = transpose(perm = var_54, x = x_3_cast);
|
30 |
-
tensor<fp16, [1, 1500, 512]> var_57_cast = add(x = transpose_48, y = positional_embedding_to_fp16);
|
31 |
-
tensor<int32, []> var_70 = const()[name = tensor<string, []>("op_70"), val = tensor<int32, []>(-1)];
|
32 |
-
tensor<int32, [1]> var_87_axes_0 = const()[name = tensor<string, []>("op_87_axes_0"), val = tensor<int32, [1]>([-1])];
|
33 |
-
tensor<fp16, [512]> blocks_0_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_0_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3357056)))];
|
34 |
-
tensor<fp16, [512]> blocks_0_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_0_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3358144)))];
|
35 |
-
tensor<fp16, []> var_76_to_fp16 = const()[name = tensor<string, []>("op_76_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
36 |
-
tensor<fp16, [1, 1500, 512]> var_87_cast = layer_norm(axes = var_87_axes_0, beta = blocks_0_attn_ln_bias_to_fp16, epsilon = var_76_to_fp16, gamma = blocks_0_attn_ln_weight_to_fp16, x = var_57_cast);
|
37 |
-
tensor<fp16, [512, 512]> var_98_to_fp16 = const()[name = tensor<string, []>("op_98_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3359232)))];
|
38 |
-
tensor<fp16, [512]> var_99_to_fp16 = const()[name = tensor<string, []>("op_99_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3883584)))];
|
39 |
-
tensor<fp16, [1, 1500, 512]> q_1_cast = linear(bias = var_99_to_fp16, weight = var_98_to_fp16, x = var_87_cast);
|
40 |
-
tensor<fp16, [512, 512]> var_102_to_fp16 = const()[name = tensor<string, []>("op_102_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3884672)))];
|
41 |
-
tensor<fp16, [512]> k_1_bias_0_to_fp16 = const()[name = tensor<string, []>("k_1_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4409024)))];
|
42 |
-
tensor<fp16, [1, 1500, 512]> k_1_cast = linear(bias = k_1_bias_0_to_fp16, weight = var_102_to_fp16, x = var_87_cast);
|
43 |
-
tensor<fp16, [512, 512]> var_106_to_fp16 = const()[name = tensor<string, []>("op_106_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4410112)))];
|
44 |
-
tensor<fp16, [512]> var_107_to_fp16 = const()[name = tensor<string, []>("op_107_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4934464)))];
|
45 |
-
tensor<fp16, [1, 1500, 512]> v_1_cast = linear(bias = var_107_to_fp16, weight = var_106_to_fp16, x = var_87_cast);
|
46 |
-
tensor<int32, [4]> var_115 = const()[name = tensor<string, []>("op_115"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
47 |
-
tensor<fp16, [1, 1500, 8, 64]> var_116_cast = reshape(shape = var_115, x = q_1_cast);
|
48 |
-
tensor<fp16, [1, 1, 1, 1]> const_42_to_fp16 = const()[name = tensor<string, []>("const_42_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
49 |
-
tensor<fp16, [1, 1500, 8, 64]> q_3_cast = mul(x = var_116_cast, y = const_42_to_fp16);
|
50 |
-
tensor<int32, [4]> var_122 = const()[name = tensor<string, []>("op_122"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
51 |
-
tensor<fp16, [1, 1500, 8, 64]> var_123_cast = reshape(shape = var_122, x = k_1_cast);
|
52 |
-
tensor<fp16, [1, 1, 1, 1]> const_43_to_fp16 = const()[name = tensor<string, []>("const_43_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
53 |
-
tensor<fp16, [1, 1500, 8, 64]> k_3_cast = mul(x = var_123_cast, y = const_43_to_fp16);
|
54 |
-
tensor<int32, [4]> var_129 = const()[name = tensor<string, []>("op_129"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
55 |
-
tensor<fp16, [1, 1500, 8, 64]> var_130_cast = reshape(shape = var_129, x = v_1_cast);
|
56 |
-
tensor<int32, [4]> var_131 = const()[name = tensor<string, []>("op_131"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
57 |
-
tensor<bool, []> qk_1_transpose_x_0 = const()[name = tensor<string, []>("qk_1_transpose_x_0"), val = tensor<bool, []>(false)];
|
58 |
-
tensor<bool, []> qk_1_transpose_y_0 = const()[name = tensor<string, []>("qk_1_transpose_y_0"), val = tensor<bool, []>(false)];
|
59 |
-
tensor<int32, [4]> transpose_12_perm_0 = const()[name = tensor<string, []>("transpose_12_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
60 |
-
tensor<int32, [4]> transpose_13_perm_0 = const()[name = tensor<string, []>("transpose_13_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
61 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_45 = transpose(perm = transpose_13_perm_0, x = k_3_cast);
|
62 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_46 = transpose(perm = transpose_12_perm_0, x = q_3_cast);
|
63 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_1_cast = matmul(transpose_x = qk_1_transpose_x_0, transpose_y = qk_1_transpose_y_0, x = transpose_46, y = transpose_45);
|
64 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_135_cast = softmax(axis = var_70, x = qk_1_cast);
|
65 |
-
tensor<bool, []> var_137_transpose_x_0 = const()[name = tensor<string, []>("op_137_transpose_x_0"), val = tensor<bool, []>(false)];
|
66 |
-
tensor<bool, []> var_137_transpose_y_0 = const()[name = tensor<string, []>("op_137_transpose_y_0"), val = tensor<bool, []>(false)];
|
67 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_47 = transpose(perm = var_131, x = var_130_cast);
|
68 |
-
tensor<fp16, [1, 8, 1500, 64]> var_137_cast = matmul(transpose_x = var_137_transpose_x_0, transpose_y = var_137_transpose_y_0, x = var_135_cast, y = transpose_47);
|
69 |
-
tensor<int32, [4]> var_138 = const()[name = tensor<string, []>("op_138"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
70 |
-
tensor<int32, [3]> concat_0 = const()[name = tensor<string, []>("concat_0"), val = tensor<int32, [3]>([1, 1500, 512])];
|
71 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_44 = transpose(perm = var_138, x = var_137_cast);
|
72 |
-
tensor<fp16, [1, 1500, 512]> x_11_cast = reshape(shape = concat_0, x = transpose_44);
|
73 |
-
tensor<fp16, [512, 512]> var_143_to_fp16 = const()[name = tensor<string, []>("op_143_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4935552)))];
|
74 |
-
tensor<fp16, [512]> var_144_to_fp16 = const()[name = tensor<string, []>("op_144_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5459904)))];
|
75 |
-
tensor<fp16, [1, 1500, 512]> var_145_cast = linear(bias = var_144_to_fp16, weight = var_143_to_fp16, x = x_11_cast);
|
76 |
-
tensor<fp16, [1, 1500, 512]> x_13_cast = add(x = var_57_cast, y = var_145_cast);
|
77 |
-
tensor<int32, [1]> var_151_axes_0 = const()[name = tensor<string, []>("op_151_axes_0"), val = tensor<int32, [1]>([-1])];
|
78 |
-
tensor<fp16, [512]> blocks_0_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_0_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5460992)))];
|
79 |
-
tensor<fp16, [512]> blocks_0_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_0_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5462080)))];
|
80 |
-
tensor<fp16, [1, 1500, 512]> var_151_cast = layer_norm(axes = var_151_axes_0, beta = blocks_0_mlp_ln_bias_to_fp16, epsilon = var_76_to_fp16, gamma = blocks_0_mlp_ln_weight_to_fp16, x = x_13_cast);
|
81 |
-
tensor<fp16, [2048, 512]> var_160_to_fp16 = const()[name = tensor<string, []>("op_160_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5463168)))];
|
82 |
-
tensor<fp16, [2048]> var_161_to_fp16 = const()[name = tensor<string, []>("op_161_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7560384)))];
|
83 |
-
tensor<fp16, [1, 1500, 2048]> input_9_cast = linear(bias = var_161_to_fp16, weight = var_160_to_fp16, x = var_151_cast);
|
84 |
-
tensor<string, []> x_17_mode_0 = const()[name = tensor<string, []>("x_17_mode_0"), val = tensor<string, []>("EXACT")];
|
85 |
-
tensor<fp16, [1, 1500, 2048]> x_17_cast = gelu(mode = x_17_mode_0, x = input_9_cast);
|
86 |
-
tensor<fp16, [512, 2048]> var_166_to_fp16 = const()[name = tensor<string, []>("op_166_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7564544)))];
|
87 |
-
tensor<fp16, [512]> var_167_to_fp16 = const()[name = tensor<string, []>("op_167_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9661760)))];
|
88 |
-
tensor<fp16, [1, 1500, 512]> var_168_cast = linear(bias = var_167_to_fp16, weight = var_166_to_fp16, x = x_17_cast);
|
89 |
-
tensor<fp16, [1, 1500, 512]> x_19_cast = add(x = x_13_cast, y = var_168_cast);
|
90 |
-
tensor<int32, []> var_177 = const()[name = tensor<string, []>("op_177"), val = tensor<int32, []>(-1)];
|
91 |
-
tensor<int32, [1]> var_194_axes_0 = const()[name = tensor<string, []>("op_194_axes_0"), val = tensor<int32, [1]>([-1])];
|
92 |
-
tensor<fp16, [512]> blocks_1_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_1_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9662848)))];
|
93 |
-
tensor<fp16, [512]> blocks_1_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_1_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9663936)))];
|
94 |
-
tensor<fp16, []> var_183_to_fp16 = const()[name = tensor<string, []>("op_183_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
95 |
-
tensor<fp16, [1, 1500, 512]> var_194_cast = layer_norm(axes = var_194_axes_0, beta = blocks_1_attn_ln_bias_to_fp16, epsilon = var_183_to_fp16, gamma = blocks_1_attn_ln_weight_to_fp16, x = x_19_cast);
|
96 |
-
tensor<fp16, [512, 512]> var_205_to_fp16 = const()[name = tensor<string, []>("op_205_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9665024)))];
|
97 |
-
tensor<fp16, [512]> var_206_to_fp16 = const()[name = tensor<string, []>("op_206_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10189376)))];
|
98 |
-
tensor<fp16, [1, 1500, 512]> q_5_cast = linear(bias = var_206_to_fp16, weight = var_205_to_fp16, x = var_194_cast);
|
99 |
-
tensor<fp16, [512, 512]> var_209_to_fp16 = const()[name = tensor<string, []>("op_209_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10190464)))];
|
100 |
-
tensor<fp16, [512]> k_5_bias_0_to_fp16 = const()[name = tensor<string, []>("k_5_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10714816)))];
|
101 |
-
tensor<fp16, [1, 1500, 512]> k_5_cast = linear(bias = k_5_bias_0_to_fp16, weight = var_209_to_fp16, x = var_194_cast);
|
102 |
-
tensor<fp16, [512, 512]> var_213_to_fp16 = const()[name = tensor<string, []>("op_213_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10715904)))];
|
103 |
-
tensor<fp16, [512]> var_214_to_fp16 = const()[name = tensor<string, []>("op_214_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11240256)))];
|
104 |
-
tensor<fp16, [1, 1500, 512]> v_5_cast = linear(bias = var_214_to_fp16, weight = var_213_to_fp16, x = var_194_cast);
|
105 |
-
tensor<int32, [4]> var_222 = const()[name = tensor<string, []>("op_222"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
106 |
-
tensor<fp16, [1, 1500, 8, 64]> var_223_cast = reshape(shape = var_222, x = q_5_cast);
|
107 |
-
tensor<fp16, [1, 1, 1, 1]> const_44_to_fp16 = const()[name = tensor<string, []>("const_44_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
108 |
-
tensor<fp16, [1, 1500, 8, 64]> q_7_cast = mul(x = var_223_cast, y = const_44_to_fp16);
|
109 |
-
tensor<int32, [4]> var_229 = const()[name = tensor<string, []>("op_229"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
110 |
-
tensor<fp16, [1, 1500, 8, 64]> var_230_cast = reshape(shape = var_229, x = k_5_cast);
|
111 |
-
tensor<fp16, [1, 1, 1, 1]> const_45_to_fp16 = const()[name = tensor<string, []>("const_45_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
112 |
-
tensor<fp16, [1, 1500, 8, 64]> k_7_cast = mul(x = var_230_cast, y = const_45_to_fp16);
|
113 |
-
tensor<int32, [4]> var_236 = const()[name = tensor<string, []>("op_236"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
114 |
-
tensor<fp16, [1, 1500, 8, 64]> var_237_cast = reshape(shape = var_236, x = v_5_cast);
|
115 |
-
tensor<int32, [4]> var_238 = const()[name = tensor<string, []>("op_238"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
116 |
-
tensor<bool, []> qk_3_transpose_x_0 = const()[name = tensor<string, []>("qk_3_transpose_x_0"), val = tensor<bool, []>(false)];
|
117 |
-
tensor<bool, []> qk_3_transpose_y_0 = const()[name = tensor<string, []>("qk_3_transpose_y_0"), val = tensor<bool, []>(false)];
|
118 |
-
tensor<int32, [4]> transpose_14_perm_0 = const()[name = tensor<string, []>("transpose_14_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
119 |
-
tensor<int32, [4]> transpose_15_perm_0 = const()[name = tensor<string, []>("transpose_15_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
120 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_41 = transpose(perm = transpose_15_perm_0, x = k_7_cast);
|
121 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_42 = transpose(perm = transpose_14_perm_0, x = q_7_cast);
|
122 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_3_cast = matmul(transpose_x = qk_3_transpose_x_0, transpose_y = qk_3_transpose_y_0, x = transpose_42, y = transpose_41);
|
123 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_242_cast = softmax(axis = var_177, x = qk_3_cast);
|
124 |
-
tensor<bool, []> var_244_transpose_x_0 = const()[name = tensor<string, []>("op_244_transpose_x_0"), val = tensor<bool, []>(false)];
|
125 |
-
tensor<bool, []> var_244_transpose_y_0 = const()[name = tensor<string, []>("op_244_transpose_y_0"), val = tensor<bool, []>(false)];
|
126 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_43 = transpose(perm = var_238, x = var_237_cast);
|
127 |
-
tensor<fp16, [1, 8, 1500, 64]> var_244_cast = matmul(transpose_x = var_244_transpose_x_0, transpose_y = var_244_transpose_y_0, x = var_242_cast, y = transpose_43);
|
128 |
-
tensor<int32, [4]> var_245 = const()[name = tensor<string, []>("op_245"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
129 |
-
tensor<int32, [3]> concat_1 = const()[name = tensor<string, []>("concat_1"), val = tensor<int32, [3]>([1, 1500, 512])];
|
130 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_40 = transpose(perm = var_245, x = var_244_cast);
|
131 |
-
tensor<fp16, [1, 1500, 512]> x_23_cast = reshape(shape = concat_1, x = transpose_40);
|
132 |
-
tensor<fp16, [512, 512]> var_250_to_fp16 = const()[name = tensor<string, []>("op_250_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11241344)))];
|
133 |
-
tensor<fp16, [512]> var_251_to_fp16 = const()[name = tensor<string, []>("op_251_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11765696)))];
|
134 |
-
tensor<fp16, [1, 1500, 512]> var_252_cast = linear(bias = var_251_to_fp16, weight = var_250_to_fp16, x = x_23_cast);
|
135 |
-
tensor<fp16, [1, 1500, 512]> x_25_cast = add(x = x_19_cast, y = var_252_cast);
|
136 |
-
tensor<int32, [1]> var_258_axes_0 = const()[name = tensor<string, []>("op_258_axes_0"), val = tensor<int32, [1]>([-1])];
|
137 |
-
tensor<fp16, [512]> blocks_1_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_1_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11766784)))];
|
138 |
-
tensor<fp16, [512]> blocks_1_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_1_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11767872)))];
|
139 |
-
tensor<fp16, [1, 1500, 512]> var_258_cast = layer_norm(axes = var_258_axes_0, beta = blocks_1_mlp_ln_bias_to_fp16, epsilon = var_183_to_fp16, gamma = blocks_1_mlp_ln_weight_to_fp16, x = x_25_cast);
|
140 |
-
tensor<fp16, [2048, 512]> var_267_to_fp16 = const()[name = tensor<string, []>("op_267_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11768960)))];
|
141 |
-
tensor<fp16, [2048]> var_268_to_fp16 = const()[name = tensor<string, []>("op_268_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13866176)))];
|
142 |
-
tensor<fp16, [1, 1500, 2048]> input_17_cast = linear(bias = var_268_to_fp16, weight = var_267_to_fp16, x = var_258_cast);
|
143 |
-
tensor<string, []> x_29_mode_0 = const()[name = tensor<string, []>("x_29_mode_0"), val = tensor<string, []>("EXACT")];
|
144 |
-
tensor<fp16, [1, 1500, 2048]> x_29_cast = gelu(mode = x_29_mode_0, x = input_17_cast);
|
145 |
-
tensor<fp16, [512, 2048]> var_273_to_fp16 = const()[name = tensor<string, []>("op_273_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13870336)))];
|
146 |
-
tensor<fp16, [512]> var_274_to_fp16 = const()[name = tensor<string, []>("op_274_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15967552)))];
|
147 |
-
tensor<fp16, [1, 1500, 512]> var_275_cast = linear(bias = var_274_to_fp16, weight = var_273_to_fp16, x = x_29_cast);
|
148 |
-
tensor<fp16, [1, 1500, 512]> x_31_cast = add(x = x_25_cast, y = var_275_cast);
|
149 |
-
tensor<int32, []> var_284 = const()[name = tensor<string, []>("op_284"), val = tensor<int32, []>(-1)];
|
150 |
-
tensor<int32, [1]> var_301_axes_0 = const()[name = tensor<string, []>("op_301_axes_0"), val = tensor<int32, [1]>([-1])];
|
151 |
-
tensor<fp16, [512]> blocks_2_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_2_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15968640)))];
|
152 |
-
tensor<fp16, [512]> blocks_2_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_2_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15969728)))];
|
153 |
-
tensor<fp16, []> var_290_to_fp16 = const()[name = tensor<string, []>("op_290_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
154 |
-
tensor<fp16, [1, 1500, 512]> var_301_cast = layer_norm(axes = var_301_axes_0, beta = blocks_2_attn_ln_bias_to_fp16, epsilon = var_290_to_fp16, gamma = blocks_2_attn_ln_weight_to_fp16, x = x_31_cast);
|
155 |
-
tensor<fp16, [512, 512]> var_312_to_fp16 = const()[name = tensor<string, []>("op_312_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15970816)))];
|
156 |
-
tensor<fp16, [512]> var_313_to_fp16 = const()[name = tensor<string, []>("op_313_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(16495168)))];
|
157 |
-
tensor<fp16, [1, 1500, 512]> q_9_cast = linear(bias = var_313_to_fp16, weight = var_312_to_fp16, x = var_301_cast);
|
158 |
-
tensor<fp16, [512, 512]> var_316_to_fp16 = const()[name = tensor<string, []>("op_316_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(16496256)))];
|
159 |
-
tensor<fp16, [512]> k_9_bias_0_to_fp16 = const()[name = tensor<string, []>("k_9_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17020608)))];
|
160 |
-
tensor<fp16, [1, 1500, 512]> k_9_cast = linear(bias = k_9_bias_0_to_fp16, weight = var_316_to_fp16, x = var_301_cast);
|
161 |
-
tensor<fp16, [512, 512]> var_320_to_fp16 = const()[name = tensor<string, []>("op_320_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17021696)))];
|
162 |
-
tensor<fp16, [512]> var_321_to_fp16 = const()[name = tensor<string, []>("op_321_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17546048)))];
|
163 |
-
tensor<fp16, [1, 1500, 512]> v_9_cast = linear(bias = var_321_to_fp16, weight = var_320_to_fp16, x = var_301_cast);
|
164 |
-
tensor<int32, [4]> var_329 = const()[name = tensor<string, []>("op_329"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
165 |
-
tensor<fp16, [1, 1500, 8, 64]> var_330_cast = reshape(shape = var_329, x = q_9_cast);
|
166 |
-
tensor<fp16, [1, 1, 1, 1]> const_46_to_fp16 = const()[name = tensor<string, []>("const_46_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
167 |
-
tensor<fp16, [1, 1500, 8, 64]> q_11_cast = mul(x = var_330_cast, y = const_46_to_fp16);
|
168 |
-
tensor<int32, [4]> var_336 = const()[name = tensor<string, []>("op_336"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
169 |
-
tensor<fp16, [1, 1500, 8, 64]> var_337_cast = reshape(shape = var_336, x = k_9_cast);
|
170 |
-
tensor<fp16, [1, 1, 1, 1]> const_47_to_fp16 = const()[name = tensor<string, []>("const_47_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
171 |
-
tensor<fp16, [1, 1500, 8, 64]> k_11_cast = mul(x = var_337_cast, y = const_47_to_fp16);
|
172 |
-
tensor<int32, [4]> var_343 = const()[name = tensor<string, []>("op_343"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
173 |
-
tensor<fp16, [1, 1500, 8, 64]> var_344_cast = reshape(shape = var_343, x = v_9_cast);
|
174 |
-
tensor<int32, [4]> var_345 = const()[name = tensor<string, []>("op_345"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
175 |
-
tensor<bool, []> qk_5_transpose_x_0 = const()[name = tensor<string, []>("qk_5_transpose_x_0"), val = tensor<bool, []>(false)];
|
176 |
-
tensor<bool, []> qk_5_transpose_y_0 = const()[name = tensor<string, []>("qk_5_transpose_y_0"), val = tensor<bool, []>(false)];
|
177 |
-
tensor<int32, [4]> transpose_16_perm_0 = const()[name = tensor<string, []>("transpose_16_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
178 |
-
tensor<int32, [4]> transpose_17_perm_0 = const()[name = tensor<string, []>("transpose_17_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
179 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_37 = transpose(perm = transpose_17_perm_0, x = k_11_cast);
|
180 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_38 = transpose(perm = transpose_16_perm_0, x = q_11_cast);
|
181 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_5_cast = matmul(transpose_x = qk_5_transpose_x_0, transpose_y = qk_5_transpose_y_0, x = transpose_38, y = transpose_37);
|
182 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_349_cast = softmax(axis = var_284, x = qk_5_cast);
|
183 |
-
tensor<bool, []> var_351_transpose_x_0 = const()[name = tensor<string, []>("op_351_transpose_x_0"), val = tensor<bool, []>(false)];
|
184 |
-
tensor<bool, []> var_351_transpose_y_0 = const()[name = tensor<string, []>("op_351_transpose_y_0"), val = tensor<bool, []>(false)];
|
185 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_39 = transpose(perm = var_345, x = var_344_cast);
|
186 |
-
tensor<fp16, [1, 8, 1500, 64]> var_351_cast = matmul(transpose_x = var_351_transpose_x_0, transpose_y = var_351_transpose_y_0, x = var_349_cast, y = transpose_39);
|
187 |
-
tensor<int32, [4]> var_352 = const()[name = tensor<string, []>("op_352"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
188 |
-
tensor<int32, [3]> concat_2 = const()[name = tensor<string, []>("concat_2"), val = tensor<int32, [3]>([1, 1500, 512])];
|
189 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_36 = transpose(perm = var_352, x = var_351_cast);
|
190 |
-
tensor<fp16, [1, 1500, 512]> x_35_cast = reshape(shape = concat_2, x = transpose_36);
|
191 |
-
tensor<fp16, [512, 512]> var_357_to_fp16 = const()[name = tensor<string, []>("op_357_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17547136)))];
|
192 |
-
tensor<fp16, [512]> var_358_to_fp16 = const()[name = tensor<string, []>("op_358_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(18071488)))];
|
193 |
-
tensor<fp16, [1, 1500, 512]> var_359_cast = linear(bias = var_358_to_fp16, weight = var_357_to_fp16, x = x_35_cast);
|
194 |
-
tensor<fp16, [1, 1500, 512]> x_37_cast = add(x = x_31_cast, y = var_359_cast);
|
195 |
-
tensor<int32, [1]> var_365_axes_0 = const()[name = tensor<string, []>("op_365_axes_0"), val = tensor<int32, [1]>([-1])];
|
196 |
-
tensor<fp16, [512]> blocks_2_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_2_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(18072576)))];
|
197 |
-
tensor<fp16, [512]> blocks_2_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_2_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(18073664)))];
|
198 |
-
tensor<fp16, [1, 1500, 512]> var_365_cast = layer_norm(axes = var_365_axes_0, beta = blocks_2_mlp_ln_bias_to_fp16, epsilon = var_290_to_fp16, gamma = blocks_2_mlp_ln_weight_to_fp16, x = x_37_cast);
|
199 |
-
tensor<fp16, [2048, 512]> var_374_to_fp16 = const()[name = tensor<string, []>("op_374_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(18074752)))];
|
200 |
-
tensor<fp16, [2048]> var_375_to_fp16 = const()[name = tensor<string, []>("op_375_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(20171968)))];
|
201 |
-
tensor<fp16, [1, 1500, 2048]> input_25_cast = linear(bias = var_375_to_fp16, weight = var_374_to_fp16, x = var_365_cast);
|
202 |
-
tensor<string, []> x_41_mode_0 = const()[name = tensor<string, []>("x_41_mode_0"), val = tensor<string, []>("EXACT")];
|
203 |
-
tensor<fp16, [1, 1500, 2048]> x_41_cast = gelu(mode = x_41_mode_0, x = input_25_cast);
|
204 |
-
tensor<fp16, [512, 2048]> var_380_to_fp16 = const()[name = tensor<string, []>("op_380_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(20176128)))];
|
205 |
-
tensor<fp16, [512]> var_381_to_fp16 = const()[name = tensor<string, []>("op_381_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22273344)))];
|
206 |
-
tensor<fp16, [1, 1500, 512]> var_382_cast = linear(bias = var_381_to_fp16, weight = var_380_to_fp16, x = x_41_cast);
|
207 |
-
tensor<fp16, [1, 1500, 512]> x_43_cast = add(x = x_37_cast, y = var_382_cast);
|
208 |
-
tensor<int32, []> var_391 = const()[name = tensor<string, []>("op_391"), val = tensor<int32, []>(-1)];
|
209 |
-
tensor<int32, [1]> var_408_axes_0 = const()[name = tensor<string, []>("op_408_axes_0"), val = tensor<int32, [1]>([-1])];
|
210 |
-
tensor<fp16, [512]> blocks_3_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_3_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22274432)))];
|
211 |
-
tensor<fp16, [512]> blocks_3_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_3_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22275520)))];
|
212 |
-
tensor<fp16, []> var_397_to_fp16 = const()[name = tensor<string, []>("op_397_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
213 |
-
tensor<fp16, [1, 1500, 512]> var_408_cast = layer_norm(axes = var_408_axes_0, beta = blocks_3_attn_ln_bias_to_fp16, epsilon = var_397_to_fp16, gamma = blocks_3_attn_ln_weight_to_fp16, x = x_43_cast);
|
214 |
-
tensor<fp16, [512, 512]> var_419_to_fp16 = const()[name = tensor<string, []>("op_419_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22276608)))];
|
215 |
-
tensor<fp16, [512]> var_420_to_fp16 = const()[name = tensor<string, []>("op_420_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22800960)))];
|
216 |
-
tensor<fp16, [1, 1500, 512]> q_13_cast = linear(bias = var_420_to_fp16, weight = var_419_to_fp16, x = var_408_cast);
|
217 |
-
tensor<fp16, [512, 512]> var_423_to_fp16 = const()[name = tensor<string, []>("op_423_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(22802048)))];
|
218 |
-
tensor<fp16, [512]> k_13_bias_0_to_fp16 = const()[name = tensor<string, []>("k_13_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23326400)))];
|
219 |
-
tensor<fp16, [1, 1500, 512]> k_13_cast = linear(bias = k_13_bias_0_to_fp16, weight = var_423_to_fp16, x = var_408_cast);
|
220 |
-
tensor<fp16, [512, 512]> var_427_to_fp16 = const()[name = tensor<string, []>("op_427_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23327488)))];
|
221 |
-
tensor<fp16, [512]> var_428_to_fp16 = const()[name = tensor<string, []>("op_428_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23851840)))];
|
222 |
-
tensor<fp16, [1, 1500, 512]> v_13_cast = linear(bias = var_428_to_fp16, weight = var_427_to_fp16, x = var_408_cast);
|
223 |
-
tensor<int32, [4]> var_436 = const()[name = tensor<string, []>("op_436"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
224 |
-
tensor<fp16, [1, 1500, 8, 64]> var_437_cast = reshape(shape = var_436, x = q_13_cast);
|
225 |
-
tensor<fp16, [1, 1, 1, 1]> const_48_to_fp16 = const()[name = tensor<string, []>("const_48_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
226 |
-
tensor<fp16, [1, 1500, 8, 64]> q_15_cast = mul(x = var_437_cast, y = const_48_to_fp16);
|
227 |
-
tensor<int32, [4]> var_443 = const()[name = tensor<string, []>("op_443"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
228 |
-
tensor<fp16, [1, 1500, 8, 64]> var_444_cast = reshape(shape = var_443, x = k_13_cast);
|
229 |
-
tensor<fp16, [1, 1, 1, 1]> const_49_to_fp16 = const()[name = tensor<string, []>("const_49_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
230 |
-
tensor<fp16, [1, 1500, 8, 64]> k_15_cast = mul(x = var_444_cast, y = const_49_to_fp16);
|
231 |
-
tensor<int32, [4]> var_450 = const()[name = tensor<string, []>("op_450"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
232 |
-
tensor<fp16, [1, 1500, 8, 64]> var_451_cast = reshape(shape = var_450, x = v_13_cast);
|
233 |
-
tensor<int32, [4]> var_452 = const()[name = tensor<string, []>("op_452"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
234 |
-
tensor<bool, []> qk_7_transpose_x_0 = const()[name = tensor<string, []>("qk_7_transpose_x_0"), val = tensor<bool, []>(false)];
|
235 |
-
tensor<bool, []> qk_7_transpose_y_0 = const()[name = tensor<string, []>("qk_7_transpose_y_0"), val = tensor<bool, []>(false)];
|
236 |
-
tensor<int32, [4]> transpose_18_perm_0 = const()[name = tensor<string, []>("transpose_18_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
237 |
-
tensor<int32, [4]> transpose_19_perm_0 = const()[name = tensor<string, []>("transpose_19_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
238 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_33 = transpose(perm = transpose_19_perm_0, x = k_15_cast);
|
239 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_34 = transpose(perm = transpose_18_perm_0, x = q_15_cast);
|
240 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_7_cast = matmul(transpose_x = qk_7_transpose_x_0, transpose_y = qk_7_transpose_y_0, x = transpose_34, y = transpose_33);
|
241 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_456_cast = softmax(axis = var_391, x = qk_7_cast);
|
242 |
-
tensor<bool, []> var_458_transpose_x_0 = const()[name = tensor<string, []>("op_458_transpose_x_0"), val = tensor<bool, []>(false)];
|
243 |
-
tensor<bool, []> var_458_transpose_y_0 = const()[name = tensor<string, []>("op_458_transpose_y_0"), val = tensor<bool, []>(false)];
|
244 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_35 = transpose(perm = var_452, x = var_451_cast);
|
245 |
-
tensor<fp16, [1, 8, 1500, 64]> var_458_cast = matmul(transpose_x = var_458_transpose_x_0, transpose_y = var_458_transpose_y_0, x = var_456_cast, y = transpose_35);
|
246 |
-
tensor<int32, [4]> var_459 = const()[name = tensor<string, []>("op_459"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
247 |
-
tensor<int32, [3]> concat_3 = const()[name = tensor<string, []>("concat_3"), val = tensor<int32, [3]>([1, 1500, 512])];
|
248 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_32 = transpose(perm = var_459, x = var_458_cast);
|
249 |
-
tensor<fp16, [1, 1500, 512]> x_47_cast = reshape(shape = concat_3, x = transpose_32);
|
250 |
-
tensor<fp16, [512, 512]> var_464_to_fp16 = const()[name = tensor<string, []>("op_464_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23852928)))];
|
251 |
-
tensor<fp16, [512]> var_465_to_fp16 = const()[name = tensor<string, []>("op_465_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(24377280)))];
|
252 |
-
tensor<fp16, [1, 1500, 512]> var_466_cast = linear(bias = var_465_to_fp16, weight = var_464_to_fp16, x = x_47_cast);
|
253 |
-
tensor<fp16, [1, 1500, 512]> x_49_cast = add(x = x_43_cast, y = var_466_cast);
|
254 |
-
tensor<int32, [1]> var_472_axes_0 = const()[name = tensor<string, []>("op_472_axes_0"), val = tensor<int32, [1]>([-1])];
|
255 |
-
tensor<fp16, [512]> blocks_3_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_3_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(24378368)))];
|
256 |
-
tensor<fp16, [512]> blocks_3_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_3_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(24379456)))];
|
257 |
-
tensor<fp16, [1, 1500, 512]> var_472_cast = layer_norm(axes = var_472_axes_0, beta = blocks_3_mlp_ln_bias_to_fp16, epsilon = var_397_to_fp16, gamma = blocks_3_mlp_ln_weight_to_fp16, x = x_49_cast);
|
258 |
-
tensor<fp16, [2048, 512]> var_481_to_fp16 = const()[name = tensor<string, []>("op_481_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(24380544)))];
|
259 |
-
tensor<fp16, [2048]> var_482_to_fp16 = const()[name = tensor<string, []>("op_482_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(26477760)))];
|
260 |
-
tensor<fp16, [1, 1500, 2048]> input_33_cast = linear(bias = var_482_to_fp16, weight = var_481_to_fp16, x = var_472_cast);
|
261 |
-
tensor<string, []> x_53_mode_0 = const()[name = tensor<string, []>("x_53_mode_0"), val = tensor<string, []>("EXACT")];
|
262 |
-
tensor<fp16, [1, 1500, 2048]> x_53_cast = gelu(mode = x_53_mode_0, x = input_33_cast);
|
263 |
-
tensor<fp16, [512, 2048]> var_487_to_fp16 = const()[name = tensor<string, []>("op_487_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(26481920)))];
|
264 |
-
tensor<fp16, [512]> var_488_to_fp16 = const()[name = tensor<string, []>("op_488_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(28579136)))];
|
265 |
-
tensor<fp16, [1, 1500, 512]> var_489_cast = linear(bias = var_488_to_fp16, weight = var_487_to_fp16, x = x_53_cast);
|
266 |
-
tensor<fp16, [1, 1500, 512]> x_55_cast = add(x = x_49_cast, y = var_489_cast);
|
267 |
-
tensor<int32, []> var_498 = const()[name = tensor<string, []>("op_498"), val = tensor<int32, []>(-1)];
|
268 |
-
tensor<int32, [1]> var_515_axes_0 = const()[name = tensor<string, []>("op_515_axes_0"), val = tensor<int32, [1]>([-1])];
|
269 |
-
tensor<fp16, [512]> blocks_4_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_4_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(28580224)))];
|
270 |
-
tensor<fp16, [512]> blocks_4_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_4_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(28581312)))];
|
271 |
-
tensor<fp16, []> var_504_to_fp16 = const()[name = tensor<string, []>("op_504_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
272 |
-
tensor<fp16, [1, 1500, 512]> var_515_cast = layer_norm(axes = var_515_axes_0, beta = blocks_4_attn_ln_bias_to_fp16, epsilon = var_504_to_fp16, gamma = blocks_4_attn_ln_weight_to_fp16, x = x_55_cast);
|
273 |
-
tensor<fp16, [512, 512]> var_526_to_fp16 = const()[name = tensor<string, []>("op_526_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(28582400)))];
|
274 |
-
tensor<fp16, [512]> var_527_to_fp16 = const()[name = tensor<string, []>("op_527_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(29106752)))];
|
275 |
-
tensor<fp16, [1, 1500, 512]> q_17_cast = linear(bias = var_527_to_fp16, weight = var_526_to_fp16, x = var_515_cast);
|
276 |
-
tensor<fp16, [512, 512]> var_530_to_fp16 = const()[name = tensor<string, []>("op_530_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(29107840)))];
|
277 |
-
tensor<fp16, [512]> k_17_bias_0_to_fp16 = const()[name = tensor<string, []>("k_17_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(29632192)))];
|
278 |
-
tensor<fp16, [1, 1500, 512]> k_17_cast = linear(bias = k_17_bias_0_to_fp16, weight = var_530_to_fp16, x = var_515_cast);
|
279 |
-
tensor<fp16, [512, 512]> var_534_to_fp16 = const()[name = tensor<string, []>("op_534_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(29633280)))];
|
280 |
-
tensor<fp16, [512]> var_535_to_fp16 = const()[name = tensor<string, []>("op_535_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30157632)))];
|
281 |
-
tensor<fp16, [1, 1500, 512]> v_17_cast = linear(bias = var_535_to_fp16, weight = var_534_to_fp16, x = var_515_cast);
|
282 |
-
tensor<int32, [4]> var_543 = const()[name = tensor<string, []>("op_543"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
283 |
-
tensor<fp16, [1, 1500, 8, 64]> var_544_cast = reshape(shape = var_543, x = q_17_cast);
|
284 |
-
tensor<fp16, [1, 1, 1, 1]> const_50_to_fp16 = const()[name = tensor<string, []>("const_50_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
285 |
-
tensor<fp16, [1, 1500, 8, 64]> q_19_cast = mul(x = var_544_cast, y = const_50_to_fp16);
|
286 |
-
tensor<int32, [4]> var_550 = const()[name = tensor<string, []>("op_550"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
287 |
-
tensor<fp16, [1, 1500, 8, 64]> var_551_cast = reshape(shape = var_550, x = k_17_cast);
|
288 |
-
tensor<fp16, [1, 1, 1, 1]> const_51_to_fp16 = const()[name = tensor<string, []>("const_51_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
289 |
-
tensor<fp16, [1, 1500, 8, 64]> k_19_cast = mul(x = var_551_cast, y = const_51_to_fp16);
|
290 |
-
tensor<int32, [4]> var_557 = const()[name = tensor<string, []>("op_557"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
291 |
-
tensor<fp16, [1, 1500, 8, 64]> var_558_cast = reshape(shape = var_557, x = v_17_cast);
|
292 |
-
tensor<int32, [4]> var_559 = const()[name = tensor<string, []>("op_559"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
293 |
-
tensor<bool, []> qk_9_transpose_x_0 = const()[name = tensor<string, []>("qk_9_transpose_x_0"), val = tensor<bool, []>(false)];
|
294 |
-
tensor<bool, []> qk_9_transpose_y_0 = const()[name = tensor<string, []>("qk_9_transpose_y_0"), val = tensor<bool, []>(false)];
|
295 |
-
tensor<int32, [4]> transpose_20_perm_0 = const()[name = tensor<string, []>("transpose_20_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
296 |
-
tensor<int32, [4]> transpose_21_perm_0 = const()[name = tensor<string, []>("transpose_21_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
297 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_29 = transpose(perm = transpose_21_perm_0, x = k_19_cast);
|
298 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_30 = transpose(perm = transpose_20_perm_0, x = q_19_cast);
|
299 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_9_cast = matmul(transpose_x = qk_9_transpose_x_0, transpose_y = qk_9_transpose_y_0, x = transpose_30, y = transpose_29);
|
300 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_563_cast = softmax(axis = var_498, x = qk_9_cast);
|
301 |
-
tensor<bool, []> var_565_transpose_x_0 = const()[name = tensor<string, []>("op_565_transpose_x_0"), val = tensor<bool, []>(false)];
|
302 |
-
tensor<bool, []> var_565_transpose_y_0 = const()[name = tensor<string, []>("op_565_transpose_y_0"), val = tensor<bool, []>(false)];
|
303 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_31 = transpose(perm = var_559, x = var_558_cast);
|
304 |
-
tensor<fp16, [1, 8, 1500, 64]> var_565_cast = matmul(transpose_x = var_565_transpose_x_0, transpose_y = var_565_transpose_y_0, x = var_563_cast, y = transpose_31);
|
305 |
-
tensor<int32, [4]> var_566 = const()[name = tensor<string, []>("op_566"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
306 |
-
tensor<int32, [3]> concat_4 = const()[name = tensor<string, []>("concat_4"), val = tensor<int32, [3]>([1, 1500, 512])];
|
307 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_28 = transpose(perm = var_566, x = var_565_cast);
|
308 |
-
tensor<fp16, [1, 1500, 512]> x_59_cast = reshape(shape = concat_4, x = transpose_28);
|
309 |
-
tensor<fp16, [512, 512]> var_571_to_fp16 = const()[name = tensor<string, []>("op_571_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30158720)))];
|
310 |
-
tensor<fp16, [512]> var_572_to_fp16 = const()[name = tensor<string, []>("op_572_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30683072)))];
|
311 |
-
tensor<fp16, [1, 1500, 512]> var_573_cast = linear(bias = var_572_to_fp16, weight = var_571_to_fp16, x = x_59_cast);
|
312 |
-
tensor<fp16, [1, 1500, 512]> x_61_cast = add(x = x_55_cast, y = var_573_cast);
|
313 |
-
tensor<int32, [1]> var_579_axes_0 = const()[name = tensor<string, []>("op_579_axes_0"), val = tensor<int32, [1]>([-1])];
|
314 |
-
tensor<fp16, [512]> blocks_4_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_4_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30684160)))];
|
315 |
-
tensor<fp16, [512]> blocks_4_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_4_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30685248)))];
|
316 |
-
tensor<fp16, [1, 1500, 512]> var_579_cast = layer_norm(axes = var_579_axes_0, beta = blocks_4_mlp_ln_bias_to_fp16, epsilon = var_504_to_fp16, gamma = blocks_4_mlp_ln_weight_to_fp16, x = x_61_cast);
|
317 |
-
tensor<fp16, [2048, 512]> var_588_to_fp16 = const()[name = tensor<string, []>("op_588_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(30686336)))];
|
318 |
-
tensor<fp16, [2048]> var_589_to_fp16 = const()[name = tensor<string, []>("op_589_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(32783552)))];
|
319 |
-
tensor<fp16, [1, 1500, 2048]> input_41_cast = linear(bias = var_589_to_fp16, weight = var_588_to_fp16, x = var_579_cast);
|
320 |
-
tensor<string, []> x_65_mode_0 = const()[name = tensor<string, []>("x_65_mode_0"), val = tensor<string, []>("EXACT")];
|
321 |
-
tensor<fp16, [1, 1500, 2048]> x_65_cast = gelu(mode = x_65_mode_0, x = input_41_cast);
|
322 |
-
tensor<fp16, [512, 2048]> var_594_to_fp16 = const()[name = tensor<string, []>("op_594_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(32787712)))];
|
323 |
-
tensor<fp16, [512]> var_595_to_fp16 = const()[name = tensor<string, []>("op_595_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(34884928)))];
|
324 |
-
tensor<fp16, [1, 1500, 512]> var_596_cast = linear(bias = var_595_to_fp16, weight = var_594_to_fp16, x = x_65_cast);
|
325 |
-
tensor<fp16, [1, 1500, 512]> x_67_cast = add(x = x_61_cast, y = var_596_cast);
|
326 |
-
tensor<int32, []> var_605 = const()[name = tensor<string, []>("op_605"), val = tensor<int32, []>(-1)];
|
327 |
-
tensor<int32, [1]> var_622_axes_0 = const()[name = tensor<string, []>("op_622_axes_0"), val = tensor<int32, [1]>([-1])];
|
328 |
-
tensor<fp16, [512]> blocks_5_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_5_attn_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(34886016)))];
|
329 |
-
tensor<fp16, [512]> blocks_5_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_5_attn_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(34887104)))];
|
330 |
-
tensor<fp16, []> var_611_to_fp16 = const()[name = tensor<string, []>("op_611_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
331 |
-
tensor<fp16, [1, 1500, 512]> var_622_cast = layer_norm(axes = var_622_axes_0, beta = blocks_5_attn_ln_bias_to_fp16, epsilon = var_611_to_fp16, gamma = blocks_5_attn_ln_weight_to_fp16, x = x_67_cast);
|
332 |
-
tensor<fp16, [512, 512]> var_633_to_fp16 = const()[name = tensor<string, []>("op_633_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(34888192)))];
|
333 |
-
tensor<fp16, [512]> var_634_to_fp16 = const()[name = tensor<string, []>("op_634_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(35412544)))];
|
334 |
-
tensor<fp16, [1, 1500, 512]> q_21_cast = linear(bias = var_634_to_fp16, weight = var_633_to_fp16, x = var_622_cast);
|
335 |
-
tensor<fp16, [512, 512]> var_637_to_fp16 = const()[name = tensor<string, []>("op_637_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(35413632)))];
|
336 |
-
tensor<fp16, [512]> k_21_bias_0_to_fp16 = const()[name = tensor<string, []>("k_21_bias_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(35937984)))];
|
337 |
-
tensor<fp16, [1, 1500, 512]> k_21_cast = linear(bias = k_21_bias_0_to_fp16, weight = var_637_to_fp16, x = var_622_cast);
|
338 |
-
tensor<fp16, [512, 512]> var_641_to_fp16 = const()[name = tensor<string, []>("op_641_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(35939072)))];
|
339 |
-
tensor<fp16, [512]> var_642_to_fp16 = const()[name = tensor<string, []>("op_642_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36463424)))];
|
340 |
-
tensor<fp16, [1, 1500, 512]> v_21_cast = linear(bias = var_642_to_fp16, weight = var_641_to_fp16, x = var_622_cast);
|
341 |
-
tensor<int32, [4]> var_650 = const()[name = tensor<string, []>("op_650"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
342 |
-
tensor<fp16, [1, 1500, 8, 64]> var_651_cast = reshape(shape = var_650, x = q_21_cast);
|
343 |
-
tensor<fp16, [1, 1, 1, 1]> const_52_to_fp16 = const()[name = tensor<string, []>("const_52_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
344 |
-
tensor<fp16, [1, 1500, 8, 64]> q_cast = mul(x = var_651_cast, y = const_52_to_fp16);
|
345 |
-
tensor<int32, [4]> var_657 = const()[name = tensor<string, []>("op_657"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
346 |
-
tensor<fp16, [1, 1500, 8, 64]> var_658_cast = reshape(shape = var_657, x = k_21_cast);
|
347 |
-
tensor<fp16, [1, 1, 1, 1]> const_53_to_fp16 = const()[name = tensor<string, []>("const_53_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
348 |
-
tensor<fp16, [1, 1500, 8, 64]> k_cast = mul(x = var_658_cast, y = const_53_to_fp16);
|
349 |
-
tensor<int32, [4]> var_664 = const()[name = tensor<string, []>("op_664"), val = tensor<int32, [4]>([1, 1500, 8, -1])];
|
350 |
-
tensor<fp16, [1, 1500, 8, 64]> var_665_cast = reshape(shape = var_664, x = v_21_cast);
|
351 |
-
tensor<int32, [4]> var_666 = const()[name = tensor<string, []>("op_666"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
352 |
-
tensor<bool, []> qk_transpose_x_0 = const()[name = tensor<string, []>("qk_transpose_x_0"), val = tensor<bool, []>(false)];
|
353 |
-
tensor<bool, []> qk_transpose_y_0 = const()[name = tensor<string, []>("qk_transpose_y_0"), val = tensor<bool, []>(false)];
|
354 |
-
tensor<int32, [4]> transpose_22_perm_0 = const()[name = tensor<string, []>("transpose_22_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
355 |
-
tensor<int32, [4]> transpose_23_perm_0 = const()[name = tensor<string, []>("transpose_23_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
356 |
-
tensor<fp16, [1, 8, 64, 1500]> transpose_25 = transpose(perm = transpose_23_perm_0, x = k_cast);
|
357 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_26 = transpose(perm = transpose_22_perm_0, x = q_cast);
|
358 |
-
tensor<fp16, [1, 8, 1500, 1500]> qk_cast = matmul(transpose_x = qk_transpose_x_0, transpose_y = qk_transpose_y_0, x = transpose_26, y = transpose_25);
|
359 |
-
tensor<fp16, [1, 8, 1500, 1500]> var_670_cast = softmax(axis = var_605, x = qk_cast);
|
360 |
-
tensor<bool, []> var_672_transpose_x_0 = const()[name = tensor<string, []>("op_672_transpose_x_0"), val = tensor<bool, []>(false)];
|
361 |
-
tensor<bool, []> var_672_transpose_y_0 = const()[name = tensor<string, []>("op_672_transpose_y_0"), val = tensor<bool, []>(false)];
|
362 |
-
tensor<fp16, [1, 8, 1500, 64]> transpose_27 = transpose(perm = var_666, x = var_665_cast);
|
363 |
-
tensor<fp16, [1, 8, 1500, 64]> var_672_cast = matmul(transpose_x = var_672_transpose_x_0, transpose_y = var_672_transpose_y_0, x = var_670_cast, y = transpose_27);
|
364 |
-
tensor<int32, [4]> var_673 = const()[name = tensor<string, []>("op_673"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
365 |
-
tensor<int32, [3]> concat_5 = const()[name = tensor<string, []>("concat_5"), val = tensor<int32, [3]>([1, 1500, 512])];
|
366 |
-
tensor<fp16, [1, 1500, 8, 64]> transpose_24 = transpose(perm = var_673, x = var_672_cast);
|
367 |
-
tensor<fp16, [1, 1500, 512]> x_71_cast = reshape(shape = concat_5, x = transpose_24);
|
368 |
-
tensor<fp16, [512, 512]> var_678_to_fp16 = const()[name = tensor<string, []>("op_678_to_fp16"), val = tensor<fp16, [512, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36464512)))];
|
369 |
-
tensor<fp16, [512]> var_679_to_fp16 = const()[name = tensor<string, []>("op_679_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36988864)))];
|
370 |
-
tensor<fp16, [1, 1500, 512]> var_680_cast = linear(bias = var_679_to_fp16, weight = var_678_to_fp16, x = x_71_cast);
|
371 |
-
tensor<fp16, [1, 1500, 512]> x_73_cast = add(x = x_67_cast, y = var_680_cast);
|
372 |
-
tensor<int32, [1]> var_686_axes_0 = const()[name = tensor<string, []>("op_686_axes_0"), val = tensor<int32, [1]>([-1])];
|
373 |
-
tensor<fp16, [512]> blocks_5_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_5_mlp_ln_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36989952)))];
|
374 |
-
tensor<fp16, [512]> blocks_5_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_5_mlp_ln_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36991040)))];
|
375 |
-
tensor<fp16, [1, 1500, 512]> var_686_cast = layer_norm(axes = var_686_axes_0, beta = blocks_5_mlp_ln_bias_to_fp16, epsilon = var_611_to_fp16, gamma = blocks_5_mlp_ln_weight_to_fp16, x = x_73_cast);
|
376 |
-
tensor<fp16, [2048, 512]> var_695_to_fp16 = const()[name = tensor<string, []>("op_695_to_fp16"), val = tensor<fp16, [2048, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(36992128)))];
|
377 |
-
tensor<fp16, [2048]> var_696_to_fp16 = const()[name = tensor<string, []>("op_696_to_fp16"), val = tensor<fp16, [2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(39089344)))];
|
378 |
-
tensor<fp16, [1, 1500, 2048]> input_49_cast = linear(bias = var_696_to_fp16, weight = var_695_to_fp16, x = var_686_cast);
|
379 |
-
tensor<string, []> x_77_mode_0 = const()[name = tensor<string, []>("x_77_mode_0"), val = tensor<string, []>("EXACT")];
|
380 |
-
tensor<fp16, [1, 1500, 2048]> x_77_cast = gelu(mode = x_77_mode_0, x = input_49_cast);
|
381 |
-
tensor<fp16, [512, 2048]> var_701_to_fp16 = const()[name = tensor<string, []>("op_701_to_fp16"), val = tensor<fp16, [512, 2048]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(39093504)))];
|
382 |
-
tensor<fp16, [512]> var_702_to_fp16 = const()[name = tensor<string, []>("op_702_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(41190720)))];
|
383 |
-
tensor<fp16, [1, 1500, 512]> var_703_cast = linear(bias = var_702_to_fp16, weight = var_701_to_fp16, x = x_77_cast);
|
384 |
-
tensor<fp16, [1, 1500, 512]> x_cast = add(x = x_73_cast, y = var_703_cast);
|
385 |
-
tensor<int32, [1]> var_716_axes_0 = const()[name = tensor<string, []>("op_716_axes_0"), val = tensor<int32, [1]>([-1])];
|
386 |
-
tensor<fp16, [512]> ln_post_weight_to_fp16 = const()[name = tensor<string, []>("ln_post_weight_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(41191808)))];
|
387 |
-
tensor<fp16, [512]> ln_post_bias_to_fp16 = const()[name = tensor<string, []>("ln_post_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(41192896)))];
|
388 |
-
tensor<fp16, []> var_707_to_fp16 = const()[name = tensor<string, []>("op_707_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
389 |
-
tensor<fp16, [1, 1500, 512]> var_716_cast = layer_norm(axes = var_716_axes_0, beta = ln_post_bias_to_fp16, epsilon = var_707_to_fp16, gamma = ln_post_weight_to_fp16, x = x_cast);
|
390 |
-
tensor<string, []> var_716_cast_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_716_cast_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
|
391 |
-
tensor<fp32, [1, 1500, 512]> output = cast(dtype = var_716_cast_to_fp32_dtype_0, x = var_716_cast);
|
392 |
-
} -> (output);
|
393 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-large-encoder.mlmodelc.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e52af78363b58219ac2add6df9bddd49766292ef7767a5f6a9b6617052ec52d9
|
3 |
+
size 1174643319
|
ggml-large-encoder.mlmodelc/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:05fe28591b40616fa0c34ad7b853133623f5300923ec812acb11459c411acf3b
|
3 |
-
size 149
|
|
|
|
|
|
|
|
ggml-large-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 192,
|
23 |
-
"Matmul" : 64,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 32,
|
27 |
-
"Add" : 65,
|
28 |
-
"LayerNorm" : 65,
|
29 |
-
"Mul" : 64,
|
30 |
-
"Transpose" : 129,
|
31 |
-
"Gelu" : 34,
|
32 |
-
"Reshape" : 128
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_large",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-large-encoder.mlmodelc/model.mil
DELETED
The diff for this file is too large to render.
See raw diff
|
|
ggml-large-encoder.mlmodelc/weights/weight.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:774d50f0f4191a3bb23c3bffe24367dac5a6695cf3f099ef1acf10c992d96fa0
|
3 |
-
size 1273684480
|
|
|
|
|
|
|
|
ggml-base-encoder.mlmodelc/weights/weight.bin → ggml-medium-encoder.mlmodelc.zip
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbe6b96b61874e0d9536ae31eb13ae294c820d8e8cd4aa700fa916e93f926099
|
3 |
+
size 567829197
|
ggml-medium-encoder.mlmodelc/analytics/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:adbe456375e7eb3407732a426ecb65bbda86860e4aa801f3a696b70b8a533cdd
|
3 |
-
size 207
|
|
|
|
|
|
|
|
ggml-medium-encoder.mlmodelc/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:05fe28591b40616fa0c34ad7b853133623f5300923ec812acb11459c411acf3b
|
3 |
-
size 149
|
|
|
|
|
|
|
|
ggml-medium-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 144,
|
23 |
-
"Matmul" : 48,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 24,
|
27 |
-
"Add" : 49,
|
28 |
-
"LayerNorm" : 49,
|
29 |
-
"Mul" : 48,
|
30 |
-
"Transpose" : 97,
|
31 |
-
"Gelu" : 26,
|
32 |
-
"Reshape" : 96
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_medium",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-medium-encoder.mlmodelc/model.mil
DELETED
The diff for this file is too large to render.
See raw diff
|
|
ggml-medium-encoder.mlmodelc/weights/weight.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:111548c34d144aa0647caae75769976723977dc6f4d60ef94c2f3e82d9ecc0e2
|
3 |
-
size 614507008
|
|
|
|
|
|
|
|
ggml-large-encoder.mlmodelc/analytics/coremldata.bin → ggml-medium.en-encoder.mlmodelc.zip
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5efbabd0c02344087a7bd0ffa42116507746a1e6023ff9665b7f58dabe23b6d4
|
3 |
+
size 566993104
|
ggml-medium.en-encoder.mlmodelc/analytics/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:adbe456375e7eb3407732a426ecb65bbda86860e4aa801f3a696b70b8a533cdd
|
3 |
-
size 207
|
|
|
|
|
|
|
|
ggml-medium.en-encoder.mlmodelc/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:05fe28591b40616fa0c34ad7b853133623f5300923ec812acb11459c411acf3b
|
3 |
-
size 149
|
|
|
|
|
|
|
|
ggml-medium.en-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 144,
|
23 |
-
"Matmul" : 48,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 24,
|
27 |
-
"Add" : 49,
|
28 |
-
"LayerNorm" : 49,
|
29 |
-
"Mul" : 48,
|
30 |
-
"Transpose" : 97,
|
31 |
-
"Gelu" : 26,
|
32 |
-
"Reshape" : 96
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_medium_en",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-medium.en-encoder.mlmodelc/model.mil
DELETED
The diff for this file is too large to render.
See raw diff
|
|
ggml-medium.en-encoder.mlmodelc/weights/weight.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:dbabff0d30bb8565baf63618dc2c2eb6fb7e8ef2fe3d4114b68c26e784b91398
|
3 |
-
size 614507008
|
|
|
|
|
|
|
|
ggml-small-encoder.mlmodelc.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5305b8521b3766bbfb9a042f92f7986f5d005271247ed6e872f1634dc90d22d5
|
3 |
+
size 163083036
|
ggml-small-encoder.mlmodelc/analytics/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:18ad2072ae82872c2ba8a187071e1e7d6c1105253685e7aa95138adcf07874e0
|
3 |
-
size 207
|
|
|
|
|
|
|
|
ggml-small-encoder.mlmodelc/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:05fe28591b40616fa0c34ad7b853133623f5300923ec812acb11459c411acf3b
|
3 |
-
size 149
|
|
|
|
|
|
|
|
ggml-small-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 72,
|
23 |
-
"Matmul" : 24,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 12,
|
27 |
-
"Add" : 25,
|
28 |
-
"LayerNorm" : 25,
|
29 |
-
"Mul" : 24,
|
30 |
-
"Transpose" : 49,
|
31 |
-
"Gelu" : 14,
|
32 |
-
"Reshape" : 48
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_small",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-small-encoder.mlmodelc/model.mil
DELETED
The diff for this file is too large to render.
See raw diff
|
|
ggml-small-encoder.mlmodelc/weights/weight.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:517bd4dc214ae6ab9db4cab7b29873d4d5a1453e513e0aa8634402ddc345e6f8
|
3 |
-
size 176339456
|
|
|
|
|
|
|
|
ggml-base-encoder.mlmodelc/coremldata.bin → ggml-tiny-encoder.mlmodelc.zip
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c21c0f5584b80ca94d7a6fac8d76a93c9ceb38750c3275775cad3161132f03b
|
3 |
+
size 15037455
|
ggml-tiny-encoder.mlmodelc/analytics/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f2f746e204d04779629b4959dad86d4ada040edd54f0ed1c80aa6f482a0fa72e
|
3 |
-
size 207
|
|
|
|
|
|
|
|
ggml-tiny-encoder.mlmodelc/coremldata.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:05fe28591b40616fa0c34ad7b853133623f5300923ec812acb11459c411acf3b
|
3 |
-
size 149
|
|
|
|
|
|
|
|
ggml-tiny-encoder.mlmodelc/metadata.json
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"metadataOutputVersion" : "3.0",
|
4 |
-
"storagePrecision" : "Float16",
|
5 |
-
"outputSchema" : [
|
6 |
-
{
|
7 |
-
"hasShapeFlexibility" : "0",
|
8 |
-
"isOptional" : "0",
|
9 |
-
"dataType" : "Float32",
|
10 |
-
"formattedType" : "MultiArray (Float32)",
|
11 |
-
"shortDescription" : "",
|
12 |
-
"shape" : "[]",
|
13 |
-
"name" : "output",
|
14 |
-
"type" : "MultiArray"
|
15 |
-
}
|
16 |
-
],
|
17 |
-
"modelParameters" : [
|
18 |
-
|
19 |
-
],
|
20 |
-
"specificationVersion" : 6,
|
21 |
-
"mlProgramOperationTypeHistogram" : {
|
22 |
-
"Linear" : 24,
|
23 |
-
"Matmul" : 8,
|
24 |
-
"Cast" : 2,
|
25 |
-
"Conv" : 2,
|
26 |
-
"Softmax" : 4,
|
27 |
-
"Add" : 9,
|
28 |
-
"LayerNorm" : 9,
|
29 |
-
"Mul" : 8,
|
30 |
-
"Transpose" : 17,
|
31 |
-
"Gelu" : 6,
|
32 |
-
"Reshape" : 16
|
33 |
-
},
|
34 |
-
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
35 |
-
"isUpdatable" : "0",
|
36 |
-
"availability" : {
|
37 |
-
"macOS" : "12.0",
|
38 |
-
"tvOS" : "15.0",
|
39 |
-
"watchOS" : "8.0",
|
40 |
-
"iOS" : "15.0",
|
41 |
-
"macCatalyst" : "15.0"
|
42 |
-
},
|
43 |
-
"modelType" : {
|
44 |
-
"name" : "MLModelType_mlProgram"
|
45 |
-
},
|
46 |
-
"userDefinedMetadata" : {
|
47 |
-
|
48 |
-
},
|
49 |
-
"inputSchema" : [
|
50 |
-
{
|
51 |
-
"hasShapeFlexibility" : "0",
|
52 |
-
"isOptional" : "0",
|
53 |
-
"dataType" : "Float32",
|
54 |
-
"formattedType" : "MultiArray (Float32 1 × 80 × 3000)",
|
55 |
-
"shortDescription" : "",
|
56 |
-
"shape" : "[1, 80, 3000]",
|
57 |
-
"name" : "logmel_data",
|
58 |
-
"type" : "MultiArray"
|
59 |
-
}
|
60 |
-
],
|
61 |
-
"generatedClassName" : "coreml_encoder_tiny",
|
62 |
-
"method" : "predict"
|
63 |
-
}
|
64 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-tiny-encoder.mlmodelc/model.mil
DELETED
@@ -1,275 +0,0 @@
|
|
1 |
-
program(1.0)
|
2 |
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "4.28.4"}, {"coremlc-version", "1436.100.10"}})]
|
3 |
-
{
|
4 |
-
func main<ios15>(tensor<fp32, [1, 80, 3000]> logmel_data) {
|
5 |
-
tensor<int32, []> var_16 = const()[name = tensor<string, []>("op_16"), val = tensor<int32, []>(1)];
|
6 |
-
tensor<int32, [1]> var_24 = const()[name = tensor<string, []>("op_24"), val = tensor<int32, [1]>([1])];
|
7 |
-
tensor<int32, [1]> var_26 = const()[name = tensor<string, []>("op_26"), val = tensor<int32, [1]>([1])];
|
8 |
-
tensor<string, []> var_28_pad_type_0 = const()[name = tensor<string, []>("op_28_pad_type_0"), val = tensor<string, []>("custom")];
|
9 |
-
tensor<int32, [2]> var_28_pad_0 = const()[name = tensor<string, []>("op_28_pad_0"), val = tensor<int32, [2]>([1, 1])];
|
10 |
-
tensor<string, []> logmel_data_to_fp16_dtype_0 = const()[name = tensor<string, []>("logmel_data_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
|
11 |
-
tensor<fp16, [384, 80, 3]> weight_3_to_fp16 = const()[name = tensor<string, []>("weight_3_to_fp16"), val = tensor<fp16, [384, 80, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
12 |
-
tensor<fp16, [384]> bias_3_to_fp16 = const()[name = tensor<string, []>("bias_3_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(184448)))];
|
13 |
-
tensor<fp16, [1, 80, 3000]> cast_127 = cast(dtype = logmel_data_to_fp16_dtype_0, x = logmel_data);
|
14 |
-
tensor<fp16, [1, 384, 3000]> var_28_cast = conv(bias = bias_3_to_fp16, dilations = var_26, groups = var_16, pad = var_28_pad_0, pad_type = var_28_pad_type_0, strides = var_24, weight = weight_3_to_fp16, x = cast_127);
|
15 |
-
tensor<string, []> input_1_mode_0 = const()[name = tensor<string, []>("input_1_mode_0"), val = tensor<string, []>("EXACT")];
|
16 |
-
tensor<fp16, [1, 384, 3000]> input_1_cast = gelu(mode = input_1_mode_0, x = var_28_cast);
|
17 |
-
tensor<int32, []> var_32 = const()[name = tensor<string, []>("op_32"), val = tensor<int32, []>(1)];
|
18 |
-
tensor<int32, [1]> var_41 = const()[name = tensor<string, []>("op_41"), val = tensor<int32, [1]>([2])];
|
19 |
-
tensor<int32, [1]> var_43 = const()[name = tensor<string, []>("op_43"), val = tensor<int32, [1]>([1])];
|
20 |
-
tensor<string, []> var_45_pad_type_0 = const()[name = tensor<string, []>("op_45_pad_type_0"), val = tensor<string, []>("custom")];
|
21 |
-
tensor<int32, [2]> var_45_pad_0 = const()[name = tensor<string, []>("op_45_pad_0"), val = tensor<int32, [2]>([1, 1])];
|
22 |
-
tensor<fp16, [384, 384, 3]> weight_7_to_fp16 = const()[name = tensor<string, []>("weight_7_to_fp16"), val = tensor<fp16, [384, 384, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(185280)))];
|
23 |
-
tensor<fp16, [384]> bias_7_to_fp16 = const()[name = tensor<string, []>("bias_7_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1070080)))];
|
24 |
-
tensor<fp16, [1, 384, 1500]> var_45_cast = conv(bias = bias_7_to_fp16, dilations = var_43, groups = var_32, pad = var_45_pad_0, pad_type = var_45_pad_type_0, strides = var_41, weight = weight_7_to_fp16, x = input_1_cast);
|
25 |
-
tensor<string, []> x_3_mode_0 = const()[name = tensor<string, []>("x_3_mode_0"), val = tensor<string, []>("EXACT")];
|
26 |
-
tensor<fp16, [1, 384, 1500]> x_3_cast = gelu(mode = x_3_mode_0, x = var_45_cast);
|
27 |
-
tensor<int32, [3]> var_50 = const()[name = tensor<string, []>("op_50"), val = tensor<int32, [3]>([0, 2, 1])];
|
28 |
-
tensor<fp16, [1500, 384]> positional_embedding_to_fp16 = const()[name = tensor<string, []>("positional_embedding_to_fp16"), val = tensor<fp16, [1500, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1070912)))];
|
29 |
-
tensor<fp16, [1, 1500, 384]> transpose_32 = transpose(perm = var_50, x = x_3_cast);
|
30 |
-
tensor<fp16, [1, 1500, 384]> var_53_cast = add(x = transpose_32, y = positional_embedding_to_fp16);
|
31 |
-
tensor<int32, []> var_65 = const()[name = tensor<string, []>("op_65"), val = tensor<int32, []>(-1)];
|
32 |
-
tensor<int32, [1]> var_82_axes_0 = const()[name = tensor<string, []>("op_82_axes_0"), val = tensor<int32, [1]>([-1])];
|
33 |
-
tensor<fp16, [384]> blocks_0_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_0_attn_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2222976)))];
|
34 |
-
tensor<fp16, [384]> blocks_0_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_0_attn_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2223808)))];
|
35 |
-
tensor<fp16, []> var_71_to_fp16 = const()[name = tensor<string, []>("op_71_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
36 |
-
tensor<fp16, [1, 1500, 384]> var_82_cast = layer_norm(axes = var_82_axes_0, beta = blocks_0_attn_ln_bias_to_fp16, epsilon = var_71_to_fp16, gamma = blocks_0_attn_ln_weight_to_fp16, x = var_53_cast);
|
37 |
-
tensor<fp16, [384, 384]> var_93_to_fp16 = const()[name = tensor<string, []>("op_93_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2224640)))];
|
38 |
-
tensor<fp16, [384]> var_94_to_fp16 = const()[name = tensor<string, []>("op_94_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2519616)))];
|
39 |
-
tensor<fp16, [1, 1500, 384]> q_1_cast = linear(bias = var_94_to_fp16, weight = var_93_to_fp16, x = var_82_cast);
|
40 |
-
tensor<fp16, [384, 384]> var_97_to_fp16 = const()[name = tensor<string, []>("op_97_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2520448)))];
|
41 |
-
tensor<fp16, [384]> k_1_bias_0_to_fp16 = const()[name = tensor<string, []>("k_1_bias_0_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2815424)))];
|
42 |
-
tensor<fp16, [1, 1500, 384]> k_1_cast = linear(bias = k_1_bias_0_to_fp16, weight = var_97_to_fp16, x = var_82_cast);
|
43 |
-
tensor<fp16, [384, 384]> var_101_to_fp16 = const()[name = tensor<string, []>("op_101_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2816256)))];
|
44 |
-
tensor<fp16, [384]> var_102_to_fp16 = const()[name = tensor<string, []>("op_102_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3111232)))];
|
45 |
-
tensor<fp16, [1, 1500, 384]> v_1_cast = linear(bias = var_102_to_fp16, weight = var_101_to_fp16, x = var_82_cast);
|
46 |
-
tensor<int32, [4]> var_110 = const()[name = tensor<string, []>("op_110"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
47 |
-
tensor<fp16, [1, 1500, 6, 64]> var_111_cast = reshape(shape = var_110, x = q_1_cast);
|
48 |
-
tensor<fp16, [1, 1, 1, 1]> const_28_to_fp16 = const()[name = tensor<string, []>("const_28_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
49 |
-
tensor<fp16, [1, 1500, 6, 64]> q_3_cast = mul(x = var_111_cast, y = const_28_to_fp16);
|
50 |
-
tensor<int32, [4]> var_117 = const()[name = tensor<string, []>("op_117"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
51 |
-
tensor<fp16, [1, 1500, 6, 64]> var_118_cast = reshape(shape = var_117, x = k_1_cast);
|
52 |
-
tensor<fp16, [1, 1, 1, 1]> const_29_to_fp16 = const()[name = tensor<string, []>("const_29_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
53 |
-
tensor<fp16, [1, 1500, 6, 64]> k_3_cast = mul(x = var_118_cast, y = const_29_to_fp16);
|
54 |
-
tensor<int32, [4]> var_124 = const()[name = tensor<string, []>("op_124"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
55 |
-
tensor<fp16, [1, 1500, 6, 64]> var_125_cast = reshape(shape = var_124, x = v_1_cast);
|
56 |
-
tensor<int32, [4]> var_126 = const()[name = tensor<string, []>("op_126"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
57 |
-
tensor<bool, []> qk_1_transpose_x_0 = const()[name = tensor<string, []>("qk_1_transpose_x_0"), val = tensor<bool, []>(false)];
|
58 |
-
tensor<bool, []> qk_1_transpose_y_0 = const()[name = tensor<string, []>("qk_1_transpose_y_0"), val = tensor<bool, []>(false)];
|
59 |
-
tensor<int32, [4]> transpose_8_perm_0 = const()[name = tensor<string, []>("transpose_8_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
60 |
-
tensor<int32, [4]> transpose_9_perm_0 = const()[name = tensor<string, []>("transpose_9_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
61 |
-
tensor<fp16, [1, 6, 64, 1500]> transpose_29 = transpose(perm = transpose_9_perm_0, x = k_3_cast);
|
62 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_30 = transpose(perm = transpose_8_perm_0, x = q_3_cast);
|
63 |
-
tensor<fp16, [1, 6, 1500, 1500]> qk_1_cast = matmul(transpose_x = qk_1_transpose_x_0, transpose_y = qk_1_transpose_y_0, x = transpose_30, y = transpose_29);
|
64 |
-
tensor<fp16, [1, 6, 1500, 1500]> var_130_cast = softmax(axis = var_65, x = qk_1_cast);
|
65 |
-
tensor<bool, []> var_132_transpose_x_0 = const()[name = tensor<string, []>("op_132_transpose_x_0"), val = tensor<bool, []>(false)];
|
66 |
-
tensor<bool, []> var_132_transpose_y_0 = const()[name = tensor<string, []>("op_132_transpose_y_0"), val = tensor<bool, []>(false)];
|
67 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_31 = transpose(perm = var_126, x = var_125_cast);
|
68 |
-
tensor<fp16, [1, 6, 1500, 64]> var_132_cast = matmul(transpose_x = var_132_transpose_x_0, transpose_y = var_132_transpose_y_0, x = var_130_cast, y = transpose_31);
|
69 |
-
tensor<int32, [4]> var_133 = const()[name = tensor<string, []>("op_133"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
70 |
-
tensor<int32, [3]> concat_0 = const()[name = tensor<string, []>("concat_0"), val = tensor<int32, [3]>([1, 1500, 384])];
|
71 |
-
tensor<fp16, [1, 1500, 6, 64]> transpose_28 = transpose(perm = var_133, x = var_132_cast);
|
72 |
-
tensor<fp16, [1, 1500, 384]> x_11_cast = reshape(shape = concat_0, x = transpose_28);
|
73 |
-
tensor<fp16, [384, 384]> var_138_to_fp16 = const()[name = tensor<string, []>("op_138_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3112064)))];
|
74 |
-
tensor<fp16, [384]> var_139_to_fp16 = const()[name = tensor<string, []>("op_139_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3407040)))];
|
75 |
-
tensor<fp16, [1, 1500, 384]> var_140_cast = linear(bias = var_139_to_fp16, weight = var_138_to_fp16, x = x_11_cast);
|
76 |
-
tensor<fp16, [1, 1500, 384]> x_13_cast = add(x = var_53_cast, y = var_140_cast);
|
77 |
-
tensor<int32, [1]> var_146_axes_0 = const()[name = tensor<string, []>("op_146_axes_0"), val = tensor<int32, [1]>([-1])];
|
78 |
-
tensor<fp16, [384]> blocks_0_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_0_mlp_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3407872)))];
|
79 |
-
tensor<fp16, [384]> blocks_0_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_0_mlp_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3408704)))];
|
80 |
-
tensor<fp16, [1, 1500, 384]> var_146_cast = layer_norm(axes = var_146_axes_0, beta = blocks_0_mlp_ln_bias_to_fp16, epsilon = var_71_to_fp16, gamma = blocks_0_mlp_ln_weight_to_fp16, x = x_13_cast);
|
81 |
-
tensor<fp16, [1536, 384]> var_155_to_fp16 = const()[name = tensor<string, []>("op_155_to_fp16"), val = tensor<fp16, [1536, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(3409536)))];
|
82 |
-
tensor<fp16, [1536]> var_156_to_fp16 = const()[name = tensor<string, []>("op_156_to_fp16"), val = tensor<fp16, [1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4589248)))];
|
83 |
-
tensor<fp16, [1, 1500, 1536]> input_9_cast = linear(bias = var_156_to_fp16, weight = var_155_to_fp16, x = var_146_cast);
|
84 |
-
tensor<string, []> x_17_mode_0 = const()[name = tensor<string, []>("x_17_mode_0"), val = tensor<string, []>("EXACT")];
|
85 |
-
tensor<fp16, [1, 1500, 1536]> x_17_cast = gelu(mode = x_17_mode_0, x = input_9_cast);
|
86 |
-
tensor<fp16, [384, 1536]> var_161_to_fp16 = const()[name = tensor<string, []>("op_161_to_fp16"), val = tensor<fp16, [384, 1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4592384)))];
|
87 |
-
tensor<fp16, [384]> var_162_to_fp16 = const()[name = tensor<string, []>("op_162_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5772096)))];
|
88 |
-
tensor<fp16, [1, 1500, 384]> var_163_cast = linear(bias = var_162_to_fp16, weight = var_161_to_fp16, x = x_17_cast);
|
89 |
-
tensor<fp16, [1, 1500, 384]> x_19_cast = add(x = x_13_cast, y = var_163_cast);
|
90 |
-
tensor<int32, []> var_171 = const()[name = tensor<string, []>("op_171"), val = tensor<int32, []>(-1)];
|
91 |
-
tensor<int32, [1]> var_188_axes_0 = const()[name = tensor<string, []>("op_188_axes_0"), val = tensor<int32, [1]>([-1])];
|
92 |
-
tensor<fp16, [384]> blocks_1_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_1_attn_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5772928)))];
|
93 |
-
tensor<fp16, [384]> blocks_1_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_1_attn_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5773760)))];
|
94 |
-
tensor<fp16, []> var_177_to_fp16 = const()[name = tensor<string, []>("op_177_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
95 |
-
tensor<fp16, [1, 1500, 384]> var_188_cast = layer_norm(axes = var_188_axes_0, beta = blocks_1_attn_ln_bias_to_fp16, epsilon = var_177_to_fp16, gamma = blocks_1_attn_ln_weight_to_fp16, x = x_19_cast);
|
96 |
-
tensor<fp16, [384, 384]> var_199_to_fp16 = const()[name = tensor<string, []>("op_199_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5774592)))];
|
97 |
-
tensor<fp16, [384]> var_200_to_fp16 = const()[name = tensor<string, []>("op_200_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6069568)))];
|
98 |
-
tensor<fp16, [1, 1500, 384]> q_5_cast = linear(bias = var_200_to_fp16, weight = var_199_to_fp16, x = var_188_cast);
|
99 |
-
tensor<fp16, [384, 384]> var_203_to_fp16 = const()[name = tensor<string, []>("op_203_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6070400)))];
|
100 |
-
tensor<fp16, [384]> k_5_bias_0_to_fp16 = const()[name = tensor<string, []>("k_5_bias_0_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6365376)))];
|
101 |
-
tensor<fp16, [1, 1500, 384]> k_5_cast = linear(bias = k_5_bias_0_to_fp16, weight = var_203_to_fp16, x = var_188_cast);
|
102 |
-
tensor<fp16, [384, 384]> var_207_to_fp16 = const()[name = tensor<string, []>("op_207_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6366208)))];
|
103 |
-
tensor<fp16, [384]> var_208_to_fp16 = const()[name = tensor<string, []>("op_208_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6661184)))];
|
104 |
-
tensor<fp16, [1, 1500, 384]> v_5_cast = linear(bias = var_208_to_fp16, weight = var_207_to_fp16, x = var_188_cast);
|
105 |
-
tensor<int32, [4]> var_216 = const()[name = tensor<string, []>("op_216"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
106 |
-
tensor<fp16, [1, 1500, 6, 64]> var_217_cast = reshape(shape = var_216, x = q_5_cast);
|
107 |
-
tensor<fp16, [1, 1, 1, 1]> const_30_to_fp16 = const()[name = tensor<string, []>("const_30_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
108 |
-
tensor<fp16, [1, 1500, 6, 64]> q_7_cast = mul(x = var_217_cast, y = const_30_to_fp16);
|
109 |
-
tensor<int32, [4]> var_223 = const()[name = tensor<string, []>("op_223"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
110 |
-
tensor<fp16, [1, 1500, 6, 64]> var_224_cast = reshape(shape = var_223, x = k_5_cast);
|
111 |
-
tensor<fp16, [1, 1, 1, 1]> const_31_to_fp16 = const()[name = tensor<string, []>("const_31_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
112 |
-
tensor<fp16, [1, 1500, 6, 64]> k_7_cast = mul(x = var_224_cast, y = const_31_to_fp16);
|
113 |
-
tensor<int32, [4]> var_230 = const()[name = tensor<string, []>("op_230"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
114 |
-
tensor<fp16, [1, 1500, 6, 64]> var_231_cast = reshape(shape = var_230, x = v_5_cast);
|
115 |
-
tensor<int32, [4]> var_232 = const()[name = tensor<string, []>("op_232"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
116 |
-
tensor<bool, []> qk_3_transpose_x_0 = const()[name = tensor<string, []>("qk_3_transpose_x_0"), val = tensor<bool, []>(false)];
|
117 |
-
tensor<bool, []> qk_3_transpose_y_0 = const()[name = tensor<string, []>("qk_3_transpose_y_0"), val = tensor<bool, []>(false)];
|
118 |
-
tensor<int32, [4]> transpose_10_perm_0 = const()[name = tensor<string, []>("transpose_10_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
119 |
-
tensor<int32, [4]> transpose_11_perm_0 = const()[name = tensor<string, []>("transpose_11_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
120 |
-
tensor<fp16, [1, 6, 64, 1500]> transpose_25 = transpose(perm = transpose_11_perm_0, x = k_7_cast);
|
121 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_26 = transpose(perm = transpose_10_perm_0, x = q_7_cast);
|
122 |
-
tensor<fp16, [1, 6, 1500, 1500]> qk_3_cast = matmul(transpose_x = qk_3_transpose_x_0, transpose_y = qk_3_transpose_y_0, x = transpose_26, y = transpose_25);
|
123 |
-
tensor<fp16, [1, 6, 1500, 1500]> var_236_cast = softmax(axis = var_171, x = qk_3_cast);
|
124 |
-
tensor<bool, []> var_238_transpose_x_0 = const()[name = tensor<string, []>("op_238_transpose_x_0"), val = tensor<bool, []>(false)];
|
125 |
-
tensor<bool, []> var_238_transpose_y_0 = const()[name = tensor<string, []>("op_238_transpose_y_0"), val = tensor<bool, []>(false)];
|
126 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_27 = transpose(perm = var_232, x = var_231_cast);
|
127 |
-
tensor<fp16, [1, 6, 1500, 64]> var_238_cast = matmul(transpose_x = var_238_transpose_x_0, transpose_y = var_238_transpose_y_0, x = var_236_cast, y = transpose_27);
|
128 |
-
tensor<int32, [4]> var_239 = const()[name = tensor<string, []>("op_239"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
129 |
-
tensor<int32, [3]> concat_1 = const()[name = tensor<string, []>("concat_1"), val = tensor<int32, [3]>([1, 1500, 384])];
|
130 |
-
tensor<fp16, [1, 1500, 6, 64]> transpose_24 = transpose(perm = var_239, x = var_238_cast);
|
131 |
-
tensor<fp16, [1, 1500, 384]> x_23_cast = reshape(shape = concat_1, x = transpose_24);
|
132 |
-
tensor<fp16, [384, 384]> var_244_to_fp16 = const()[name = tensor<string, []>("op_244_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6662016)))];
|
133 |
-
tensor<fp16, [384]> var_245_to_fp16 = const()[name = tensor<string, []>("op_245_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6956992)))];
|
134 |
-
tensor<fp16, [1, 1500, 384]> var_246_cast = linear(bias = var_245_to_fp16, weight = var_244_to_fp16, x = x_23_cast);
|
135 |
-
tensor<fp16, [1, 1500, 384]> x_25_cast = add(x = x_19_cast, y = var_246_cast);
|
136 |
-
tensor<int32, [1]> var_252_axes_0 = const()[name = tensor<string, []>("op_252_axes_0"), val = tensor<int32, [1]>([-1])];
|
137 |
-
tensor<fp16, [384]> blocks_1_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_1_mlp_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6957824)))];
|
138 |
-
tensor<fp16, [384]> blocks_1_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_1_mlp_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6958656)))];
|
139 |
-
tensor<fp16, [1, 1500, 384]> var_252_cast = layer_norm(axes = var_252_axes_0, beta = blocks_1_mlp_ln_bias_to_fp16, epsilon = var_177_to_fp16, gamma = blocks_1_mlp_ln_weight_to_fp16, x = x_25_cast);
|
140 |
-
tensor<fp16, [1536, 384]> var_261_to_fp16 = const()[name = tensor<string, []>("op_261_to_fp16"), val = tensor<fp16, [1536, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6959488)))];
|
141 |
-
tensor<fp16, [1536]> var_262_to_fp16 = const()[name = tensor<string, []>("op_262_to_fp16"), val = tensor<fp16, [1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8139200)))];
|
142 |
-
tensor<fp16, [1, 1500, 1536]> input_17_cast = linear(bias = var_262_to_fp16, weight = var_261_to_fp16, x = var_252_cast);
|
143 |
-
tensor<string, []> x_29_mode_0 = const()[name = tensor<string, []>("x_29_mode_0"), val = tensor<string, []>("EXACT")];
|
144 |
-
tensor<fp16, [1, 1500, 1536]> x_29_cast = gelu(mode = x_29_mode_0, x = input_17_cast);
|
145 |
-
tensor<fp16, [384, 1536]> var_267_to_fp16 = const()[name = tensor<string, []>("op_267_to_fp16"), val = tensor<fp16, [384, 1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8142336)))];
|
146 |
-
tensor<fp16, [384]> var_268_to_fp16 = const()[name = tensor<string, []>("op_268_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9322048)))];
|
147 |
-
tensor<fp16, [1, 1500, 384]> var_269_cast = linear(bias = var_268_to_fp16, weight = var_267_to_fp16, x = x_29_cast);
|
148 |
-
tensor<fp16, [1, 1500, 384]> x_31_cast = add(x = x_25_cast, y = var_269_cast);
|
149 |
-
tensor<int32, []> var_277 = const()[name = tensor<string, []>("op_277"), val = tensor<int32, []>(-1)];
|
150 |
-
tensor<int32, [1]> var_294_axes_0 = const()[name = tensor<string, []>("op_294_axes_0"), val = tensor<int32, [1]>([-1])];
|
151 |
-
tensor<fp16, [384]> blocks_2_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_2_attn_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9322880)))];
|
152 |
-
tensor<fp16, [384]> blocks_2_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_2_attn_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9323712)))];
|
153 |
-
tensor<fp16, []> var_283_to_fp16 = const()[name = tensor<string, []>("op_283_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
154 |
-
tensor<fp16, [1, 1500, 384]> var_294_cast = layer_norm(axes = var_294_axes_0, beta = blocks_2_attn_ln_bias_to_fp16, epsilon = var_283_to_fp16, gamma = blocks_2_attn_ln_weight_to_fp16, x = x_31_cast);
|
155 |
-
tensor<fp16, [384, 384]> var_305_to_fp16 = const()[name = tensor<string, []>("op_305_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9324544)))];
|
156 |
-
tensor<fp16, [384]> var_306_to_fp16 = const()[name = tensor<string, []>("op_306_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9619520)))];
|
157 |
-
tensor<fp16, [1, 1500, 384]> q_9_cast = linear(bias = var_306_to_fp16, weight = var_305_to_fp16, x = var_294_cast);
|
158 |
-
tensor<fp16, [384, 384]> var_309_to_fp16 = const()[name = tensor<string, []>("op_309_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9620352)))];
|
159 |
-
tensor<fp16, [384]> k_9_bias_0_to_fp16 = const()[name = tensor<string, []>("k_9_bias_0_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9915328)))];
|
160 |
-
tensor<fp16, [1, 1500, 384]> k_9_cast = linear(bias = k_9_bias_0_to_fp16, weight = var_309_to_fp16, x = var_294_cast);
|
161 |
-
tensor<fp16, [384, 384]> var_313_to_fp16 = const()[name = tensor<string, []>("op_313_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9916160)))];
|
162 |
-
tensor<fp16, [384]> var_314_to_fp16 = const()[name = tensor<string, []>("op_314_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10211136)))];
|
163 |
-
tensor<fp16, [1, 1500, 384]> v_9_cast = linear(bias = var_314_to_fp16, weight = var_313_to_fp16, x = var_294_cast);
|
164 |
-
tensor<int32, [4]> var_322 = const()[name = tensor<string, []>("op_322"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
165 |
-
tensor<fp16, [1, 1500, 6, 64]> var_323_cast = reshape(shape = var_322, x = q_9_cast);
|
166 |
-
tensor<fp16, [1, 1, 1, 1]> const_32_to_fp16 = const()[name = tensor<string, []>("const_32_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
167 |
-
tensor<fp16, [1, 1500, 6, 64]> q_11_cast = mul(x = var_323_cast, y = const_32_to_fp16);
|
168 |
-
tensor<int32, [4]> var_329 = const()[name = tensor<string, []>("op_329"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
169 |
-
tensor<fp16, [1, 1500, 6, 64]> var_330_cast = reshape(shape = var_329, x = k_9_cast);
|
170 |
-
tensor<fp16, [1, 1, 1, 1]> const_33_to_fp16 = const()[name = tensor<string, []>("const_33_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
171 |
-
tensor<fp16, [1, 1500, 6, 64]> k_11_cast = mul(x = var_330_cast, y = const_33_to_fp16);
|
172 |
-
tensor<int32, [4]> var_336 = const()[name = tensor<string, []>("op_336"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
173 |
-
tensor<fp16, [1, 1500, 6, 64]> var_337_cast = reshape(shape = var_336, x = v_9_cast);
|
174 |
-
tensor<int32, [4]> var_338 = const()[name = tensor<string, []>("op_338"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
175 |
-
tensor<bool, []> qk_5_transpose_x_0 = const()[name = tensor<string, []>("qk_5_transpose_x_0"), val = tensor<bool, []>(false)];
|
176 |
-
tensor<bool, []> qk_5_transpose_y_0 = const()[name = tensor<string, []>("qk_5_transpose_y_0"), val = tensor<bool, []>(false)];
|
177 |
-
tensor<int32, [4]> transpose_12_perm_0 = const()[name = tensor<string, []>("transpose_12_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
178 |
-
tensor<int32, [4]> transpose_13_perm_0 = const()[name = tensor<string, []>("transpose_13_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
179 |
-
tensor<fp16, [1, 6, 64, 1500]> transpose_21 = transpose(perm = transpose_13_perm_0, x = k_11_cast);
|
180 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_22 = transpose(perm = transpose_12_perm_0, x = q_11_cast);
|
181 |
-
tensor<fp16, [1, 6, 1500, 1500]> qk_5_cast = matmul(transpose_x = qk_5_transpose_x_0, transpose_y = qk_5_transpose_y_0, x = transpose_22, y = transpose_21);
|
182 |
-
tensor<fp16, [1, 6, 1500, 1500]> var_342_cast = softmax(axis = var_277, x = qk_5_cast);
|
183 |
-
tensor<bool, []> var_344_transpose_x_0 = const()[name = tensor<string, []>("op_344_transpose_x_0"), val = tensor<bool, []>(false)];
|
184 |
-
tensor<bool, []> var_344_transpose_y_0 = const()[name = tensor<string, []>("op_344_transpose_y_0"), val = tensor<bool, []>(false)];
|
185 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_23 = transpose(perm = var_338, x = var_337_cast);
|
186 |
-
tensor<fp16, [1, 6, 1500, 64]> var_344_cast = matmul(transpose_x = var_344_transpose_x_0, transpose_y = var_344_transpose_y_0, x = var_342_cast, y = transpose_23);
|
187 |
-
tensor<int32, [4]> var_345 = const()[name = tensor<string, []>("op_345"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
188 |
-
tensor<int32, [3]> concat_2 = const()[name = tensor<string, []>("concat_2"), val = tensor<int32, [3]>([1, 1500, 384])];
|
189 |
-
tensor<fp16, [1, 1500, 6, 64]> transpose_20 = transpose(perm = var_345, x = var_344_cast);
|
190 |
-
tensor<fp16, [1, 1500, 384]> x_35_cast = reshape(shape = concat_2, x = transpose_20);
|
191 |
-
tensor<fp16, [384, 384]> var_350_to_fp16 = const()[name = tensor<string, []>("op_350_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10211968)))];
|
192 |
-
tensor<fp16, [384]> var_351_to_fp16 = const()[name = tensor<string, []>("op_351_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10506944)))];
|
193 |
-
tensor<fp16, [1, 1500, 384]> var_352_cast = linear(bias = var_351_to_fp16, weight = var_350_to_fp16, x = x_35_cast);
|
194 |
-
tensor<fp16, [1, 1500, 384]> x_37_cast = add(x = x_31_cast, y = var_352_cast);
|
195 |
-
tensor<int32, [1]> var_358_axes_0 = const()[name = tensor<string, []>("op_358_axes_0"), val = tensor<int32, [1]>([-1])];
|
196 |
-
tensor<fp16, [384]> blocks_2_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_2_mlp_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10507776)))];
|
197 |
-
tensor<fp16, [384]> blocks_2_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_2_mlp_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10508608)))];
|
198 |
-
tensor<fp16, [1, 1500, 384]> var_358_cast = layer_norm(axes = var_358_axes_0, beta = blocks_2_mlp_ln_bias_to_fp16, epsilon = var_283_to_fp16, gamma = blocks_2_mlp_ln_weight_to_fp16, x = x_37_cast);
|
199 |
-
tensor<fp16, [1536, 384]> var_367_to_fp16 = const()[name = tensor<string, []>("op_367_to_fp16"), val = tensor<fp16, [1536, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10509440)))];
|
200 |
-
tensor<fp16, [1536]> var_368_to_fp16 = const()[name = tensor<string, []>("op_368_to_fp16"), val = tensor<fp16, [1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11689152)))];
|
201 |
-
tensor<fp16, [1, 1500, 1536]> input_25_cast = linear(bias = var_368_to_fp16, weight = var_367_to_fp16, x = var_358_cast);
|
202 |
-
tensor<string, []> x_41_mode_0 = const()[name = tensor<string, []>("x_41_mode_0"), val = tensor<string, []>("EXACT")];
|
203 |
-
tensor<fp16, [1, 1500, 1536]> x_41_cast = gelu(mode = x_41_mode_0, x = input_25_cast);
|
204 |
-
tensor<fp16, [384, 1536]> var_373_to_fp16 = const()[name = tensor<string, []>("op_373_to_fp16"), val = tensor<fp16, [384, 1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11692288)))];
|
205 |
-
tensor<fp16, [384]> var_374_to_fp16 = const()[name = tensor<string, []>("op_374_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12872000)))];
|
206 |
-
tensor<fp16, [1, 1500, 384]> var_375_cast = linear(bias = var_374_to_fp16, weight = var_373_to_fp16, x = x_41_cast);
|
207 |
-
tensor<fp16, [1, 1500, 384]> x_43_cast = add(x = x_37_cast, y = var_375_cast);
|
208 |
-
tensor<int32, []> var_383 = const()[name = tensor<string, []>("op_383"), val = tensor<int32, []>(-1)];
|
209 |
-
tensor<int32, [1]> var_400_axes_0 = const()[name = tensor<string, []>("op_400_axes_0"), val = tensor<int32, [1]>([-1])];
|
210 |
-
tensor<fp16, [384]> blocks_3_attn_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_3_attn_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12872832)))];
|
211 |
-
tensor<fp16, [384]> blocks_3_attn_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_3_attn_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12873664)))];
|
212 |
-
tensor<fp16, []> var_389_to_fp16 = const()[name = tensor<string, []>("op_389_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
213 |
-
tensor<fp16, [1, 1500, 384]> var_400_cast = layer_norm(axes = var_400_axes_0, beta = blocks_3_attn_ln_bias_to_fp16, epsilon = var_389_to_fp16, gamma = blocks_3_attn_ln_weight_to_fp16, x = x_43_cast);
|
214 |
-
tensor<fp16, [384, 384]> var_411_to_fp16 = const()[name = tensor<string, []>("op_411_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12874496)))];
|
215 |
-
tensor<fp16, [384]> var_412_to_fp16 = const()[name = tensor<string, []>("op_412_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13169472)))];
|
216 |
-
tensor<fp16, [1, 1500, 384]> q_13_cast = linear(bias = var_412_to_fp16, weight = var_411_to_fp16, x = var_400_cast);
|
217 |
-
tensor<fp16, [384, 384]> var_415_to_fp16 = const()[name = tensor<string, []>("op_415_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13170304)))];
|
218 |
-
tensor<fp16, [384]> k_13_bias_0_to_fp16 = const()[name = tensor<string, []>("k_13_bias_0_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13465280)))];
|
219 |
-
tensor<fp16, [1, 1500, 384]> k_13_cast = linear(bias = k_13_bias_0_to_fp16, weight = var_415_to_fp16, x = var_400_cast);
|
220 |
-
tensor<fp16, [384, 384]> var_419_to_fp16 = const()[name = tensor<string, []>("op_419_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13466112)))];
|
221 |
-
tensor<fp16, [384]> var_420_to_fp16 = const()[name = tensor<string, []>("op_420_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13761088)))];
|
222 |
-
tensor<fp16, [1, 1500, 384]> v_13_cast = linear(bias = var_420_to_fp16, weight = var_419_to_fp16, x = var_400_cast);
|
223 |
-
tensor<int32, [4]> var_428 = const()[name = tensor<string, []>("op_428"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
224 |
-
tensor<fp16, [1, 1500, 6, 64]> var_429_cast = reshape(shape = var_428, x = q_13_cast);
|
225 |
-
tensor<fp16, [1, 1, 1, 1]> const_34_to_fp16 = const()[name = tensor<string, []>("const_34_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
226 |
-
tensor<fp16, [1, 1500, 6, 64]> q_cast = mul(x = var_429_cast, y = const_34_to_fp16);
|
227 |
-
tensor<int32, [4]> var_435 = const()[name = tensor<string, []>("op_435"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
228 |
-
tensor<fp16, [1, 1500, 6, 64]> var_436_cast = reshape(shape = var_435, x = k_13_cast);
|
229 |
-
tensor<fp16, [1, 1, 1, 1]> const_35_to_fp16 = const()[name = tensor<string, []>("const_35_to_fp16"), val = tensor<fp16, [1, 1, 1, 1]>([[[[0x1.6ap-2]]]])];
|
230 |
-
tensor<fp16, [1, 1500, 6, 64]> k_cast = mul(x = var_436_cast, y = const_35_to_fp16);
|
231 |
-
tensor<int32, [4]> var_442 = const()[name = tensor<string, []>("op_442"), val = tensor<int32, [4]>([1, 1500, 6, -1])];
|
232 |
-
tensor<fp16, [1, 1500, 6, 64]> var_443_cast = reshape(shape = var_442, x = v_13_cast);
|
233 |
-
tensor<int32, [4]> var_444 = const()[name = tensor<string, []>("op_444"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
234 |
-
tensor<bool, []> qk_transpose_x_0 = const()[name = tensor<string, []>("qk_transpose_x_0"), val = tensor<bool, []>(false)];
|
235 |
-
tensor<bool, []> qk_transpose_y_0 = const()[name = tensor<string, []>("qk_transpose_y_0"), val = tensor<bool, []>(false)];
|
236 |
-
tensor<int32, [4]> transpose_14_perm_0 = const()[name = tensor<string, []>("transpose_14_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
237 |
-
tensor<int32, [4]> transpose_15_perm_0 = const()[name = tensor<string, []>("transpose_15_perm_0"), val = tensor<int32, [4]>([0, 2, 3, 1])];
|
238 |
-
tensor<fp16, [1, 6, 64, 1500]> transpose_17 = transpose(perm = transpose_15_perm_0, x = k_cast);
|
239 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_18 = transpose(perm = transpose_14_perm_0, x = q_cast);
|
240 |
-
tensor<fp16, [1, 6, 1500, 1500]> qk_cast = matmul(transpose_x = qk_transpose_x_0, transpose_y = qk_transpose_y_0, x = transpose_18, y = transpose_17);
|
241 |
-
tensor<fp16, [1, 6, 1500, 1500]> var_448_cast = softmax(axis = var_383, x = qk_cast);
|
242 |
-
tensor<bool, []> var_450_transpose_x_0 = const()[name = tensor<string, []>("op_450_transpose_x_0"), val = tensor<bool, []>(false)];
|
243 |
-
tensor<bool, []> var_450_transpose_y_0 = const()[name = tensor<string, []>("op_450_transpose_y_0"), val = tensor<bool, []>(false)];
|
244 |
-
tensor<fp16, [1, 6, 1500, 64]> transpose_19 = transpose(perm = var_444, x = var_443_cast);
|
245 |
-
tensor<fp16, [1, 6, 1500, 64]> var_450_cast = matmul(transpose_x = var_450_transpose_x_0, transpose_y = var_450_transpose_y_0, x = var_448_cast, y = transpose_19);
|
246 |
-
tensor<int32, [4]> var_451 = const()[name = tensor<string, []>("op_451"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
247 |
-
tensor<int32, [3]> concat_3 = const()[name = tensor<string, []>("concat_3"), val = tensor<int32, [3]>([1, 1500, 384])];
|
248 |
-
tensor<fp16, [1, 1500, 6, 64]> transpose_16 = transpose(perm = var_451, x = var_450_cast);
|
249 |
-
tensor<fp16, [1, 1500, 384]> x_47_cast = reshape(shape = concat_3, x = transpose_16);
|
250 |
-
tensor<fp16, [384, 384]> var_456_to_fp16 = const()[name = tensor<string, []>("op_456_to_fp16"), val = tensor<fp16, [384, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13761920)))];
|
251 |
-
tensor<fp16, [384]> var_457_to_fp16 = const()[name = tensor<string, []>("op_457_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(14056896)))];
|
252 |
-
tensor<fp16, [1, 1500, 384]> var_458_cast = linear(bias = var_457_to_fp16, weight = var_456_to_fp16, x = x_47_cast);
|
253 |
-
tensor<fp16, [1, 1500, 384]> x_49_cast = add(x = x_43_cast, y = var_458_cast);
|
254 |
-
tensor<int32, [1]> var_464_axes_0 = const()[name = tensor<string, []>("op_464_axes_0"), val = tensor<int32, [1]>([-1])];
|
255 |
-
tensor<fp16, [384]> blocks_3_mlp_ln_weight_to_fp16 = const()[name = tensor<string, []>("blocks_3_mlp_ln_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(14057728)))];
|
256 |
-
tensor<fp16, [384]> blocks_3_mlp_ln_bias_to_fp16 = const()[name = tensor<string, []>("blocks_3_mlp_ln_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(14058560)))];
|
257 |
-
tensor<fp16, [1, 1500, 384]> var_464_cast = layer_norm(axes = var_464_axes_0, beta = blocks_3_mlp_ln_bias_to_fp16, epsilon = var_389_to_fp16, gamma = blocks_3_mlp_ln_weight_to_fp16, x = x_49_cast);
|
258 |
-
tensor<fp16, [1536, 384]> var_473_to_fp16 = const()[name = tensor<string, []>("op_473_to_fp16"), val = tensor<fp16, [1536, 384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(14059392)))];
|
259 |
-
tensor<fp16, [1536]> var_474_to_fp16 = const()[name = tensor<string, []>("op_474_to_fp16"), val = tensor<fp16, [1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15239104)))];
|
260 |
-
tensor<fp16, [1, 1500, 1536]> input_33_cast = linear(bias = var_474_to_fp16, weight = var_473_to_fp16, x = var_464_cast);
|
261 |
-
tensor<string, []> x_53_mode_0 = const()[name = tensor<string, []>("x_53_mode_0"), val = tensor<string, []>("EXACT")];
|
262 |
-
tensor<fp16, [1, 1500, 1536]> x_53_cast = gelu(mode = x_53_mode_0, x = input_33_cast);
|
263 |
-
tensor<fp16, [384, 1536]> var_479_to_fp16 = const()[name = tensor<string, []>("op_479_to_fp16"), val = tensor<fp16, [384, 1536]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15242240)))];
|
264 |
-
tensor<fp16, [384]> var_480_to_fp16 = const()[name = tensor<string, []>("op_480_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(16421952)))];
|
265 |
-
tensor<fp16, [1, 1500, 384]> var_481_cast = linear(bias = var_480_to_fp16, weight = var_479_to_fp16, x = x_53_cast);
|
266 |
-
tensor<fp16, [1, 1500, 384]> x_cast = add(x = x_49_cast, y = var_481_cast);
|
267 |
-
tensor<int32, [1]> var_494_axes_0 = const()[name = tensor<string, []>("op_494_axes_0"), val = tensor<int32, [1]>([-1])];
|
268 |
-
tensor<fp16, [384]> ln_post_weight_to_fp16 = const()[name = tensor<string, []>("ln_post_weight_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(16422784)))];
|
269 |
-
tensor<fp16, [384]> ln_post_bias_to_fp16 = const()[name = tensor<string, []>("ln_post_bias_to_fp16"), val = tensor<fp16, [384]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(16423616)))];
|
270 |
-
tensor<fp16, []> var_485_to_fp16 = const()[name = tensor<string, []>("op_485_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
|
271 |
-
tensor<fp16, [1, 1500, 384]> var_494_cast = layer_norm(axes = var_494_axes_0, beta = ln_post_bias_to_fp16, epsilon = var_485_to_fp16, gamma = ln_post_weight_to_fp16, x = x_cast);
|
272 |
-
tensor<string, []> var_494_cast_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_494_cast_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
|
273 |
-
tensor<fp32, [1, 1500, 384]> output = cast(dtype = var_494_cast_to_fp32_dtype_0, x = var_494_cast);
|
274 |
-
} -> (output);
|
275 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggml-tiny-encoder.mlmodelc/weights/weight.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:dd51b56c3444d8e1ca678639f2ceaa03c883200304446549fcbbcedf63aa466f
|
3 |
-
size 16424448
|
|
|
|
|
|
|
|