Hello @Nikhil Pothineni ,
It seems to be a temporary issue, till yesterday it was giving error like you mentioned.
I can confirm now you can create component successfully.
Below is the sample training component i have registered.
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
name: my_train
display_name: Train_upper_case
#version: 1b
type: command
inputs:
training_data:
type: uri_folder
max_epocs:
type: integer
min: 0
max: 100
learning_rate:
type: number
default: 0.01
learning_rate_schedule:
type: string
default: time-based
enum:
- "step"
- "time-based"
outputs:
model_output:
type: uri_folder
code: .
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
command: >-
python train.py
--training_data ${{inputs.training_data}}
--max_epocs ${{inputs.max_epocs}}
--learning_rate ${{inputs.learning_rate}}
--learning_rate_schedule ${{inputs.learning_rate_schedule}}
--model_output ${{outputs.model_output}}
Here, my train.py
and train.yml
are in sample folder so i given .
for code
.
Created successfully.
If you still facing any error please add your yaml file content in comments so that i can reproduce the issue from my end.
Thank you