Skip to content

Commit f5acf2c

Browse files
committed
Fix phi4flash V1 compatibility
1 parent 51383bd commit f5acf2c

File tree

3 files changed

+507
-312
lines changed

3 files changed

+507
-312
lines changed

tests/models/language/generation/test_hybrid.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
HYBRID_MODELS = [
2727
"ai21labs/Jamba-tiny-dev",
28+
"microsoft/Phi-4-mini-flash-reasoning",
2829
# skipping until vLLM implementation issues are resolved
2930
# "pfnet/plamo-2-1b",
3031
"Zyphra/Zamba2-1.2B-instruct",
@@ -37,6 +38,7 @@
3738
V1_SUPPORTED_MODELS = [
3839
"state-spaces/mamba-130m-hf",
3940
"ai21labs/Jamba-tiny-dev",
41+
"microsoft/Phi-4-mini-flash-reasoning",
4042
"yujiepan/mamba2-codestral-v0.1-tiny-random",
4143
"Zyphra/Zamba2-1.2B-instruct",
4244
"hmellor/tiny-random-BambaForCausalLM",

tests/models/registry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ def check_available_online(
282282
"Phi3ForCausalLM": _HfExamplesInfo("microsoft/Phi-3-mini-4k-instruct"),
283283
"Phi4FlashForCausalLM": _HfExamplesInfo("microsoft/Phi-4-mini-flash-reasoning", # noqa: E501
284284
trust_remote_code=True,
285-
v0_only=True,
286285
max_model_len=10240),
287286
"PhiMoEForCausalLM": _HfExamplesInfo("microsoft/Phi-3.5-MoE-instruct",
288287
trust_remote_code=True),

0 commit comments

Comments
 (0)