-
Notifications
You must be signed in to change notification settings - Fork 465
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][Inference][EC2] Enable PT2.5.1 Autopatch #4421
Changes from all commits
c180c38
6ac56f5
7f12b47
010fd40
c9c8ba6
0d78bd5
1091b7b
47c9689
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
buildspec_pointer: buildspec-2-5-ec2.yml | ||
buildspec_pointer: buildspec-2-5-sm.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"captum": { | ||
"version_specifier": "==0.6.0", | ||
"skip": "True" | ||
}, | ||
"torchaudio": { | ||
"version_specifier": "==2.5.1+cpu", | ||
"skip": "True" | ||
}, | ||
"torchtext": { | ||
"version_specifier": "==0.18.0+cpu", | ||
"skip": "True" | ||
}, | ||
"torchvision": { | ||
"version_specifier": "==0.20.1+cpu", | ||
"skip": "True" | ||
}, | ||
"torchserve": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"requests": { | ||
"version_specifier": ">=2.32.3" | ||
}, | ||
"torch-model-archiver": { | ||
"version_specifier": "==0.12.0" | ||
} | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"captum": { | ||
"version_specifier": "==0.6.0", | ||
"skip": "True" | ||
}, | ||
"torchaudio": { | ||
"version_specifier": "==2.5.1+cpu", | ||
"skip": "True" | ||
}, | ||
"torchtext": { | ||
"version_specifier": "==0.18.0+cpu", | ||
"skip": "True" | ||
}, | ||
"torchvision": { | ||
"version_specifier": "==0.20.1+cpu", | ||
"skip": "True" | ||
}, | ||
"requests": { | ||
"version_specifier": ">=2.32.3" | ||
}, | ||
"torchserve": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"torch-model-archiver": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"sagemaker-pytorch-inference": { | ||
"version_specifier": "==2.0.25" | ||
} | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For CPU and GPU files, actually there is no vuln when I removed this version pin, I keep it there is because Sally suggests it doesn't matter to have it with the vuln number in the comments. In this situation, should I still add it as core package? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"captum": { | ||
"version_specifier": "==0.6.0", | ||
"skip": "True" | ||
}, | ||
"torchaudio": { | ||
"version_specifier": "==2.5.1+cu124", | ||
"skip": "True" | ||
}, | ||
"torchtext": { | ||
"version_specifier": "==0.18.0+cu124", | ||
"skip": "True" | ||
}, | ||
"torchvision": { | ||
"version_specifier": "==0.20.1+cu124", | ||
"skip": "True" | ||
}, | ||
"requests": { | ||
"version_specifier": ">=2.32.3" | ||
}, | ||
"torchserve": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"torch-model-archiver": { | ||
"version_specifier": "==0.12.0" | ||
} | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"captum": { | ||
"version_specifier": "==0.6.0", | ||
"skip": "True" | ||
}, | ||
"torchaudio": { | ||
"version_specifier": "==2.5.1+cu124", | ||
"skip": "True" | ||
}, | ||
"torchtext": { | ||
"version_specifier": "==0.18.0+cu124", | ||
"skip": "True" | ||
}, | ||
"torchvision": { | ||
"version_specifier": "==0.20.1+cu124", | ||
"skip": "True" | ||
}, | ||
"requests": { | ||
"version_specifier": ">=2.32.3" | ||
}, | ||
"torchserve": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"torch-model-archiver": { | ||
"version_specifier": "==0.12.0" | ||
}, | ||
"sagemaker-pytorch-inference": { | ||
"version_specifier": "==2.0.25" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you forgot to pin
requests>=2.23.3
. CPU, GPU