Skip to content

Update test of Youtu-LLM to pr-aligned repos#43578

Merged
molbap merged 1 commit intohuggingface:mainfrom
LuJunru:update-youtu-llm
Jan 29, 2026
Merged

Update test of Youtu-LLM to pr-aligned repos#43578
molbap merged 1 commit intohuggingface:mainfrom
LuJunru:update-youtu-llm

Conversation

@LuJunru
Copy link
Copy Markdown
Contributor

@LuJunru LuJunru commented Jan 29, 2026

What does this PR do?

To update the test of Youtu-LLM to pr-aligned repos, fixing issues mentioned here: #43166 (comment).

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@molbap @vasqu @xenova

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: youtu

Copy link
Copy Markdown
Contributor

@molbap molbap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good - let's rerun slow tests

tokenizer = AutoTokenizer.from_pretrained("tencent/Youtu-LLM-2B-Base")
model = YoutuForCausalLM.from_pretrained(
"Junrulu/Youtu-LLM-2B-Base-hf", device_map=torch_device, dtype=torch.float16
"tencent/Youtu-LLM-2B-Base", device_map=torch_device, dtype=torch.float16
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noticed the dtype on the config seems to be bfloat16, is this dtype intended here?

Copy link
Copy Markdown
Contributor Author

@LuJunru LuJunru Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dtype=float16 is used to follow the paradigm of other existing tests (e.g., Qwen3, DeepseekV3), as we hope to keep consistent with them.

p.s. These models, as well as Youtu-LLM, are all set dtype as bfloat16 in the config (Qwen3 config, DeepseekV3 config).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm I see. It's likely not a big deal but I wonder why we set them up like this, in particular for inference. Thanks for answering!

@molbap
Copy link
Copy Markdown
Contributor

molbap commented Jan 29, 2026

run-slow: youtu

@github-actions
Copy link
Copy Markdown
Contributor

This comment contains run-slow, running the specified jobs:

models: ["models/youtu"]
quantizations: []

@github-actions
Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

✅ No failing test specific to this PR 🎉 !

@molbap molbap enabled auto-merge (squash) January 29, 2026 08:38
@molbap molbap merged commit 91baab5 into huggingface:main Jan 29, 2026
20 checks passed
@LuJunru LuJunru deleted the update-youtu-llm branch January 29, 2026 08:47
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.

2 participants