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

Remove Package.resolved and add a typealias #316

Merged
merged 3 commits into from
Jul 3, 2020
Merged

Remove Package.resolved and add a typealias #316

merged 3 commits into from
Jul 3, 2020

Conversation

texasmichelle
Copy link
Contributor

This week, the S4TF team encountered several failures building toolchains:

  1. Outdated Package.resolved in swift/FastaiNotebook_11_imagenette.
  2. A regression in ParameterlessLayer caused by a change in type inference behavior in apple/swift#32578.

This PR includes two workarounds that unblock toolchain builds:

  1. Remove Package.resolved (swift-apis/1036). Since this file is regenerated on build, it's often not necessary to include in source control.
  2. Add a typealias to instances conforming to ParameterlessLayer, which was effective in swift-apis and swift-models (see tensorflow/swift-apis#1037).

I'm happy to create an additional PR to remove the other Package.resolved files in this repo and add to .gitignore, if desired.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

Review Jupyter notebook visual diffs & provide feedback on notebooks.


Powered by ReviewNB

@saeta
Copy link
Contributor

saeta commented Jul 3, 2020

Note: the CI failures appear to be unrelated (and present in a variety of past merged PRs), so I'm going to go ahead and merge this in. Thanks @texasmichelle !

@saeta saeta merged commit 4a33cb2 into fastai:master Jul 3, 2020
@texasmichelle texasmichelle changed the title Resolve Swift toolchain build errors Remove Package.resolved and add a typealias Jul 3, 2020
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.

2 participants