-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26537 from vespa-engine/arnej/add-stateless-setti…
…ngs-in-schema Arnej/add stateless settings in schema
- Loading branch information
Showing
8 changed files
with
117 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
config-model/src/test/derived/globalphase_onnx_inside/onnx-models.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
model[].name "direct" | ||
model[].fileref "files/ax_plus_b.onnx" | ||
model[].input[].name "vector_B" | ||
model[].input[].source "query(bb)" | ||
model[].input[].name "vector_A" | ||
model[].input[].source "attribute(aa)" | ||
model[].input[].name "matrix_X" | ||
model[].input[].source "constant(xx)" | ||
model[].output[].name "vector_Y" | ||
model[].output[].as "out" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads -1 | ||
model[].stateless_intraop_threads -1 | ||
model[].gpu_device -1 | ||
model[].gpu_device_required false | ||
model[].name "inside" | ||
model[].fileref "files/ax_plus_b.onnx" | ||
model[].input[].name "vector_B" | ||
model[].input[].source "rankingExpression(indirect_b)" | ||
model[].input[].name "vector_A" | ||
model[].input[].source "rankingExpression(indirect_a)" | ||
model[].input[].name "matrix_X" | ||
model[].input[].source "rankingExpression(indirect_x)" | ||
model[].output[].name "vector_Y" | ||
model[].output[].as "foobar" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads 5 | ||
model[].stateless_intraop_threads 3 | ||
model[].gpu_device 2 | ||
model[].gpu_device_required false | ||
model[].name "twoside" | ||
model[].fileref "files/ax_plus_b.onnx" | ||
model[].input[].name "vector_B" | ||
model[].input[].source "rankingExpression(indirect_b)" | ||
model[].input[].name "vector_A" | ||
model[].input[].source "rankingExpression(indirect_a)" | ||
model[].input[].name "matrix_X" | ||
model[].input[].source "rankingExpression(indirect_x)" | ||
model[].output[].name "vector_Y" | ||
model[].output[].as "foobar" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads -1 | ||
model[].stateless_intraop_threads -1 | ||
model[].gpu_device -1 | ||
model[].gpu_device_required false | ||
model[].name "another" | ||
model[].fileref "files/ax_plus_b.onnx" | ||
model[].input[].name "vector_B" | ||
model[].input[].source "rankingExpression(indirect_b)" | ||
model[].input[].name "vector_A" | ||
model[].input[].source "rankingExpression(indirect_a)" | ||
model[].input[].name "matrix_X" | ||
model[].input[].source "rankingExpression(indirect_x)" | ||
model[].output[].name "vector_Y" | ||
model[].output[].as "foobar" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads -1 | ||
model[].stateless_intraop_threads -1 | ||
model[].gpu_device -1 | ||
model[].gpu_device_required false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
config-model/src/test/derived/globalphase_token_functions/onnx-models.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
model[].name "my_ranking_model" | ||
model[].fileref "files/ranking_model.onnx" | ||
model[].input[].name "input_ids" | ||
model[].input[].source "rankingExpression(input_ids)" | ||
model[].input[].name "attention_mask" | ||
model[].input[].source "rankingExpression(attention_mask)" | ||
model[].input[].name "token_type_ids" | ||
model[].input[].source "rankingExpression(token_type_ids)" | ||
model[].output[].name "score" | ||
model[].output[].as "score" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads -1 | ||
model[].stateless_intraop_threads -1 | ||
model[].gpu_device -1 | ||
model[].gpu_device_required false |
16 changes: 16 additions & 0 deletions
16
config-model/src/test/derived/vector_constant/onnx-models.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
model[].name "inside" | ||
model[].fileref "ax_plus_b.onnx" | ||
model[].input[].name "vector_B" | ||
model[].input[].source "constant(bb)" | ||
model[].input[].name "vector_A" | ||
model[].input[].source "rankingExpression(indirect_a)" | ||
model[].input[].name "matrix_X" | ||
model[].input[].source "constant(xx)" | ||
model[].output[].name "vector_Y" | ||
model[].output[].as "foobar" | ||
model[].dry_run_on_setup true | ||
model[].stateless_execution_mode "" | ||
model[].stateless_interop_threads -1 | ||
model[].stateless_intraop_threads -1 | ||
model[].gpu_device -1 | ||
model[].gpu_device_required false |