plugin test & check
Former-commit-id: 76c7c8c5a729b8b43e3a31efc44f2c9c2678bf3d
This commit is contained in:
@@ -697,7 +697,7 @@ def get_mm_plugin(
|
||||
try:
|
||||
require_version("transformers==4.46.0.dev0")
|
||||
except Exception as e:
|
||||
raise ImportError("PixtralPlugin requires transformers==4.46.0.dev0. Please install it first.")
|
||||
raise ImportError("PixtralPlugin requires transformers>=4.46.0.dev0. Please install it first.")
|
||||
if plugin_class is None:
|
||||
raise ValueError("Multimodal plugin `{}` not found.".format(name))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user