gpt-2-cloud-run icon indicating copy to clipboard operation
gpt-2-cloud-run copied to clipboard

Cloud Build workflow could be less janky

Open minimaxir opened this issue 6 years ago • 0 comments

Copying an entire GCS bucket / creating a new bucket just for copying it is not ideal. Uploading app.py and the Dockerfile to the same bucket is also somewhat janky.

Possible alternate workflow:

  • Copy only the specified checkpoint folder to the Cloud Build /workspace working directory
  • If the specified checkpoint folder is not named correctly, rename it. This allows multiple folders in a bucket.
  • Upload app.py, Dockerfile, and friends from the local machine with the build CLI command

It may be helpful to include sanity checking steps as well if doing this workflow to check for the presence of filed before the Docker build.

minimaxir avatar May 07 '19 15:05 minimaxir