This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
Initial support for Google Colaboratory #1192
Closed
Closed
Conversation
This file contains 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
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
Philipturner/resurrection
Allow compilation on current nightly Swift
Minor cleanups
* Suppress compiler warnings
This was an accident. I meant to make the PR to s4tf/s4tf:main. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Allows the head branch of Swift for TensorFlow to execute Swift package tests in a Google Colab environment. This means using the old TF 2.4 binary, which is slightly API-incompatible with TF 2.9. Some operators in the
_Raw
namespace will cause a runtime crash (outlined) below, although nothing in the public API should crash, unless it is deprecated (likeDataset
).metadata
parameter. One example is_Raw.tensorSliceDataset
, which was used in Swift package tests. To work around this, add-Xswiftc -DFALLBACK_X10_BINARY
when running tests on the old X10 binary.TensorFlowIndex
(Int32
andInt64
) toTensorFlowInteger
(all Swift integer types).