uber / petastorm

Petastorm library enables single machine or distributed training and evaluation of deep learning models from datasets in Apache Parquet format. It supports ML frameworks such as Tensorflow, Pytorch, and PySpark and can be used from pure Python code.
Apache License 2.0
1.78k stars 285 forks source link

Fix package versions in Dockerfile #715

Closed chongxiaoc closed 3 years ago

chongxiaoc commented 3 years ago

Tensorflow2 conflicts with numpy 1.20.1

Error example is:

#30 26.12 ERROR: Cannot install numpy==1.20.1, pyarrow==3.0.0 and tensorflow==2.5.0 because these package versions have conflicting dependencies.
#30 26.12
#30 26.12 The conflict is caused by:
#30 26.12     The user requested numpy==1.20.1
#30 26.12     pyarrow 3.0.0 depends on numpy>=1.16.6
#30 26.12     tensorflow 2.5.0 depends on numpy~=1.19.2
#30 26.12
#30 26.12 To fix this you could try to:
#30 26.12 1. loosen the range of package versions you've specified
#30 26.12 2. remove package versions to allow pip attempt to solve the dependency conflict
codecov[bot] commented 3 years ago

Codecov Report

Merging #715 (abb1909) into master (9f30108) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #715   +/-   ##
=======================================
  Coverage   86.16%   86.16%           
=======================================
  Files          84       84           
  Lines        5059     5059           
  Branches      787      787           
=======================================
  Hits         4359     4359           
  Misses        560      560           
  Partials      140      140           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9f30108...abb1909. Read the comment docs.