Skip to content

Conversation

@HAOCHENYE
Copy link
Collaborator

No description provided.

parser = argparse.ArgumentParser(description='bf16 convert fp8')
parser.add_argument("source", help="source hf model path", type=Path)
parser.add_argument("target", help="target hf model path", type=Path)
parser.add_argument('regex', help="regex expression to match fp8 weight", type=str)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Better to add default and help message

@HAOCHENYE HAOCHENYE force-pushed the yehc/hf-fp8-convert branch 2 times, most recently from a1a73b2 to 262664b Compare January 16, 2026 09:34
@HAOCHENYE HAOCHENYE force-pushed the yehc/hf-fp8-convert branch from 262664b to 648c870 Compare January 16, 2026 09:45
@HAOCHENYE HAOCHENYE merged commit b76176e into main Jan 16, 2026
6 checks passed
@HAOCHENYE HAOCHENYE deleted the yehc/hf-fp8-convert branch January 16, 2026 09:54
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.

3 participants