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

task not support: image-text-to-text. #352

Open
fangyangci opened this issue Nov 14, 2024 · 0 comments
Open

task not support: image-text-to-text. #352

fangyangci opened this issue Nov 14, 2024 · 0 comments

Comments

@fangyangci
Copy link

when I run command:
optimum-cli export onnx --model meta-llama/Llama-3.2-11B-Vision-Instruct ./

shows error:
KeyError: "Unknown task: image-text-to-text. Possible values are: audio-classification for AutoModelForAudioClassification, audio-frame-classification for AutoModelForAudioFrameClassification, audio-xvector for AutoModelForAudioXVector, automatic-speech-recognition for ('AutoModelForSpeechSeq2Seq', 'AutoModelForCTC'), depth-estimation for AutoModelForDepthEstimation, feature-extraction for AutoModel, fill-mask for AutoModelForMaskedLM, image-classification for AutoModelForImageClassification, image-segmentation for ('AutoModelForImageSegmentation', 'AutoModelForSemanticSegmentation'), image-to-image for AutoModelForImageToImage, image-to-text for AutoModelForVision2Seq, mask-generation for AutoModel, masked-im for AutoModelForMaskedImageModeling, multiple-choice for AutoModelForMultipleChoice, object-detection for AutoModelForObjectDetection, question-answering for AutoModelForQuestionAnswering, semantic-segmentation for AutoModelForSemanticSegmentation, text-to-audio for ('AutoModelForTextToSpectrogram', 'AutoModelForTextToWaveform'), text-generation for AutoModelForCausalLM, text2text-generation for AutoModelForSeq2SeqLM, text-classification for AutoModelForSequenceClassification, token-classification for AutoModelForTokenClassification, zero-shot-image-classification for AutoModelForZeroShotImageClassification, zero-shot-object-detection for AutoModelForZeroShotObjectDetection"

Is this model supported by any plans? Or is there any way I can modify the code to support new tasks?

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

No branches or pull requests

1 participant