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

Commit

Permalink
Back out "move PATH_MANAGER to OSS" (#1724)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1724

Original commit changeset: c0046d62e641

Original Phabricator Diff: D39292896 (b932448)

torchtext can't depend on iopath as raised in pytorch/text#1905

Reviewed By: Nayef211

Differential Revision: D39639475

fbshipit-source-id: 69a48eb3820d0642b0a56712e160a0af589e4c7c
  • Loading branch information
hudeven authored and facebook-github-bot committed Sep 21, 2022
1 parent cef55dd commit a9fbde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytext/utils/file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the import everywhere in PyText
# TODO: @stevenliu use PathManagerFactory after it's released to PyPI
from iopath.common.file_io import HTTPURLHandler
from torchtext.utils import PATH_MANAGER as PathManager # noqa
from pytorch.text.fb.utils import PATH_MANAGER as PathManager # noqa


def register_http_url_handler():
Expand Down

0 comments on commit a9fbde5

Please sign in to comment.