Giter Site home page Giter Site logo

katib use crd as tail template about katib HOT 8 OPEN

Jerry-yz avatar Jerry-yz commented on June 11, 2024
katib use crd as tail template

from katib.

Comments (8)

tenzen-y avatar tenzen-y commented on June 11, 2024

Thank you for creating this issue. Actually, we removed the option from the katib-controller.
Also, we recently updated the documentation. So, could you re-check the documentation?
Thanks.

from katib.

tenzen-y avatar tenzen-y commented on June 11, 2024

/remove-kind bug

from katib.

Jerry-yz avatar Jerry-yz commented on June 11, 2024

Thank you for creating this issue. Actually, we removed the option from the katib-controller. Also, we recently updated the documentation. So, could you re-check the documentation? Thanks.

thanks, i have other question

trialResources:
- Job.v1.batch
- TFJob.v1.kubeflow.org
- PyTorchJob.v1.kubeflow.org
- MPIJob.v1.kubeflow.org
- XGBoostJob.v1.kubeflow.org
- MXJob.v1.kubeflow.org

this file is a crd in k8s?

from katib.

tenzen-y avatar tenzen-y commented on June 11, 2024

Thank you for creating this issue. Actually, we removed the option from the katib-controller. Also, we recently updated the documentation. So, could you re-check the documentation? Thanks.

thanks, i have other question

trialResources:
- Job.v1.batch
- TFJob.v1.kubeflow.org
- PyTorchJob.v1.kubeflow.org
- MPIJob.v1.kubeflow.org
- XGBoostJob.v1.kubeflow.org
- MXJob.v1.kubeflow.org

this file is a crd in k8s?

The katib-config.yaml is not CRD. That is embedded in configMap here:

configMapGenerator:
- name: katib-config
behavior: create
files:
- katib-config.yaml
options:
disableNameSuffixHash: true

from katib.

Jerry-yz avatar Jerry-yz commented on June 11, 2024

Thank you for creating this issue. Actually, we removed the option from the katib-controller. Also, we recently updated the documentation. So, could you re-check the documentation? Thanks.

thanks, i have other question

trialResources:
- Job.v1.batch
- TFJob.v1.kubeflow.org
- PyTorchJob.v1.kubeflow.org
- MPIJob.v1.kubeflow.org
- XGBoostJob.v1.kubeflow.org
- MXJob.v1.kubeflow.org

this file is a crd in k8s?

The katib-config.yaml is not CRD. That is embedded in configMap here:

configMapGenerator:
- name: katib-config
behavior: create
files:
- katib-config.yaml
options:
disableNameSuffixHash: true

the yaml file kind filed is katib-config, whether it should equal configMap

from katib.

tenzen-y avatar tenzen-y commented on June 11, 2024

Yes, that is configMap. The installation command builds the configMap below:

apiVersion: v1
data:
  katib-config.yaml: |
    ---
    apiVersion: config.kubeflow.org/v1beta1
    kind: KatibConfig
    init:
      certGenerator:
        enable: true
      controller:
        webhookPort: 8443
        trialResources:
          - Job.v1.batch
          - TFJob.v1.kubeflow.org
          - PyTorchJob.v1.kubeflow.org
          - MPIJob.v1.kubeflow.org
          - XGBoostJob.v1.kubeflow.org
          - MXJob.v1.kubeflow.org
    runtime:
      metricsCollectors:
        - kind: StdOut
          image: docker.io/kubeflowkatib/file-metrics-collector:latest
        - kind: File
          image: docker.io/kubeflowkatib/file-metrics-collector:latest
        - kind: TensorFlowEvent
          image: docker.io/kubeflowkatib/tfevent-metrics-collector:latest
          resources:
            limits:
              memory: 1Gi
      suggestions:
        - algorithmName: random
          image: docker.io/kubeflowkatib/suggestion-hyperopt:latest
        - algorithmName: tpe
          image: docker.io/kubeflowkatib/suggestion-hyperopt:latest
        - algorithmName: grid
          image: docker.io/kubeflowkatib/suggestion-optuna:latest
        - algorithmName: hyperband
          image: docker.io/kubeflowkatib/suggestion-hyperband:latest
        - algorithmName: bayesianoptimization
          image: docker.io/kubeflowkatib/suggestion-skopt:latest
        - algorithmName: cmaes
          image: docker.io/kubeflowkatib/suggestion-goptuna:latest
        - algorithmName: sobol
          image: docker.io/kubeflowkatib/suggestion-goptuna:latest
        - algorithmName: multivariate-tpe
          image: docker.io/kubeflowkatib/suggestion-optuna:latest
        - algorithmName: enas
          image: docker.io/kubeflowkatib/suggestion-enas:latest
          resources:
            limits:
              memory: 400Mi
        - algorithmName: darts
          image: docker.io/kubeflowkatib/suggestion-darts:latest
        - algorithmName: pbt
          image: docker.io/kubeflowkatib/suggestion-pbt:latest
          persistentVolumeClaimSpec:
            accessModes:
              - ReadWriteMany
            resources:
              requests:
                storage: 5Gi
      earlyStoppings:
        - algorithmName: medianstop
          image: docker.io/kubeflowkatib/earlystopping-medianstop:latest
kind: ConfigMap
metadata:
  name: katib-config
  namespace: kubeflow

from katib.

andreyvelich avatar andreyvelich commented on June 11, 2024

Thank you for testing Tekton Pipeline with Katib integrations @Jerry-yz!
@tenzen-y suggested the right place to update the Katib Config to watch for PipelineRun.v1beta1.tekton.dev
It would be nice if you could submit PR to update this guide as well: https://github.com/kubeflow/katib/tree/master/examples/v1beta1/tekton
Unfortunately, it has legacy information.

from katib.

Jerry-yz avatar Jerry-yz commented on June 11, 2024

Thank you for testing Tekton Pipeline with Katib integrations @Jerry-yz! @tenzen-y suggested the right place to update the Katib Config to watch for PipelineRun.v1beta1.tekton.dev It would be nice if you could submit PR to update this guide as well: https://github.com/kubeflow/katib/tree/master/examples/v1beta1/tekton Unfortunately, it has legacy information.

i pull request

from katib.

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.