You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "ReemaAlzaid (via GitHub)" <gi...@apache.org> on 2026/06/26 15:29:57 UTC

[PR] [VL] Validate cuDF whole stage even when GPU table scan is enabled [gluten]

ReemaAlzaid opened a new pull request, #12383:
URL: https://github.com/apache/gluten/pull/12383

   ## What changes are proposed in this pull request?
   
   `CudfNodeValidationRule` decides which whole stage transformers can run on the cuDF/GPU backend. That tag is used for stage level GPU offload, GPU shuffle, and node naming.
   
   Before this change, when `spark.gluten.sql.columnar.backend.velox.cudf.enableTableScan=true`, we were tagging every stage for GPU offload without running native validation, even when `spark.gluten.sql.columnar.backend.velox.cudf.enableValidation=true`. That was different from the `enableTableScan=false` path, where validation is still applied.
   
   This PR makes the validation behavior consistent. We now validate the stage regardless of `enableTableScan`. The native validator already handles `TableScan`, so stages with scans can still offload, but only if the rest of the operators are supported by cuDF.
   
   I also moved the decision logic into a small `decideOffload(...)` helper so it can be unit tested without needing a GPU. No new configs are added.
   
   ## How was this patch tested?
   
   * Added `CudfNodeValidationRuleSuite`, with 4 passing tests covering the offload decision matrix.
   * Added a regression test for `enableTableScan=true` where a cuDF-unsupported stage should not be force-offloaded.
   * Manually tested on GPU with TPC-H using `cudf=true` and `enableTableScan=true`. Supported stages keep the same behavior


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [VL] Validate cuDF whole stage even when GPU table scan is enabled [gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #12383:
URL: https://github.com/apache/gluten/pull/12383#issuecomment-5433850962

   This PR was auto-closed because it has been stalled for 10 days with no activity. Please feel free to reopen if it is still valid. Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [VL] Validate cuDF whole stage even when GPU table scan is enabled [gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #12383: [VL] Validate cuDF whole stage even when GPU table scan is enabled
URL: https://github.com/apache/gluten/pull/12383


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [VL] Validate cuDF whole stage even when GPU table scan is enabled [gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #12383:
URL: https://github.com/apache/gluten/pull/12383#issuecomment-5310934340

   This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org