Skip to content

Commit

Permalink
more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed May 27, 2024
1 parent 1881f2f commit d80087f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llmfoundry/utils/huggingface_hub_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ def edit_files_for_hf_compatibility(
files_processed_and_queued.add(file)

# For each entrypoint, determine which imports are missing, and add them
# This is because HF does not recursively search imports when determining
# which files to copy into its modules cache
all_relative_imports = {
os.path.splitext(os.path.basename(f))[0]
for f in files_processed_and_queued
Expand Down

0 comments on commit d80087f

Please sign in to comment.