BookmarkSubscribeRSS Feed

Running a scoring test for a Python model registered through register_model of sasctl failed

Started ‎02-24-2023 by
Modified ‎02-24-2023 by
Views 491

Question

I registered a Python model using register_model of python-sasctl   into a model repository.  I created a scoring test for the registered model in SAS Model Manager. When I ran the scoring test, it failed with the following error in the sas log.

NOTE: Created package xxx in data set "x.y"
NOTE: Execution succeeded. No rows affected.
NOTE: Running 'modelPublishing' action set with 0 workers.
NOTE: Execution of model 'TempModel_xxx ' succeeded.
ERROR: There is no session-scope table Test_xxx_output in caslib xxx of Cloud Analytic Services.

Answer

The issue is most likely caused by the Score code type of the registered model being DS2 multi-type. Change the Score code type to DS2 Package. Run the scoring test again. 

PythonModelScoreCodetype.jpg

Contributors
Version history
Last update:
‎02-24-2023 10:00 AM
Updated by:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags