Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Remove outdated Package.resolved from fastai_dev #1036

Merged
merged 1 commit into from
Jul 3, 2020
Merged

Remove outdated Package.resolved from fastai_dev #1036

merged 1 commit into from
Jul 3, 2020

Conversation

texasmichelle
Copy link
Member

An outdated Package.resolved in fastai/fastai_dev is causing a failure in toolchain builds.

Package.resolved file is corrupted or malformed
Step 32/43 : WORKDIR /fastai_dev/swift/FastaiNotebook_11_imagenette
 ---> Running in 94f549eccc16
Removing intermediate container 94f549eccc16
 ---> dd4a74c26cb2
Step 33/43 : RUN /swift-tensorflow-toolchain/usr/bin/swift build
 ---> Running in 1c64bb616eca
�[91merror: Package.resolved file is corrupted or malformed; fix or delete the file to continue
�[0mThe command '/bin/sh -c /swift-tensorflow-toolchain/usr/bin/swift build' returned a non-zero code: 1

To resolve, remove this file before building FastaiNotebook_11_imagenette.

I'll create an upstream PR to address in fastai/fastai_dev.

Copy link
Contributor

@shabalind shabalind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@texasmichelle texasmichelle merged commit d70474d into tensorflow:master Jul 3, 2020
@texasmichelle texasmichelle deleted the dockerfile branch July 3, 2020 16:35
saeta pushed a commit to fastai/fastai_dev that referenced this pull request Jul 3, 2020
This week, the S4TF team encountered several failures building toolchains:

1. Outdated Package.resolved in [swift/FastaiNotebook_11_imagenette](https://github.com/fastai/fastai_dev/blob/master/swift/FastaiNotebook_11_imagenette/Package.resolved).
2. A regression in `ParameterlessLayer` caused by a change in type inference behavior in [swiftlang/swift#32578](swiftlang/swift#32578).

This PR includes two workarounds that unblock toolchain builds:
1. Remove Package.resolved ([swift-apis/1036](tensorflow/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](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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants