Skip to content

Commit

Permalink
code quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrychen109 committed Nov 6, 2023
1 parent 5421c0c commit cace469
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions llmfoundry/utils/model_download_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
Copyright 2022 MosaicML LLM Foundry authors
SPDX-License-Identifier: Apache-2.0
"""
from typing import Optional

import copy
from http import HTTPStatus
import logging
import os
import time

from typing import Optional
from http import HTTPStatus
from urllib.parse import urljoin

from bs4 import BeautifulSoup
Expand Down
4 changes: 2 additions & 2 deletions scripts/misc/download_hf_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
Copyright 2022 MosaicML LLM Foundry authors
SPDX-License-Identifier: Apache-2.0
"""
import argparse
import logging
import os
import sys

import argparse
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE

from llmfoundry.utils.model_download_utils import (
download_from_cache_server,
download_from_hf_hub,
)
from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE

HF_TOKEN_ENV_VAR = 'HUGGING_FACE_HUB_TOKEN'

Expand Down

0 comments on commit cace469

Please sign in to comment.