Skip to content

Commit 2f54670

Browse files
authored
Merge pull request #27 from Vastra-Gotalandsregionen/AI-731
AI-731: Bump Pytorch to 0.3.1
2 parents 53fb0d5 + 37d3fe9 commit 2f54670

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_pytorch_env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_dockerfile(self):
8787
lines = list(map(lambda x: x.strip(), fin.readlines()))
8888
dockerfile_text = Path(dockerfile_path).read_text()
8989

90-
assert lines[1] == "FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.0"
90+
assert lines[1] == "FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.1"
9191
assert lines[-1] == 'WORKDIR /workspace'
9292
assert "ADD http://aiav2.vgregion.se/VGC%20Root%20CA%20v2.crt /tmp/vgc_root.der" in lines
9393
assert "ADD http://aiav2.vgregion.se/VGC%20Issuing%201%20CA%20v2.crt /tmp/vgc_issuing1.der" in lines

{{ cookiecutter.repo_name }}/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% if cookiecutter.image == 'Tensorflow' %}FROM registry.git.vgregion.se/aiplattform/images/tensorflow:0.2.0{% endif %}
2-
{% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.0{% endif %}
2+
{% if cookiecutter.image == 'PyTorch' %}FROM registry.git.vgregion.se/aiplattform/images/pytorch:0.3.1{% endif %}
33
{% if cookiecutter.image == 'R' %}FROM registry.git.vgregion.se/aiplattform/images/r:0.2.0{% endif %}
44
ENV GID=1000
55
ENV UID=1000

0 commit comments

Comments
 (0)