Giter VIP home page Giter VIP logo

Comments (7)

graviraja avatar graviraja commented on July 26, 2024

Here S3 is for remote storage of the trained models. It can be substituted with any of the remote storage. DVC supports the following ones: Remote storages. Based on your requirement you can change the dockerfile. Once it is done, the Github Action should contain necessary credentials to fetch the model from remote location.

from mlops-basics.

hihunjin avatar hihunjin commented on July 26, 2024

Oh sorry for the misunderstanding.

In this Deployment section, you said, I can use on-prem. Is there any guidance for this?

from mlops-basics.

graviraja avatar graviraja commented on July 26, 2024

If I understand correctly, you want to store the models in your machine instead of S3 and want github actions to read the model from the machine. If your local machine is hosted somewhere means, you can use the SSH remote config in DVC. And in github actions you can do the same by configuring the credentials. If the local machine is a personal system that is not hosted anywhere means you can use the local remote config in DVC. For this, I am quite sure about configuring Github Action.

from mlops-basics.

hihunjin avatar hihunjin commented on July 26, 2024

Mhm That is not what I want to do.

I want to use my own cpu, ram machines (let's say on-prems) when model is running. Storage is also in my machine.

from mlops-basics.

graviraja avatar graviraja commented on July 26, 2024

You can use local remote for that in dvc. Configuring github action would be challenging task to do. Since it needs to access your machine to download the model and create the docker image. You can try a different hook instead of on: [push] hook. There are pre-commit hooks that will run before pushing to github. That will create the Docker image directly from the local model.

from mlops-basics.

hihunjin avatar hihunjin commented on July 26, 2024

I see. Thanks a lot.

Then how can I configure my github action to give a permission to access my machine? is it possible?
If there's any reference, please share it.

from mlops-basics.

graviraja avatar graviraja commented on July 26, 2024

That you need to explore. I haven't worked on it. Either try working on it (or) you can create the docker image yourself or using some script (makefile) and then continue with other steps.

from mlops-basics.

Related Issues (17)

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.