Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
haimasree committed Jun 8, 2022
1 parent 1bd899f commit a010cd6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kipoi/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,12 @@ def _get_channels_packages(self):
"Using pysam bioconda instead of anaconda")
channels.remove("defaults")
channels.insert(len(channels), "defaults")
# Add special case for pytorch-cpu and torchvision-cpu. There is no
# longer any need to provide pytorch-cpu in model(/dataloader).yaml. Recent
# Add special case for pytorch-cpu and torchvision-cpu. These
# packages are not being updated in conda pytorch channel
# anymore. There is no longer any need to provide pytorch-cpu
# in model( or dataloader).yaml. Recent
# versions of pytorch (since 1.3.0) will install necessary libraries
# on its own - for example, on mac it will not install
# pytorch-mutex, on centos it will.
# on its own.
for torchpkg in ["^pytorch-cpu", "^torchvision-cpu"]:
matcher = re.compile(torchpkg)
for pkg in filter(matcher.match, packages):
Expand Down

0 comments on commit a010cd6

Please sign in to comment.