File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
dali/python/nvidia/dali/plugin Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ RUN pip install future numpy setuptools wheel && \
2222 rm -rf /root/.cache/pip/
2323
2424RUN if [ ${PYV} != "37" ] ; then \
25- pip install tensorflow-gpu==1.7 && \
26- pip install tensorflow-gpu==1.11 --target /tensorflow/1_11 && \
27- pip install tensorflow-gpu==1.12rc2 --target /tensorflow/1_12 && \
28- pip install tf-nightly-gpu --target /tensorflow/nightly; \
29- else \
30- # only nightly build of TF supports python 3.7 at that time
31- pip install tf-nightly-gpu; \
25+ pip install tensorflow-gpu==1.7 && \
26+ pip install tensorflow-gpu==1.11 --target /tensorflow/1_11 && \
27+ pip install tensorflow-gpu==1.12 --target /tensorflow/1_12 && \
28+ pip install tensorflow-gpu==1.13.1 --target /tensorflow/1_13 && \
29+ pip install tensorflow-gpu --target /tensorflow/latest; \
30+ else \
31+ # Older versions not supported on python 3.7
32+ pip install tensorflow-gpu; \
3233 fi && \
3334 rm -rf /root/.cache/pip/
3435
Original file line number Diff line number Diff line change 1919
2020_tf_plugins = glob .glob (os .path .join (os .path .dirname (os .path .realpath (__file__ )), 'libdali_tf*.so' ))
2121_dali_tf_module = None
22- # Order: 'current', numbered versions, nightly build
22+ # Order: 'current', prebuilt versions
2323_dali_tf_current = list (filter (lambda x : 'current' in x , _tf_plugins ))
24- _dali_tf_numbered = list (filter (lambda x : 'current' not in x and 'nightly' not in x , _tf_plugins ))
25- _dali_tf_nightly = list (filter (lambda x : 'nightly' in x , _tf_plugins ))
26- _processed_tf_plugins = _dali_tf_current + _dali_tf_numbered + _dali_tf_nightly
24+ _dali_tf_prebuilt = list (filter (lambda x : 'current' not in x , _tf_plugins ))
25+ _processed_tf_plugins = _dali_tf_current + _dali_tf_prebuilt
2726
2827for _libdali_tf in _processed_tf_plugins :
2928 try :
You can’t perform that action at this time.
0 commit comments