mlx icon indicating copy to clipboard operation
mlx copied to clipboard

Rework bootstrapper

Open ckadner opened this issue 4 years ago • 4 comments
trafficstars

$ grep -o -h -E "http.*yaml" bootstrapper/configmap.yaml | \
  while read url; do \
    curl -s -o /dev/null -w "%{http_code}" $url; echo ": ${url}"; \
  done | grep --color "404"
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-audio-classifier.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-breast-cancer-mitosis-detector.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-facial-age-estimator.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-image-segmenter.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-news-text-generator.yaml
404: https://raw.githubusercontent.com/machine-learning-exchange/katalog/main/model-samples/max-sports-video-classifier.yaml

ckadner avatar May 06 '21 19:05 ckadner

@ckadner Since we already have the API to populate the initial catalogs, can we move the bootstrapper init functions to the API so we don't have to maintain another configmap?

Tomcli avatar May 06 '21 20:05 Tomcli

We could just keep the bootstrapper/catalog_upload.json and add a small Python script to call the API.

I would then remove all of these files:

  • bootstrapper/bootstrap.yaml
  • bootstrapper/configmap.yaml
  • bootstrapper/Dockerfile
  • bootstrapper/start.py

And rewrite the README.md

If you agree I will create a PR for that.

ckadner avatar May 06 '21 20:05 ckadner

sure

Tomcli avatar May 06 '21 20:05 Tomcli

@ckadner I would like to work on this issue.

GiriSrini avatar Oct 13 '21 22:10 GiriSrini