GithubHelp home page GithubHelp logo

Comments (4)

KaixuYang avatar KaixuYang commented on July 2, 2024

Hi @kenzie-q I'm not familiar with GCP or cloud function. What are the challenges? Is it a linux environment? Would you be able to use the current functions to write to local storage, compress into tar, then upload to cloud storage?
Similarly for loading, get the tar file, unpack it and read it. Does this work for you?

from greykite.

kenzie-q avatar kenzie-q commented on July 2, 2024

Hi @KaixuYang ,

So a cloud function on GCP has a max run time of 10 minutes, and there is no local memory. Therefore we can't use the existing code to read in the model from cloud storage. Writing the model to Cloud storage isn't the issues. I was able to write a function that read all the files and directories to storage. I was also able to edit the existing load function to read from storage, however, it takes longer than 10 minutes to run unfortunately. I'm not sure if there is a way to speed up the process. I'm trying to commit the existing code I have to this repo to be of assistance.

from greykite.

kenzie-q avatar kenzie-q commented on July 2, 2024

The code edit's I've made for overall functionality are in PR #45

from greykite.

KaixuYang avatar KaixuYang commented on July 2, 2024

Hi @kenzie-q Thank you for the detailed info and code contribution. It's great that you find a way to make it work for the GCP use case. However, on one hand, we feed that this change slightly deviates the library's roadmap, and on the other hand we won't be able to test throughly the functionality and maintain it at this time, so we are sorry that we won't be able to accept this pull request. You are welcome to fork the Greykite repo and use the functionality on your use case. Feel free to open a new issue if you have more questions!

Best,
Kaixu

from greykite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.