Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

"Joker's YAML Challenge" (#745)

uuuvn49f501d25c67
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f8f70bbb0..053c48b3f 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -98,22 +98,22 @@ jobs:
- name: Build crates
run: |
cargo +stable build \
- ${{ matrix.target && format('--target {0}', matrix.target) }} \
- ${{ matrix.crates && format('-p {0}', join(matrix.crates, ' -p ')) }}
+ ${{ matrix.target && format('--target {0}', matrix.target) || '' }} \
+ ${{ matrix.crates && format('-p {0}', join(matrix.crates, ' -p ')) || '' }}
- name: Build benches
if: ${{ matrix.benches }}
run: |
cargo +nightly bench --no-run \
- ${{ matrix.target && format('--target {0}', matrix.target) }} \
- ${{ matrix.crates && format('-p {0}', join(matrix.crates, ' -p ')) }}
+ ${{ matrix.target && format('--target {0}', matrix.target) || '' }} \
+ ${{ matrix.crates && format('-p {0}', join(matrix.crates, ' -p ')) || '' }}
- name: Run tests
if: ${{ matrix.tests }}
run: |
cargo +nightly nextest run --profile=ci \
- ${{ matrix.target && format('--target {0}', matrix.target) }} \
- ${{ matrix.tests == 'kernels' && '-p backend-uzu backends::common::kernel::tests --lib' }}
+ ${{ matrix.target && format('--target {0}', matrix.target) || '' }} \
+ ${{ matrix.tests == 'kernels' && '-p backend-uzu backends::common::kernel::tests --lib' || '' }}
validate-bindings:
name: validate-bindings
diff --git a/crates/backend-uzu/tests/unit/parameters/safetensors_metadata.rs b/crates/backend-uzu/tests/unit/parameters/safetensors_metadata.rs
index aeeec73b6..b15dd0cbf 100644
--- a/crates/backend-uzu/tests/unit/parameters/safetensors_metadata.rs
+++ b/crates/backend-uzu/tests/unit/parameters/safetensors_metadata.rs
@@ -6,6 +6,7 @@ use test_runner::path::get_test_weights_path;
use crate::parameters::safetensors_metadata::read_metadata;
#[uzu_test]
+#[ignore] // TODO: test data downloading
fn test_metadata_loading() {
let path = get_test_weights_path();
let file = File::open(&path).expect("weights not found");
diff --git a/crates/uzu/tests/tool/calls.rs b/crates/uzu/tests/tool/calls.rs
index 652435582..c996dbbc1 100644
--- a/crates/uzu/tests/tool/calls.rs
+++ b/crates/uzu/tests/tool/calls.rs
@@ -194,6 +194,7 @@ async fn run_tool_calls_test(
}
#[tokio::test]
+#[ignore]
async fn functiongemma_270m_it() {
// FunctionGemma 270M only handles single-step tool calls out of the box:
// for the prompts that require chaining (get_current_location -> get_current_temperature) it invents coordinates or
@@ -203,21 +204,25 @@ async fn functiongemma_270m_it() {
}
#[tokio::test]
+#[ignore]
async fn gpt_oss_20b() {
run_tool_calls_test("openai/gpt-oss-20b", true, false, TEST_CASES).await;
}
#[tokio::test]
+#[ignore]
async fn lfm2_350m() {
run_tool_calls_test("LiquidAI/LFM2-350M", true, false, &TEST_CASES[..1]).await;
}
#[tokio::test]
+#[ignore]
async fn lfm2_5_350m() {
run_tool_calls_test("LiquidAI/LFM2.5-350M", true, false, &TEST_CASES[..1]).await;
}
#[tokio::test]
+#[ignore]
async fn llama_3_2_1b_instruct() {
// Like FunctionGemma, Llama 3.2 1B only handles single-step tool calls: for the prompts that
// require chaining (get_current_location -> get_current_temperature) it invents coordinates
@@ -226,11 +231,12 @@ async fn llama_3_2_1b_instruct() {
}
#[tokio::test]
+#[ignore]
async fn qwen3_1_7b() {
run_tool_calls_test("Qwen/Qwen3-1.7B", true, false, TEST_CASES).await;
}
#[tokio::test]
async fn qwen3_5_0_8b() {
- run_tool_calls_test("Qwen/Qwen3.5-0.8B", true, false, TEST_CASES).await;
+ run_tool_calls_test("alibaba:qwen3.5:0.8b:mirai:mirai-m:4", true, false, TEST_CASES).await;
}