You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had been maintaining a temporary branch during the holiday commit freeze during builds of the Swift for TensorFlow toolchain, and after switching back to main after the holidays we're now experiencing an assertion failure during the Differentiation SILModuleTransform for both the tests on tensorflow/swift-apis and the models within tensorflow/swift-models.
The assertion is the same in both cases, and produces the following failure:
While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for TensorFlowTests.TensorFlowTests)
While running pass #9129 SILModuleTransform "Differentiation".
While ...in SIL function "@$s15TensorFlowTests05LayerC0C31testBidirectionalLSTMStackMergeyyFyyXEfU_".
for expression at [/swift-apis/Tests/TensorFlowTests/LayerTests.swift:4130:28 - line:4225:5] RangeText="{
var lstm = BidirectionalLSTM(
LSTMCell(inputSize: 3, hiddenSize: 4),
mergeFunction: LSTMCell.State.stack
)
on SIL function "@$s15TensorFlowTests05LayerC0C31testBidirectionalLSTMStackMergeyyFyyXEfU_0aB00A0VySfGSayAHG_AE8LSTMCellV5StateVySf_GANtcfU4_Tf2nnni_n".
for expression at [/swift-apis/Tests/TensorFlowTests/LayerTests.swift:4197:83 - line:4204:9] RangeText="{
inputs, initialForwardLayerState, initialBackwardLayerState in
lstm.lastOutput(
from: inputs,
initialForwardLayerState: initialForwardLayerState,
initialBackwardLayerState: initialBackwardLayerState
).hidden.sum()
"
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x57c9594]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x57c702e]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x57c977c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x128a0)[0x7f9099b458a0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f90983e7f47]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f90983e98b1]
/lib/x86_64-linux-gnu/libc.so.6(+0x3042a)[0x7f90983d942a]
/lib/x86_64-linux-gnu/libc.so.6(+0x304a2)[0x7f90983d94a2]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xfa910e]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xfa91cf]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xf4c484]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xf52431]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xf4ddd3]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xf4b206]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaf005f]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaf27d1]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaecd78]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaecd2b]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xb09c5a]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaf7cb4]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaecf45]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0xaf9c81]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x697e79]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x50d8ed]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x50d22c]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x500d1c]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x49c103]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f90983cab97]
/swift-tensorflow-toolchain/usr/bin/swift-frontend[0x49bc1a]
To reproduce, I believe this should be reliably triggered by cloning tensorflow/swift-apis and building it using a current Swift.org toolchain via CMake:
cmake -B out -G Ninja -S swift-apis -D CMAKE_BUILD_TYPE=Release
cmake --build out
The text was updated successfully, but these errors were encountered:
@rxwei - Sorry for the delay. I believe this has fixed the issue, but we're experiencing another assertion failure (`'fn->getLoweredFunctionType() == type'`) so I can't be completely certain that the new failure isn't masking the original one. My guess is that this has been fixed, and I'll file a separate issue for the new failure.
Additional Detail from JIRA
md5: 8a5dc43d2e43f24ebdc8b82a69c1ed37
Issue Description:
We had been maintaining a temporary branch during the holiday commit freeze during builds of the Swift for TensorFlow toolchain, and after switching back to
main
after the holidays we're now experiencing an assertion failure during the Differentiation SILModuleTransform for both the tests on tensorflow/swift-apis and the models within tensorflow/swift-models.The assertion is the same in both cases, and produces the following failure:
To reproduce, I believe this should be reliably triggered by cloning tensorflow/swift-apis and building it using a current Swift.org toolchain via CMake:
The text was updated successfully, but these errors were encountered: