File tree 5 files changed +9
-8
lines changed 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,9 @@ def unittest_workflows(indentation=6):
246
246
if os_type == "macos" and device_type == "gpu" :
247
247
continue
248
248
for i , python_version in enumerate (PYTHON_VERSIONS ):
249
+ # Skip MacOSX and python 3.10
250
+ if python_version == "3.10" and os_type == "macos" :
251
+ continue
249
252
job = {
250
253
"name" : f"unittest_{ os_type } _{ device_type } _py{ python_version } " ,
251
254
"python_version" : python_version ,
Original file line number Diff line number Diff line change @@ -28,9 +28,11 @@ ENV PATH /opt/conda/bin:$PATH
28
28
RUN conda create -y --name python3.7 python=3.7
29
29
RUN conda create -y --name python3.8 python=3.8
30
30
RUN conda create -y --name python3.9 python=3.9
31
+ RUN conda create -y --name python3.10 python=3.10
31
32
SHELL [ "/bin/bash" , "-c" ]
32
33
RUN echo "source /usr/local/etc/profile.d/conda.sh" >> ~/.bashrc
33
34
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.7 && conda install -y "Pillow>=5.3.0,!=8.3.*"
34
35
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.8 && conda install -y "Pillow>=5.3.0,!=8.3.*"
35
36
RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.9 && conda install -y "Pillow>=5.3.0,!=8.3.*"
37
+ RUN source /usr/local/etc/profile.d/conda.sh && conda activate python3.10 && conda install -y "Pillow>=5.3.0,!=8.3.*"
36
38
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ supported Python versions.
21
21
+--------------------------+--------------------------+---------------------------------+
22
22
| ``torch `` | ``torchvision `` | ``python `` |
23
23
+==========================+==========================+=================================+
24
- | ``main `` / ``nightly `` | ``main `` / ``nightly `` | ``>=3.7 ``, ``<=3.9 `` |
24
+ | ``main `` / ``nightly `` | ``main `` / ``nightly `` | ``>=3.7 ``, ``<=3.10 `` |
25
25
+--------------------------+--------------------------+---------------------------------+
26
26
| ``1.10.2 `` | ``0.11.3 `` | ``>=3.6 ``, ``<=3.9 `` |
27
27
+--------------------------+--------------------------+---------------------------------+
@@ -159,8 +159,8 @@ so make sure that it is also available to cmake via the ``CMAKE_PREFIX_PATH``.
159
159
160
160
For an example setup, take a look at ``examples/cpp/hello_world ``.
161
161
162
- Python linking is disabled by default when compiling TorchVision with CMake, this allows you to run models without any Python
163
- dependency. In some special cases where TorchVision's operators are used from Python code, you may need to link to Python. This
162
+ Python linking is disabled by default when compiling TorchVision with CMake, this allows you to run models without any Python
163
+ dependency. In some special cases where TorchVision's operators are used from Python code, you may need to link to Python. This
164
164
can be done by passing ``-DUSE_PYTHON=on `` to CMake.
165
165
166
166
TorchVision Operators
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ rm -rf vision
21
21
git clone https://github.com/pytorch/vision
22
22
pushd vision
23
23
24
- desired_pythons=( " 3.7" " 3.8" " 3.9" )
24
+ desired_pythons=( " 3.7" " 3.8" " 3.9" " 3.10 " )
25
25
# for each python
26
26
for desired_python in " ${desired_pythons[@]} "
27
27
do
You can’t perform that action at this time.
0 commit comments