Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Model doesn't run after submit - local compute

Open
#1,938 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
machine-learning, python

Research direction

Start with the referenced example and its train.py, then reproduce the local target submission using the shown Workspace, Environment, ScriptRunConfig, and Experiment setup. Check why the run remains in “starting” and whether churn-model.pkl is expected in the local directory; done means the expected local execution behavior and artifact location are documented or corrected.

Written by the indexing model from the issue text.

Description

I'm running the following from the example:

from azureml.core import Workspace
from azureml.core.experiment import Experiment
from azureml.core.environment import Environment
from azureml.core.conda_dependencies import CondaDependencies
from azureml.core import ScriptRunConfig, Experiment

ws = Workspace.get(name="ws_name", subscription_id='id', resource_group='rg')
myenv = Environment(name="myenv")
runconfig = ScriptRunConfig(source_directory="../src", script="train.py")
conda_dep = CondaDependencies()

conda_dep.add_conda_package("numpy==1.17.0")
conda_dep.add_pip_package("sklearn")
conda_dep.add_pip_package("joblib")

myenv.python.conda_dependencies=conda_dep

exp = Experiment(name="test-experiment", workspace = ws)
runconfig.run_config.target = "local"
runconfig.run_config.environment = myenv
run = exp.submit(runconfig)

train.py is the same as shown in the Tutorial. I'm expecting a churn-model.pkl to be saved in my local directory. However, that doesn't happen. When I check the Experiment section on the AzureML dashboard, the status shows 'starting'.

Or do I need an additional command in order to actually launch the job?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/MachineLearningNotebooks

All issues in Azure/MachineLearningNotebooks

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.