Skip to content

Conversation

@yossiovadia
Copy link
Collaborator

@yossiovadia yossiovadia commented Dec 8, 2025

Summary

Fixes the incorrect relative path in the PII auto-detection test that prevented it from locating the LoRA model files.

Changes

  • Updated TestPIIAlreadyHasAutoDetection to use correct relative path
  • Changed from models/lora_pii_detector_bert-base-uncased_model to ../../../../models/lora_pii_detector_bert-base-uncased_model
  • This matches the pattern used in the intent classification test

Test Plan

  • Test passes locally and correctly locates the PII LoRA model
  • Path now consistent with intent classification test pattern
  • DCO sign-off included

Related Issues

Closes #787

… test

The PII auto-detection test was using an incorrect relative path
"models/lora_pii_detector_bert-base-uncased_model" which would fail
when running from the test directory location. Updated to use the
correct relative path "../../../../models/lora_pii_detector_bert-base-uncased_model"
to match the pattern used in the intent classification test.

This ensures the test can locate the model files correctly and doesn't
skip when the LoRA PII model is available.

Fixes vllm-project#787

Signed-off-by: Yossi Ovadia <[email protected]>
@netlify
Copy link

netlify bot commented Dec 8, 2025

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit 2fd2126
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/6937511155188f0008714cea
😎 Deploy Preview https://deploy-preview-788--vllm-semantic-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

👥 vLLM Semantic Team Notification

The following members have been identified for the changed files in this PR and have been automatically assigned:

📁 src

Owners: @rootfs, @Xunzhuo, @wangchen615
Files changed:

  • src/semantic-router/pkg/classification/lora_auto_detection_test.go

vLLM

🎉 Thanks for your contributions!

This comment was automatically generated based on the OWNER files in the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(test): correct relative path for PII LoRA model in auto-detection test

4 participants