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

feat: Support uploading local models #779

Merged

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    bfb4f63 View commit details
    Browse the repository at this point in the history
  2. feat: Added the upload_to_gcs utility function

    It can properly upload both files and directories.
    Ark-kun committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    a62c264 View commit details
    Browse the repository at this point in the history
  3. feat: Support staging directories in stage_local_data_in_gcs

    Switched the stage_local_data_in_gcs function to use upload_to_gcs
    Ark-kun committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    cf97d3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd35ac4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d554bbf View commit details
    Browse the repository at this point in the history
  6. Added docstrings

    Ark-kun committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    650b767 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8f61efb View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. Configuration menu
    Copy the full SHA
    8c5448d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bbf2f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    171e737 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f5407e View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    33942da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5febd56 View commit details
    Browse the repository at this point in the history
  3. When user-provided version is not recognized, show warning message in…

    …stead of error message
    Ark-kun committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    439d413 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1064243 View commit details
    Browse the repository at this point in the history
  5. Added missing import

    Ark-kun committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    03f3e80 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. fix: Fixed code after switching from mkdtemp to TemporaryDirectory

    TemporaryDirectory returns object with `.name` when called directly, but returns a path string when used as a context.
    Ark-kun committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    31248d1 View commit details
    Browse the repository at this point in the history
  2. Made the staging bucket name location-specific

    The buckets that we create are regional.
    This prevents errors when some service required regional bucket.
    E.g. "FailedPrecondition: 400 The Cloud Storage bucket of `gs://...` is in location `us`. It must be in the same regional location as the service location `us-central1`."
    We are making the bucket name region-specific since the bucket is regional.
    Ark-kun committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    9dcc39f View commit details
    Browse the repository at this point in the history
  3. Reverted the automatic temporary directory cleanup

    We cannot clean up the directory immediately after calling Model.upload since that call may be asynchronous and return before the model file has been read. The temporary data will be automatically cleaned up by the system later.
    Ark-kun committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    24006fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e8ecce7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b521bde View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Configuration menu
    Copy the full SHA
    b964224 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6039548 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    079e6e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Configuration menu
    Copy the full SHA
    73a4868 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    fc55618 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9138036 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Removed the container image URI generation code as asked by the reviewer

    The `aiplatform.helpers.get_prebuilt_prediction_container_uri` does not support future framework versions yet. See googleapis#779 (comment)
    Ark-kun committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    db65f67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d2e440 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b71234 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab87299 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ced3ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7588d4b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39abcc3 View commit details
    Browse the repository at this point in the history
  8. Reworded some error messages

    Ark-kun committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    af8317b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    624048a View commit details
    Browse the repository at this point in the history
  10. Removed unused imports

    Ark-kun committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    1ab4c9a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fb02072 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    17344da View commit details
    Browse the repository at this point in the history