Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyTorch and Torchvision version update #1216

Merged
merged 45 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b8d2893
bumped torch and torchvision to latest
tanwarsh Dec 16, 2024
2b50eb4
dummy commit
tanwarsh Dec 16, 2024
ef100ce
version updated for eden compression
tanwarsh Dec 16, 2024
afbdd4b
python version updated for eden compression
tanwarsh Dec 16, 2024
ecd7e40
python version updated for pki workflow
tanwarsh Dec 16, 2024
790a58c
code changes
tanwarsh Dec 17, 2024
1390fd8
Merge branch 'develop' into torch-update
tanwarsh Dec 17, 2024
7658364
code changes
tanwarsh Dec 17, 2024
2debeff
revert python version for pki workflow
tanwarsh Dec 17, 2024
8dc0dca
requiremets updated
tanwarsh Dec 17, 2024
0fc5528
dummy changes
tanwarsh Dec 17, 2024
98a82e8
dummy changes
tanwarsh Dec 17, 2024
21fdd7b
revert chnages
tanwarsh Dec 17, 2024
a2e57d9
torch version updated
tanwarsh Dec 17, 2024
8896b28
Merge branch 'develop' into torch-update
tanwarsh Dec 18, 2024
6d6d1fa
Merge branch 'develop' into torch-update
tanwarsh Dec 23, 2024
5a2b163
monkey patch added
tanwarsh Dec 23, 2024
9ff9067
Merge branch 'torch-update' of https://github.com/tanwarsh/openfl int…
tanwarsh Dec 23, 2024
17d28ae
python version update for eden pipeline
tanwarsh Dec 23, 2024
816468d
Merge branch 'develop' into torch-update
tanwarsh Dec 23, 2024
a59cbeb
Merge branch 'develop' into torch-update
tanwarsh Jan 7, 2025
e208d03
changes for torch version 2.4.1
tanwarsh Jan 8, 2025
b99d024
fix for distutils/core.py error
tanwarsh Jan 8, 2025
b79b041
fix for distutils/core.py error
tanwarsh Jan 8, 2025
ab08e48
Merge branch 'develop' into torch-update
tanwarsh Jan 8, 2025
cda9e81
setupttool version 65.5.1
tanwarsh Jan 16, 2025
6f2fcb9
Merge branch 'develop' into torch-update
tanwarsh Jan 16, 2025
354f227
Merge branch 'develop' into torch-update
tanwarsh Jan 17, 2025
3a3f80d
added setuptool import
tanwarsh Jan 17, 2025
5320031
distutils error fix
tanwarsh Jan 17, 2025
fab1218
Merge branch 'develop' into torch-update
tanwarsh Jan 17, 2025
6f5b407
Merge branch 'develop' into torch-update
tanwarsh Jan 20, 2025
ea20dde
Merge branch 'develop' into torch-update
tanwarsh Jan 21, 2025
932151c
revert code
tanwarsh Jan 21, 2025
f959dc3
Merge branch 'torch-update' of https://github.com/tanwarsh/openfl int…
tanwarsh Jan 21, 2025
2100afb
revert code
tanwarsh Jan 21, 2025
2877720
code changes
tanwarsh Jan 22, 2025
28bd76a
Merge branch 'develop' into torch-update
tanwarsh Jan 22, 2025
58b3a4e
formatting change
tanwarsh Jan 22, 2025
a414b22
Merge branch 'develop' into torch-update
tanwarsh Jan 22, 2025
4fbecc0
Merge branch 'develop' into torch-update
tanwarsh Jan 23, 2025
09e01ef
Merge branch 'develop' into torch-update
tanwarsh Jan 23, 2025
12018d4
Merge branch 'develop' into torch-update
tanwarsh Jan 23, 2025
81d8d0b
Merge branch 'develop' into torch-update
tanwarsh Jan 24, 2025
b43517e
Merge branch 'develop' into torch-update
tanwarsh Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions openfl-workspace/torch_cnn_histology/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
torch==2.3.1
torchvision==0.18.1
setuptools>=65.5.1
torch==2.4.1
torchvision==0.19.1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
torch==2.3.1
torchvision==0.18.1
setuptools>=65.5.1
torch==2.4.1
torchvision==0.19.1
4 changes: 2 additions & 2 deletions openfl-workspace/torch_cnn_mnist/plan/plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ data_loader:
batch_size: 64
collaborator_count: 2
template: src.dataloader.PyTorchMNISTInMemory
network :
defaults : plan/defaults/network.yaml
network:
defaults: plan/defaults/network.yaml
task_runner:
settings: {}
template: src.taskrunner.TemplateTaskRunner
Expand Down
5 changes: 3 additions & 2 deletions openfl-workspace/torch_cnn_mnist/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
torch==2.3.1
torchvision==0.18.1
setuptools>=65.5.1
torch==2.4.1
torchvision==0.19.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
setuptools>=65.5.1
tensorboard
torch==2.3.1
torchvision==0.18.1
torch==2.4.1
torchvision==0.19.1
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
5 changes: 3 additions & 2 deletions openfl-workspace/torch_cnn_mnist_fed_eval/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
setuptools>=65.5.1
tensorboard
torch==2.3.1
torchvision==0.18.1
torch==2.4.1
torchvision==0.19.1
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
rsa>=4.7 # not directly required, pinned by Snyk to avoid a vulnerability
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
setuptools>=65.5.1
tensorboard
torch==2.3.1
torchvision==0.18.1
torch==2.4.1
torchvision==0.19.1
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
5 changes: 3 additions & 2 deletions openfl-workspace/torch_llm_horovod/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
setuptools>=65.5.1
accelerate
datasets
evaluate
Expand All @@ -8,7 +9,7 @@ peft
sentencepiece
seqeval
tensorboard
torch
torchvision
torch==2.4.1
torchvision==0.19.1
transformers[torch]
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
5 changes: 3 additions & 2 deletions openfl-workspace/torch_template/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Set your workspace's requirements here
torch
torchvision
setuptools>=65.5.1
torch==2.4.1
torchvision==0.19.1
5 changes: 3 additions & 2 deletions openfl-workspace/torch_unet_kvasir/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
setuptools>=65.5.1
scikit-image==0.24.0
torch==2.3.1
torchvision==0.18.1
torch==2.4.1
torchvision==0.19.1
4 changes: 3 additions & 1 deletion openfl/interface/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@


"""Workspace module."""
import os

os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'stdlib'
tanwarsh marked this conversation as resolved.
Show resolved Hide resolved

import logging
import os
import shutil
import subprocess # nosec
import sys
Expand Down
Loading