Skip to content

Commit

Permalink
Isolate TF dependencies to lit_nlp.examples module.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 603107736
  • Loading branch information
RyanMullins authored and LIT team committed Jan 31, 2024
1 parent 243a058 commit 2138bd9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import tempfile

from lit_nlp.api import types as lit_types
from lit_nlp.components import tfx_model
from lit_nlp.examples.models import tfx_model
import tensorflow as tf


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ dependencies = [
"scipy==1.10.1",
"shap==0.37.0",
"six==1.16.0",
"tensorflow==2.10.0",
"tensorflow-text==2.10.0",
"termcolor==2.3.0",
"tqdm==4.64.0",
"umap-learn==0.5.1",
Expand Down Expand Up @@ -82,7 +80,9 @@ keywords = [
# LINT.IfChange
examples = [
"gunicorn==20.1.0",
"tensorflow==2.10.0",
"tensorflow-datasets==4.8.0",
"tensorflow-text==2.10.0",
"torch==2.0.1",
"transformers==4.27.1",
]
Expand Down
2 changes: 0 additions & 2 deletions requirements_core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ scikit-learn==1.0.2
scipy==1.10.1
shap==0.37.0
six==1.16.0
tensorflow==2.10.0
tensorflow-text==2.10.0
termcolor==2.3.0
tqdm==4.64.0
umap-learn==0.5.1
Expand Down
2 changes: 2 additions & 0 deletions requirements_examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
# LINT.IfChange
gunicorn==20.1.0
sentencepiece==0.1.99
tensorflow==2.10.0
tensorflow-datasets==4.8.0
tensorflow-text==2.10.0
torch==2.0.1
transformers==4.27.1
# LINT.ThenChange(./pyproject.toml)

0 comments on commit 2138bd9

Please sign in to comment.