Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

release 0.6.9

edgar3a705886f9e1
diff --git a/setup.cfg b/setup.cfg
index 718f31e5e..159c36a1c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = kornia
-version = 0.6.8
+version = 0.6.9
description = Open Source Differentiable Computer Vision Library for PyTorch
long_description = file: README.md
long_description_content_type = text/markdown
diff --git a/setup_dev_env.sh b/setup_dev_env.sh
index fa4bcbe55..435e23361 100755
--- a/setup_dev_env.sh
+++ b/setup_dev_env.sh
@@ -36,9 +36,9 @@ fi
# define a python version to initialise the conda environment.
# by default we assume python 3.8
python_version=${PYTHON_VERSION:-"3.8"}
-pytorch_version=${PYTORCH_VERSION:-"1.13.0"}
+pytorch_version=${PYTORCH_VERSION:-"1.13.1"}
pytorch_mode=${PYTORCH_MODE:-""} # use `cpuonly` for CPU or leave it in blank for GPU
-cuda_version=${CUDA_VERSION:-"10.2"}
+cuda_version=${CUDA_VERSION:-"11.7"}
# configure for nightly builds
pytorch_channel="pytorch"
@@ -47,11 +47,11 @@ if [ "$pytorch_version" == "nightly" ]; then
pytorch_channel="pytorch-nightly"
fi
-# configure cudatoolkit
-cuda_toolkit="cudatoolkit=$cuda_version"
-if [ "$pytorch_mode" == "cpuonly" ]
-then
- cuda_toolkit=""
+# configure pytorch cuda version
+if [ "$pytorch_mode" == "cpuonly" ]; then
+ pytorch_cuda_version="cpuonly"
+else
+ pytorch_cuda_version="pytorch-cuda=$cuda_version -c nvidia"
fi
# create an environment with the specific python version
@@ -64,7 +64,7 @@ $conda_bin clean -ya
source $conda_bin_dir/activate $dev_env_dir/envs/venv
# install pytorch and torchvision
-conda install pytorch=$pytorch_version $cuda_toolkit $pytorch_mode -c $pytorch_channel
+conda install pytorch=$pytorch_version $pytorch_cuda_version -c $pytorch_channel
# install testing dependencies
pip install -e .[dev,x]