Skip to content

Conversation

CivaaBTW
Copy link
Contributor

@CivaaBTW CivaaBTW commented Aug 8, 2025

This PR addresses two distinct bugs in the /metal/scripts/create-local-model.py script to prevent a runtime error and fix the prog and description outputted.

Change Description

There is an inconsistency in the naming of the <|endofuntrusted|> special token.

In the o200k_gptoss definition, it is named "<|endofuntrusted|>". But in the SPECIAL_TOKEN_UUID dict and INCLUDE_SPECIAL_TOKENS list, it is named "<|end_untrusted|>".

This mismatch would cause a runtime error.

The Argument Parser that has an incorrect prog name and description, if a user were to run the --help flag they would get the idea that this script is for validating the MXFP4 weights but it's not.

Change Made

This fix standardizes the name to end_untrusted, preventing the error. The second change added the appropriate prog and description.

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.

1 participant