Skip to content

Commit

Permalink
[NeuralChat] Adding LLaVA-NeXT (#1358)
Browse files Browse the repository at this point in the history
Co-authored-by: Lv, Kaokao <kaokao.lv@intel.com>
  • Loading branch information
dillonalaird and lkk12014402 committed Mar 27, 2024
1 parent f4bc228 commit feff1ec
Show file tree
Hide file tree
Showing 9 changed files with 663 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

import sys
import transformers
from optimum.habana.transformers.generation.utils import MODELS_OPTIMIZED_WITH_STATIC_SHAPES
if "llava" not in MODELS_OPTIMIZED_WITH_STATIC_SHAPES:
MODELS_OPTIMIZED_WITH_STATIC_SHAPES.append("llava")
from optimum.habana.transformers.modeling_utils import adapt_transformers_to_gaudi
adapt_transformers_to_gaudi()

Expand Down

0 comments on commit feff1ec

Please sign in to comment.