Workaround for PyTorch 1.13.0 serialization issue.
@@ -50,7 +50,7 @@ jobs:
- name: install conda environment
run: |
mamba create -n avalanche-env -y -v python=${{ matrix.python-version }} -c conda-forge &&
- conda run -n avalanche-env --no-capture-output mamba install -y -v pytorch torchvision cpuonly -c pytorch &&
+ conda run -n avalanche-env --no-capture-output mamba install -y -v pytorch==1.12.1 torchvision cpuonly -c pytorch &&
conda run -n avalanche-env --no-capture-output mamba env update --file environment.yml -v
- name: python unit test
id: unittest
