We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb3b3a commit b3ce7feCopy full SHA for b3ce7fe
scripts/static_validation.py
@@ -81,8 +81,8 @@ def get_default_env(
81
conda_env["dependencies"].append("cpuonly")
82
83
if tensorflow_version is not None:
84
- # tensorflow 1.15 is not available on conda, so we need to inject this as a pip dependency
85
- if (tensorflow_version.major, tensorflow_version.minor) == (1, 15):
+ # tensorflow 1 is not available on conda, so we need to inject this as a pip dependency
+ if tensorflow_version.major == 1:
86
assert opset_version is None
87
assert pytorch_version is None
88
conda_env["dependencies"] = ["pip", "python >=3.7,<3.8"] # tf 1.15 not available for py>=3.8
0 commit comments