Giter VIP home page Giter VIP logo

autopilot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

autopilot's Issues

Step missing from the Helm instructions?

@cmisale I tried going through a helm install on the 2-node dev cluster but kept running into the same issue: Error: Chart.yaml file is missing Can you help identify what I am doing wrong? Thanks!

Here's are the steps I took, following the instructions of the README. I tried to first uninstall and then install the autopilot daemon via the helm-charts:

jcadden@XXXXX:autopilot $ helm uninstall autopilot -n default
release "autopilot" uninstalled
jcadden@XXXXX:autopilot $ helm repo add autopilot git+https://github.com/IBM/autopilot.git@autopilot-daemon/helm-charts/autopilot?ref=gh-pages
"autopilot" has been added to your repositories
jcadden@XXXXX:autopilot $ cd ../
jcadden@XXXXX:git $ helm upgrade autopilot autopilot/autopilot-daemon --install -n default --set image.tag=vjcadden-dev -f  ~/autopilot-config.yml
Release "autopilot" does not exist. Installing it now.
Error: Chart.yaml file is missing

The config file looks like this:

 $ cat ~/autopilot-config.yml
namespace:
  create: true
  name: autopilot

image:
  repository: quay.io/autopilot/autopilot

affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: network.nvidia.com/operator.mofed.wait
          operator: DoesNotExist
      - matchExpressions:
        - key: network.nvidia.com/operator.mofed.wait
          operator: In
          values:
          - "false"

Operator deploy

Autopilot is currently deployed using Helm. If this proves limiting, we may want to adopt an operator model.

Is the `all` target in `runAllTestsLocal` accurate and/or necessary?

I noticed the all target in the switch statement of runAllTestsLocal does not execute runGPUMem Is this missing or is an intentional omission?

Code-wise, the all target duplicates a decent amount of code that I would like to clean up.

  • Can we remove all as an option and require the list to be explicit?
    or
  • Can we make all run all tests incl. runGPUMem?

Web dashboard / control center

A web-based dashboard, accessible through a OCP/K8s login, that provides controls for autopilots health checks to be configured and launched.

Entrypoint for smoke tests

We need an entrypoint/healtz to assess autopilot is healthy.
It might even just run the briefings.sh script.
Preferred output should be json format.

CPU & GPU data columns in the Prometheus

Cpu model and GPU model data points in needed prometheus outputs

autopilot-daemon/pkg/util/global.go:L22

Expand the HchecksGauge with cpu and gpu columns

Pull the CPU and GPU values from os.Getenv ??

Pre-flight test launch

We need the ability to automatically launch a configurable set of test before the job starts. This could happen through an admission webhook, with object labels, or manually via an or API call or future dashboard (#2) . The job should not begin if the pre-flight test has failures.

Pre-flight test can include

  • PCI-link
  • #3
  • dcgmi โ€“r 3

Node labels

Add the ability for autopilot to add/remove labels on its node based on the results of tests.

e.g., autopilot-node-status=healthy, autopilot-node-status=unhealthy autopilot-node-status=unknown

internal methods (brainstorming)

The below assume a single autopilot label per node

type label_num int

labelMap := map[label_num] string{
   0: "healthy"
   1: "unhealthy"
   2: "unknown"
   ... // more? 
}

func AddLabel(label_num) 
func ClearLabel() 
func GetLabel() label_num 
func printLabel(label_num) string

NCCL Tests

Add the ability for Autopilot to perform pairwise NCCL tests across all the active GPU nodes in the cluster. Pairwise NCCL tests are use to identify bad nodes. This should be available as a pre-flight test (#1)

Autopilot will need the ability to launch new pods on specific nodes (cluster-level awareness)
https://github.com/NVIDIA/nccl-tests

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.