Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial compatibility with stock toolchain #722

Merged
merged 3 commits into from Dec 17, 2020

Conversation

BradLarson
Copy link
Contributor

@BradLarson BradLarson commented Dec 16, 2020

This provides the needed Numerics dependency, as well as missing _Differentiation imports, to support building while using a stock toolchain with swift-apis. For now, the AnyLayer type has been gated off from the stock toolchain until it can be reworked to support the new VectorProtocol.

To build this successfully under Swift Package Manager with the stock toolchain, you'll need to provide the TENSORFLOW_USE_STANDARD_TOOLCHAIN flag:

swift build -Xswiftc -D TENSORFLOW_USE_STANDARD_TOOLCHAIN

This is needed to avoid a conflict caused by the use of Numerics in the stock toolchain. CMake should detect this automatically, and does not require any additional command-line options.

@BradLarson BradLarson marked this pull request as ready for review December 17, 2020 18:13
@BradLarson BradLarson merged commit 244a235 into tensorflow:main Dec 17, 2020
@BradLarson BradLarson deleted the stock branch December 17, 2020 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants