Skip to content

Commit

Permalink
move import to local
Browse files Browse the repository at this point in the history
  • Loading branch information
KuuCi committed May 17, 2024
1 parent 709d409 commit 46fa3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import mlflow
from composer.utils import dist, parse_uri
from databricks.sdk.errors.platform import NotFound, PermissionDenied
from omegaconf import MISSING, DictConfig, ListConfig, MissingMandatoryValue
from omegaconf import OmegaConf as om
from transformers import PretrainedConfig
Expand Down Expand Up @@ -684,6 +683,7 @@ def _verify_uc_path(path: str) -> bool:
Returns:
(bool): If path exists or not
"""
from databricks.sdk.errors.platform import NotFound, PermissionDenied

This comment has been minimized.

Copy link
@dakinggg

dakinggg May 17, 2024

Collaborator

should be in the try catch

try:
from databricks.sdk import WorkspaceClient

Expand Down

0 comments on commit 46fa3ce

Please sign in to comment.