Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@Jack-Khuu
Copy link
Contributor

@Jack-Khuu Jack-Khuu commented Oct 5, 2024

Flagging GeneratorArgs.is_torchtune_model as a misnomer since it doesn't capture all torchtune models (i.e. Flamingo)

This PR also reverts the commenting out of a snippet of code in d0993b3 which was done to unblock Flamingo support, but affected non-torchtune behavior


Tests (Server + CLI)

Llama 3.2 11B with image input

Verified python torchchat.py generate llama3.2-11B --prompt "What's in this image?" --image-prompt assets/dog.jpg
image

Llama 3.2 11B with no image input

Verified python torchchat.py generate llama3.2-11B
image

Llama 3.2 1B

Verified python torchchat.py generate llama3.2-1B
image

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 5, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1274

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 67de1b3 with merge base d0993b3 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 5, 2024
(
text_transformer_args.block_size
if text_transformer_args is not None
else 2048
Copy link
Contributor

Choose a reason for hiding this comment

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

discrete numbers and strings should be constants or at the very least have comments explaining why that number.

@byjlw byjlw merged commit eca477b into main Oct 7, 2024
52 checks passed
@Jack-Khuu Jack-Khuu deleted the fix-misnormer branch January 24, 2025 23:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants