executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
examples-conversionConvert TensorFlow, Keras, Estimator, and tutorial examples into TensorFlowOnSpark spark-submit workflow plans.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this operating sub-skill when a user wants to convert or adapt an existing TensorFlow, Keras, Estimator, ResNet, segmentation, or MNIST tutorial into a TensorFlowOnSpark workflow that can be launched with spark-submit.
This sub-skill is a router and checklist. Put low-level API details in the owning sub-skills; use this sub-skill to decide the workflow shape, Spark command, deployment assumptions, and validation signals.
| User intent | Use this file |
|---|---|
| Decide how to wrap existing TensorFlow code for TensorFlowOnSpark | references/conversion-patterns.md |
| Build Keras or Estimator MNIST train, inference, pipeline, or streaming command plans | references/mnist-workflows.md |
| Plan SavedModel inspection, TF Serving, Spark batch inference, local standalone, or YARN deployment | references/deployment-and-serving.md |
| Diagnose failed conversions, missing Spark/JVM/classpath, stalled jobs, input-mode mistakes, SavedModel issues, or serving hazards | references/troubleshooting.md |
| Render a dry-run command plan from caller-supplied paths | scripts/render_spark_submit_plan.py |
TFCluster.run, reservation, TensorBoard, executor count, GPU/resource, shutdown, or TFParallel.run internals, route to the cluster-lifecycle sub-skill.InputMode.SPARK queue semantics, TFNode.DataFeed, one-output-per-input inference, next_batch, batch_results, terminate, or feed timeouts, route to the datafeed-inputmode sub-skill.TFEstimator, TFModel, input/output mappings, and DataFrame transform details, route to the spark-ml-pipelines sub-skill.dfutil, TensorFlow Hadoop jar/classpath, and MNIST row reshaping utilities, route to the dataframes-tfrecords sub-skill.InputMode.TENSORFLOW) or should consume a Spark RDD/DataFrame (InputMode.SPARK).main_fun(args, ctx) or main_fun(argv, ctx) and create a small Spark driver that calls TFCluster.run.spark-submit command with explicit --master, executor/core settings, application script path, cluster size, data/model/export paths, and optional --py-files or --jars.The bundled helper only prints a plan. It does not start Spark, run Docker, download data, remove files, or mutate the host.
python scripts/render_spark_submit_plan.py --help
Use caller-provided concrete paths whenever possible. If reusing shell variables in the printed plan, review quoting before running the rendered command manually.