issue/1320 - support InfiniOps standalone InfiniRT in InfiniCore#1327
Draft
voltjia wants to merge 1 commit into
Draft
issue/1320 - support InfiniOps standalone InfiniRT in InfiniCore#1327voltjia wants to merge 1 commit into
voltjia wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds InfiniCore build/runtime support for the InfiniOps standalone InfiniRT integration from InfiniTensor/InfiniOps#644.
Fixes #1320.
Root Cause
After InfiniOps moves to standalone InfiniRT, InfiniCore consumers need to see the same installed InfiniOps public headers and runtime libraries that
libinfiniops.sowas built with.The previous integration could still compile against InfiniOps source/build-tree headers and libraries directly. That is fragile with the exported
Operator::Callboundary, and it can also mix InfiniCore's ownlibinfinirt.sowith InfiniOps' standalonelibinfinirt.soat runtime.Changes
--infinirt-root/INFINI_RT_ROOTsupport for InfiniOps builds.infinicore_cpp_apiconsume installed InfiniOps headers/libs from${INFINI_ROOT}instead ofsubmodules/InfiniOps/srcor the InfiniOps build tree.libinfiniops_infinirt.soand patchlibinfiniops.soto depend on that private SONAME, avoiding ABI/runtime mixing with InfiniCore's ownlibinfinirt.so._infinicorepackaging in sync by shippinglibinfiniops.soand the private InfiniOps InfiniRT runtime.Validation
Validated on
ssh nvidiawith imageaccelerator-dev/nvidia:latestusing:issue/1320/infinirt-ops644atc80689e3feat/infinirt_runtimeat94c7bc0Checks performed:
InfiniLM inference also completed successfully with Qwen3-0.6B on NVIDIA:
Notes:
fmtlink workaround in this validation environment.CUTLASS_ROOTto point atthird_party/flash-attention/csrc/cutlassin this environment.