Update Paddle examples for Paddle 3.4 - #6446
Conversation
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
|
| Filename | Overview |
|---|---|
| docs/examples/use_cases/paddle/resnet50/train.py | Unconditionally selects legacy static mode before Paddle imports, fully addressing the prior inherited-PIR-mode finding. |
| docs/examples/use_cases/paddle/tsm/infer.py | Selects legacy static mode before importing Paddle for the direct TSM inference entrypoint. |
| docs/examples/use_cases/paddle/resnet50/program.py | Adds Paddle 3.4-compatible static graph, execution strategy, and label-smoothed loss handling. |
| dali/python/nvidia/dali/plugin/paddle.py | Adds a Paddle 3.4 fallback for obtaining recursive LoD sequence lengths. |
| dali/test/python/test_fw_iterators.py | Adds expected-value coverage for clipping dense and LoD Paddle tensors. |
| qa/setup_packages.py | Updates Paddle package resolution for the supported CUDA configurations. |
Reviews (12): Last reviewed commit: "Remove unreachable PIR paths from TSM ex..." | Re-trigger Greptile
|
@greptile review |
|
CI MESSAGE: [61571746]: BUILD STARTED |
|
CI MESSAGE: [61571746]: BUILD FAILED |
|
CI MESSAGE: [61624261]: BUILD STARTED |
|
CI MESSAGE: [61624261]: BUILD FAILED |
cf99192 to
162f6bd
Compare
|
CI MESSAGE: [61701783]: BUILD STARTED |
|
CI MESSAGE: [61701783]: BUILD FAILED |
|
CI MESSAGE: [61806978]: BUILD STARTED |
162f6bd to
48a70d0
Compare
- makes PaddlePaddle examples compatible with verion 3+ - renames tests names to PaddlePaddle to match the upstream naming convention Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
|
CI MESSAGE: [61807198]: BUILD STARTED |
|
CI MESSAGE: [61807198]: BUILD FAILED |
48a70d0 to
32faa0b
Compare
|
CI MESSAGE: [61839039]: BUILD STARTED |
|
CI MESSAGE: [61839039]: BUILD PASSED |
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
80ac857 to
18a9073
Compare
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
c685e1f to
9476720
Compare
9476720 to
964ce78
Compare
|
CI MESSAGE: [61932660]: BUILD STARTED |
|
CI MESSAGE: [61932660]: BUILD PASSED |
|
CI MESSAGE: [61952959]: BUILD STARTED |
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
|
CI MESSAGE: [61954229]: BUILD STARTED |
|
CI MESSAGE: [61954241]: BUILD STARTED |
|
CI MESSAGE: [61954229]: BUILD PASSED |
|
CI MESSAGE: [61954241]: BUILD PASSED |
Category:
Bug fix
Description:
Updates the Paddle TSM inference and ResNet50 training examples for Paddle 3.4 while retaining the Paddle 2.6.1 legacy-static path.
The examples select legacy static graph mode before Paddle is imported, avoid static APIs removed or incompatible in Paddle 3.4, preserve the published TSM checkpoint parameter names, and update the CUDA 13 QA dependency to
paddlepaddle-gpu==3.4.0.Additional information:
Affected modules and functionalities:
Key points relevant for the review:
ExecutionStrategy, and label-smoothed loss construction.Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A