-
Notifications
You must be signed in to change notification settings - Fork 28
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
📚 Epic: TPI basic scenario #208
Comments
@dmpetrov can we make this basic scenario language agnostic? Instead of requirements or Dockerfile it requires a script to be executed. |
I like the idea of making it language–agnostic at the package level (i.e. requirements.txt, poetry.lock, packrat.lock, ...), but I do see the value of allowing OCI/Docker containers as an alternative to plain scripts. |
This comment has been minimized.
This comment has been minimized.
Python biased (launching train.py) does not allow you to execute dvc cli nor other ML tools based on cli or others valuable programming languages like R, JS... But... whatever |
Agreed! Even if the two of the lock files I mentioned are for Python, the third one is for R, and they're just examples apropos of the epic. My point is that, as you say, plain [shell] scripts are the right abstraction for providing multi–language support, but it would be nice to wrap all that in the deterministic and isolated environment provided by containers. In the most basic use case, we would provide a cached container image with a full–featured environment, and users wouldn't even notice we use containers. If they wish, they could specify a custom container image, instead of a machine image; #146. |
Docker will be a special case of the executor. Gitlab's executor is exactly the same that Im talking about. The goal of the executor is to run a shell script. For that gitlab has several strategies like docker where it provisions the container and runs the script inside, ssh where it connects to an external machine and runs there and of course plain Bash. executor. There is no need to go towards a specific Docker implementation when we can solve it first for a wider scenario. Thats my two cents. But lets formalice our proposals and architectures |
Sure! It should be language agnostic. I added 2nd use case with R to emphasize on this It might be nice to have some features like install |
Are GCP and k8s hard requirements for this basic scenario? |
Not sure how hard are they in the Mohs scale, 😄 but they work and don't seem to be a blocker. |
Closed with #237 |
Goal: get resources from CLI (through TF provider) without using CI/CD.
A user
data directory
to sync to the machine (a dir for input data as well as result/model)specifies(separate epic)requirements.txt
and/orDockerfile
train.py
script and run it thereResults:
data directory
should contain both the input data and the modelSimilar to Python. But no
requirements.txt
Details:
train.py
synchronization is included. More complicated code sync in a separate issue 📚 Epic: Advance code sync #212The text was updated successfully, but these errors were encountered: