You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Additional context
Trying to compile with what's above returns:
ClientError: InputConfiguration: Invalid XGBoost model. Please make sure the framework you select is correct. local variable 'model_objects' referenced before assignment
And manually compiling it through the console. The same error exist. ClientError: InputConfiguration: Invalid XGBoost model. Please make sure the framework you select is correct. local variable 'model_objects' referenced before assignment
I'm encountered the same error with sagemaker 2.26.0 when I accidentally loaded:
retrieve(framework="xgboost", region=region, version='latest')
which is discouraged according to the AWS documentation
when loading a specific container:
retrieve(framework="xgboost", region=region, version='1.2-1')
Activity
ajaykarpur commentedon Jun 23, 2020
Hi @codypenta, thanks for bringing this to our attention. Can you please provide the following information?
sagemaker.__version__.)NukaCody commentedon Jun 23, 2020
Hope this helps:
Sagemaker Version: 1.60.0
Python Version: 3
What's worked previously
I've tried
1.0and1.0-1for framework version but they both returned the same errorNukaCody commentedon Jul 8, 2020
Update:
I tried taking the model artifiact produced from:
And manually compiling it through the console. The same error exist.
ClientError: InputConfiguration: Invalid XGBoost model. Please make sure the framework you select is correct. local variable 'model_objects' referenced before assignmentakozd commentedon Oct 28, 2020
Same issue for me here. Error I'm seeing for 1.0-1:
ClientError: InputConfiguration: Treelite failed to convert XGBoost model. Please make sure the framework you select is correct. std::bad_allocboto3 call:
coverton-usgs commentedon Feb 27, 2021
I'm not sure if this relates but,...
I'm encountered the same error with sagemaker 2.26.0 when I accidentally loaded:
retrieve(framework="xgboost", region=region, version='latest')
which is discouraged according to the AWS documentation
when loading a specific container:
retrieve(framework="xgboost", region=region, version='1.2-1')
it worked just fine