flexflow / FlexFlow

FlexFlow Serve: Low-Latency, High-Performance LLM Serving
https://flexflow.readthedocs.io
Apache License 2.0
1.6k stars 219 forks source link

HuggingFace Upload Feature #1300

Closed april-yyt closed 12 hours ago

april-yyt commented 5 months ago

Description of changes: Implement the feature of converting models from flexflow format to huggingface format and upload models to huggingface hub. Completed reconvert methods for models:

Included an example script for downloading a model from huggingface, convert it to flexflow format, reconvert the format back to the huggingface model format(mainly modifying the weights), and eventually uploading it back to huggingface.

TODO:

Related Issues:

Linked Issues:

Issues closed by this PR:


This change is Reviewable