We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8568e72 commit 801c21aCopy full SHA for 801c21a
src/lighteval/models/endpoints/endpoint_model.py
@@ -257,6 +257,7 @@ def __init__( # noqa: C901
257
logger.error(
258
"Endpoint did not start within 30 minutes, there was a timeout. Please inspect the logs."
259
)
260
+ self.cleanup()
261
raise e
262
except HfHubHTTPError as e:
263
# The endpoint actually already exists, we'll spin it up instead of trying to create a new one
0 commit comments