Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Update cached_path version #5665

Merged
merged 21 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion allennlp/common/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ def cached_path(
Use this flag with caution! This can lead to race conditions if used
from multiple processes on the same file.
"""
_cached_path.file_friendly_logging(common_logging.FILE_FRIENDLY_LOGGING)
return str(
_cached_path.cached_path(
url_or_filename,
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################
torch>=1.6.0,<1.12.0
torchvision>=0.8.1,<0.13.0
cached-path>=1.0.2,<1.2.0
cached-path>=1.1.3,<1.2.0
fairscale==0.4.6
jsonnet>=0.10.0 ; sys.platform != 'win32'
nltk
Expand Down Expand Up @@ -34,6 +34,9 @@ typer>=0.4.1
# Protobuf is a dependency of wandb and tensorboard, but they are missing this pin.
protobuf<=3.20.0

# We need this for building the Docker image
traitlets>5.1.1

##################################################
###### Extra dependencies for integrations #######
##################################################
Expand Down