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

Commit

Permalink
Hide RNNG JIT till PyTorch 1.2 is ready (#686)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #686

RNNG JIT code depends on some latest code in PyTorch which is not released yet, to unblock releasing a stable version for PyText, we'll remove it for now.

Reviewed By: geof90

Differential Revision: D15776325

fbshipit-source-id: 778492f6b76267a58a39063f2d54306ecbf6f811
  • Loading branch information
seayoung1112 authored and facebook-github-bot committed Jun 12, 2019
1 parent 1ea44da commit 2fd7274
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 872 deletions.
7 changes: 0 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@ _run:
command: |
sudo ./install_deps
sudo pip install --progress-bar off pytest pytest-cov
install_pytorch_nightly: &install_pytorch_nightly
name: install_pytorch_nightly
command: |
sudo pip uninstall -y torch
sudo pip install --progress-bar off torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
_do_tests: &do_tests
- checkout
- run: *install_system_deps
- run: *install_test_deps
- run: *install_pytorch_nightly
- run:
name: run tests and gather coverag
command: pytest --junitxml=test-reports/junit.xml --cov=pytext --cov-report=html:htmlcov
Expand Down Expand Up @@ -57,7 +51,6 @@ jobs:
sudo pip install --upgrade pip
sudo pip install -r docs_requirements.txt
sudo pip install -r pytext/docs/requirements.txt
- run: *install_pytorch_nightly
- run:
name: build docs
command: |
Expand Down
1 change: 1 addition & 0 deletions docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
https://download.pytorch.org/whl/cpu/torch-1.1.0-cp37-cp37m-linux_x86_64.whl
click
future
hypothesis<4.0
Expand Down
7 changes: 0 additions & 7 deletions pytext/models/semantic_parsers/rnng/jit/__init__.py

This file was deleted.

98 changes: 0 additions & 98 deletions pytext/models/semantic_parsers/rnng/jit/inference.py

This file was deleted.

Loading

0 comments on commit 2fd7274

Please sign in to comment.