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

installing CML #404

Open
1 task
casperdcl opened this issue Nov 28, 2022 · 0 comments
Open
1 task

installing CML #404

casperdcl opened this issue Nov 28, 2022 · 0 comments
Assignees
Labels
C: guide Content of /doc/user-guide documentation Markdown files external-request You asked, we did

Comments

@casperdcl
Copy link
Contributor

casperdcl commented Nov 28, 2022

v1

graph TD
    start[How to Install CML] --> Dq{Using your own Docker image?}
    Dq-->|Yes| Gq{Using GitHub?}
    Gq-->|Yes| SC["iterative/setup-cml@v1"]
    Gq-->|No| MI[cml.dev/doc/install]
    Dq-->|No| Nq{Using a GPU?}
    Nq -->|Yes| DG[iterativeai/cml:0-dvc2-base1-gpu]
    Nq -->|No| D[iterativeai/cml:0-dvc2-base1]

    click SC "https://github.com/iterative/setup-cml" _blank
    click MI "https://cml.dev/doc/install" _blank
    click D "https://cml.dev/doc/self-hosted-runners#docker-images" _blank
    click DG "https://cml.dev/doc/self-hosted-runners#docker-images" _blank

[wip] helio v1

graph TD
    start[Install CML] --> Gq{GitHub Actions?}
    Gq-->|Yes| SC["uses: iterative/setup-cml@v1"]
    Gq-->|No| Nq{Have npm?}
    Nq-->|Yes| Mn["npm install -g @dvcorg/cml"]
    Nq-->|No| Mc["curl https://cml.sh/ | sh"]

[wip] helio v2

graph TD
    start[How to use CML with containers] --> Sq{Just trying out CML?}
    Sq-->|Yes| SC["use iterativeai/cml container images"]
    Sq-->|No| Nq{Is dependency install network-bound?}
    Nq-->|No| Mn["Build your own container image"]
    Nq-->|Yes| Mc["Use a standard base image"]
    Mn --> Gq{Do you need GPU support?}
    Mc --> Gq
    Gq-->|Yes| Mv["e.g. nvidia/cuda:11.2.1-cudnn8-runtime-ubuntu20.04"]
    Gq-->|No| Mu["e.g. ubuntu"]
@casperdcl casperdcl self-assigned this Nov 28, 2022
@casperdcl casperdcl added documentation Markdown files C: guide Content of /doc/user-guide external-request You asked, we did labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: guide Content of /doc/user-guide documentation Markdown files external-request You asked, we did
Projects
None yet
Development

No branches or pull requests

1 participant