We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 325f7e2 commit f4d4a49Copy full SHA for f4d4a49
examples/composer.json
@@ -14,7 +14,8 @@
14
"require": {
15
"php": "^8.1",
16
"symfony/console": "^7.0",
17
- "codewithkyrian/transformers": "*"
+ "codewithkyrian/transformers": "*",
18
+ "rokka/imagine-vips": "dev-master"
19
},
20
"require-dev": {
21
"symfony/var-dumper": "^7.0"
src/Models/Auto/PretrainedMixin.php
@@ -72,7 +72,7 @@ public static function fromPretrained(
72
}
73
74
if (static::BASE_IF_FAIL) {
75
- trigger_error("Unknown model class for model type {$config->modelType}. Using base class PreTrainedModel.");
+ trigger_error("Unknown model class for model type {$config->modelType}. Using base class PreTrainedModel.", E_USER_WARNING);
76
77
return PretrainedModel::fromPretrained(
78
modelNameOrPath: $modelNameOrPath,
0 commit comments