Skip to content

Commit f80512a

Browse files
authored
Merge pull request Azure#1056 from wchill/wchill-patch-1
Update README.md with KeyError: brand workaround
2 parents 8dd52ee + b541116 commit f80512a

File tree

1 file changed

+9
-0
lines changed
  • how-to-use-azureml/automated-machine-learning

1 file changed

+9
-0
lines changed

how-to-use-azureml/automated-machine-learning/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,15 @@ You may check the version of tensorflow and uninstall as follows
230230
2) enter `pip freeze` and look for `tensorflow` , if found, the version listed should be < 1.13
231231
3) If the listed version is a not a supported version, `pip uninstall tensorflow` in the command shell and enter y for confirmation.
232232

233+
## KeyError: 'brand' when running AutoML on local compute or Azure Databricks cluster**
234+
If a new environment was created after 10 June 2020 using SDK 1.7.0 or lower, training may fail with the above error due to an update in the py-cpuinfo package. (Environments created on or before 10 June 2020 are unaffected, as well as experiments run on remote compute as cached training images are used.) To work around this issue, either of the two following steps can be taken:
235+
236+
1) Update the SDK version to 1.8.0 or higher (this will also downgrade py-cpuinfo to 5.0.0):
237+
`pip install --upgrade azureml-sdk[automl]`
238+
239+
2) Downgrade the installed version of py-cpuinfo to 5.0.0:
240+
`pip install py-cpuinfo==5.0.0`
241+
233242
## Remote run: DsvmCompute.create fails
234243
There are several reasons why the DsvmCompute.create can fail. The reason is usually in the error message but you have to look at the end of the error message for the detailed reason. Some common reasons are:
235244
1) `Compute name is invalid, it should start with a letter, be between 2 and 16 character, and only include letters (a-zA-Z), numbers (0-9) and \'-\'.` Note that underscore is not allowed in the name.

0 commit comments

Comments
 (0)