Commit 7faf9ce
feature: add p2 deprecation for PT>=1.13 (#3567)
* feat: (squash and push to use git hooks) add p2 deprecation for retrieving pytorch img uri
style: format _validate_instance_deprecation using black
doc: add docstring for _validate_instance_deprecation
doc: update deprecation error string
doc: update docstring for _validate_instance_deprecation
* fix: use Version packaging to compare version
* test: add E1136 to pylintrc disable list
Co-authored-by: Shibo Xing <shibox@amazon.com>1 parent 83b22d3 commit 7faf9ce
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| |||
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
368 | 384 | | |
369 | 385 | | |
370 | 386 | | |
| |||
0 commit comments