Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
a6e3b179
"test/srt/git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "0103f374ba47c7baa87f9378b0ba3ef6c282969d"
Unverified
Commit
a6e3b179
authored
Mar 04, 2022
by
Nicolas Patry
Committed by
GitHub
Mar 04, 2022
Browse files
Re-enabling all fast pipeline tests. (#15924)
parent
a7df656f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/pipelines/test_pipelines_common.py
tests/pipelines/test_pipelines_common.py
+2
-1
No files found.
tests/pipelines/test_pipelines_common.py
View file @
a6e3b179
...
...
@@ -64,7 +64,8 @@ def get_tiny_config_from_class(configuration_class):
camel_case_model_name
=
configuration_class
.
__name__
.
split
(
"Config"
)[
0
]
try
:
module
=
importlib
.
import_module
(
f
".test_modeling_
{
model_type
.
replace
(
'-'
,
'_'
)
}
"
,
package
=
"tests"
)
model_slug
=
model_type
.
replace
(
"-"
,
"_"
)
module
=
importlib
.
import_module
(
f
".test_modeling_
{
model_slug
}
"
,
package
=
f
"tests.
{
model_slug
}
"
)
model_tester_class
=
getattr
(
module
,
f
"
{
camel_case_model_name
}
ModelTester"
,
None
)
except
(
ImportError
,
AttributeError
):
logger
.
error
(
f
"No model tester class for
{
configuration_class
.
__name__
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment