Replies: 5 comments
-
Hi @codypenta, thanks for bringing this to our attention. Can you please provide the following information?
|
Beta Was this translation helpful? Give feedback.
-
Hope this helps: What's worked previously container = get_image_uri(region, 'xgboost', repo_version='0.90-2') compiled_model = xgb.compile_model(
target_instance_family = "ml_m5",
role = sagemaker.get_execution_role(),
input_shape = {'data': [1, 64]},
output_path = f"{xgb.output_path}/compiled",
framework = "xgboost",
framework_version = "0.90-2"
) I've tried |
Beta Was this translation helpful? Give feedback.
-
Update: I tried taking the model artifiact produced from: container = get_image_uri(region, 'xgboost', repo_version='1.0-1')
xgb_estimator = Estimator(
container,
role = sage_exec,
sagemaker_session = session,
input_mode = 'File',
output_path = f"s3://{bucket}{prefix}/output",
train_instance_count = 2,
train_instance_type = 'ml.m5.2xlarge',
train_use_spot_instances = True,
train_max_run = 300,
train_max_wait = 600,
)
xgb_estimator.fit(s3_data) And manually compiling it through the console. The same error exist. |
Beta Was this translation helpful? Give feedback.
-
Same issue for me here. Error I'm seeing for 1.0-1:
boto3 call: response = sm.create_compilation_job(
CompilationJobName=job_name,
RoleArn=get_execution_role(),
InputConfig={
'S3Uri': model_path,
'DataInputConfig': '{"data":[1,10]}',
'Framework': 'XGBOOST'
},
OutputConfig={
'S3OutputLocation': output_path,
'TargetDevice': 'ml_m5'
},
StoppingCondition={
'MaxRuntimeInSeconds':3600,
'MaxWaitTimeInSeconds': 3600
}
) |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this relates but,... I'm encountered the same error with sagemaker 2.26.0 when I accidentally loaded: when loading a specific container: it worked just fine |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Can not compile an XGBoost model with version 1.0. I've been able to do it with previous versions but it breaks once you updgrade to a stable 1.0 branch
Describe the solution you'd like
Should compile a 1.0 XGboost model when the model was trained with
Describe alternatives you've considered
None
Additional context
Trying to compile with what's above returns:
Beta Was this translation helpful? Give feedback.
All reactions