Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating HL compile and export to infer APIs #214

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asmigosw
Copy link
Contributor

@asmigosw asmigosw commented Jan 8, 2025

Migrating HL compile API and export API to infer APIs

@quic-amitraj
Copy link
Contributor

Please rebase

Change-Id: If27fbc1636ed1fe9b475d07cef7c83ed7dc46ca8
Signed-off-by: Asmita Goswami <[email protected]>
) # type: ignore
logger.info(f"Generated onnx_path: {onnx_model_path}, onnx_dir_path: {onnx_dir_path}")
logger.info(f"Exporting Pytorch {model_name} model to ONNX...")
qeff_model = QEFFAutoModelForCausalLM.from_pretrained(model_name, cache_dir)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not restrict CLI apis to use only AutoModelForCausalLM. It should be generic as we support new auto classes.

@quic-amitraj quic-amitraj marked this pull request as draft January 16, 2025 10:36
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