Hi! I'm, getting the following error when trying to run the first "Function Dispatch" example in the ML Jobs sample guide.
`Running command: python /mnt/app/func.py
Traceback (most recent call last):
File "/mnt/app/func.py", line 29, in
func = pickle.loads(bytes.fromhex('80059573020000000000008c0966756e63746f6f6c73948c077061727469616c9493948c17636c6f75647069636b6c652e636c6f75647069636b6c65948c0e5f6d616b655f66756e6374696f6e9493942868038c0d5f6275696c74696e5f747970659493948c08436f6465547970659485945294284b014b004b004b024b054b434328640164026c006d007d01010074017c01a002a1009b0064037c009b0064049d04830101006400530094284e4b008c086461746574696d659485948c072048656c6c6f20948c0121947494680c8c057072696e74948c036e6f779487948c046e616d6594680c86948c242f746d702f6970796b65726e656c5f333138393831352f333836373933313937322e7079948c0b68656c6c6f5f776f726c64944b0343040c031c02942929749452947d94288c0b5f5f7061636b6167655f5f944e8c085f5f6e616d655f5f948c085f5f6d61696e5f5f94754e4e4e7494529468038c125f66756e6374696f6e5f736574737461746594939468207d947d9428681d68178c0c5f5f7175616c6e616d655f5f9468178c0f5f5f616e6e6f746174696f6e735f5f947d9468148c086275696c74696e73948c03737472949394738c0e5f5f6b7764656661756c74735f5f944e8c0c5f5f64656661756c74735f5f948c05776f726c649485948c0a5f5f6d6f64756c655f5f94681e8c075f5f646f635f5f944e8c0b5f5f636c6f737572655f5f944e8c175f636c6f75647069636b6c655f7375626d6f64756c6573945d948c0b5f5f676c6f62616c735f5f947d94758694865230859452942868208c09646576656c6f7065729485947d947d948c195f69735f6d6c6a6f625f72656d6f74655f63616c6c61626c659488737494622e'))
AttributeError: Can't get attribute '_function_setstate' on <module 'cloudpickle.cloudpickle' from '/opt/conda/lib/python3.10/site-packages/cloudpickle/cloudpickle.py'>
FAILED`
My local python 3.10 code env:
absl-py==1.4.0 aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aioitertools==0.12.0 aiosignal==1.3.2 anyio==4.9.0 asn1crypto==1.5.1 asttokens==3.0.0 async-timeout==5.0.1 attrs==25.3.0 backcall==0.2.0 botocore==1.37.1 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cloudpickle==3.0.0 comm==0.2.2 cryptography==44.0.2 debugpy==1.8.13 decorator==5.1.1 exceptiongroup==1.2.2 executing==2.2.0 filelock==3.18.0 frozenlist==1.5.0 fsspec==2025.3.0 idna==3.10 importlib_resources==6.5.2 ipykernel==6.23.3 ipython==8.12.3 ipython-genutils==0.2.0 jedi==0.19.2 jmespath==1.0.1 joblib==1.4.2 jupyter-client==6.1.12 jupyter_core==4.12.0 matplotlib-inline==0.1.7 multidict==6.2.0 nest-asyncio==1.6.0 numpy==1.26.4 nvidia-nccl-cu12==2.26.2 packaging==24.2 pandas==2.2.3 parso==0.8.4 pexpect==4.8.0 pickleshare==0.7.5 platformdirs==4.3.7 prompt_toolkit==3.0.50 propcache==0.3.1 protobuf==5.29.4 psutil==7.0.0 ptyprocess==0.7.0 pure_eval==0.2.3 pyarrow==18.1.0 pycparser==2.22 Pygments==2.19.1 PyJWT==2.10.1 pyOpenSSL==25.0.0 python-dateutil==2.9.0.post0 pytimeparse==1.1.8 pytz==2025.2 PyYAML==6.0.2 pyzmq==23.2.1 requests==2.32.3 retrying==1.3.4 s3fs==2025.3.0 scikit-learn==1.5.2 scipy==1.15.2 simplegeneric==0.8.1 six==1.17.0 sniffio==1.3.1 snowflake-connector-python==3.14.0 snowflake-ml-python==1.8.0 snowflake-snowpark-python==1.29.1 sortedcontainers==2.4.0 sqlparse==0.5.3 stack-data==0.6.3 threadpoolctl==3.6.0 tomlkit==0.13.2 tornado==6.4.2 traitlets==5.9.0 typing_extensions==4.13.0 tzdata==2025.2 tzlocal==5.3.1 urllib3==1.26.20 wcwidth==0.2.13 wrapt==1.17.2 xgboost==2.1.4 yarl==1.18.3
Hi! I'm, getting the following error when trying to run the first "Function Dispatch" example in the ML Jobs sample guide.
`Running command: python /mnt/app/func.py
Traceback (most recent call last):
File "/mnt/app/func.py", line 29, in
func = pickle.loads(bytes.fromhex('80059573020000000000008c0966756e63746f6f6c73948c077061727469616c9493948c17636c6f75647069636b6c652e636c6f75647069636b6c65948c0e5f6d616b655f66756e6374696f6e9493942868038c0d5f6275696c74696e5f747970659493948c08436f6465547970659485945294284b014b004b004b024b054b434328640164026c006d007d01010074017c01a002a1009b0064037c009b0064049d04830101006400530094284e4b008c086461746574696d659485948c072048656c6c6f20948c0121947494680c8c057072696e74948c036e6f779487948c046e616d6594680c86948c242f746d702f6970796b65726e656c5f333138393831352f333836373933313937322e7079948c0b68656c6c6f5f776f726c64944b0343040c031c02942929749452947d94288c0b5f5f7061636b6167655f5f944e8c085f5f6e616d655f5f948c085f5f6d61696e5f5f94754e4e4e7494529468038c125f66756e6374696f6e5f736574737461746594939468207d947d9428681d68178c0c5f5f7175616c6e616d655f5f9468178c0f5f5f616e6e6f746174696f6e735f5f947d9468148c086275696c74696e73948c03737472949394738c0e5f5f6b7764656661756c74735f5f944e8c0c5f5f64656661756c74735f5f948c05776f726c649485948c0a5f5f6d6f64756c655f5f94681e8c075f5f646f635f5f944e8c0b5f5f636c6f737572655f5f944e8c175f636c6f75647069636b6c655f7375626d6f64756c6573945d948c0b5f5f676c6f62616c735f5f947d94758694865230859452942868208c09646576656c6f7065729485947d947d948c195f69735f6d6c6a6f625f72656d6f74655f63616c6c61626c659488737494622e'))
AttributeError: Can't get attribute '_function_setstate' on <module 'cloudpickle.cloudpickle' from '/opt/conda/lib/python3.10/site-packages/cloudpickle/cloudpickle.py'>
FAILED`
My local python 3.10 code env:
absl-py==1.4.0 aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aioitertools==0.12.0 aiosignal==1.3.2 anyio==4.9.0 asn1crypto==1.5.1 asttokens==3.0.0 async-timeout==5.0.1 attrs==25.3.0 backcall==0.2.0 botocore==1.37.1 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cloudpickle==3.0.0 comm==0.2.2 cryptography==44.0.2 debugpy==1.8.13 decorator==5.1.1 exceptiongroup==1.2.2 executing==2.2.0 filelock==3.18.0 frozenlist==1.5.0 fsspec==2025.3.0 idna==3.10 importlib_resources==6.5.2 ipykernel==6.23.3 ipython==8.12.3 ipython-genutils==0.2.0 jedi==0.19.2 jmespath==1.0.1 joblib==1.4.2 jupyter-client==6.1.12 jupyter_core==4.12.0 matplotlib-inline==0.1.7 multidict==6.2.0 nest-asyncio==1.6.0 numpy==1.26.4 nvidia-nccl-cu12==2.26.2 packaging==24.2 pandas==2.2.3 parso==0.8.4 pexpect==4.8.0 pickleshare==0.7.5 platformdirs==4.3.7 prompt_toolkit==3.0.50 propcache==0.3.1 protobuf==5.29.4 psutil==7.0.0 ptyprocess==0.7.0 pure_eval==0.2.3 pyarrow==18.1.0 pycparser==2.22 Pygments==2.19.1 PyJWT==2.10.1 pyOpenSSL==25.0.0 python-dateutil==2.9.0.post0 pytimeparse==1.1.8 pytz==2025.2 PyYAML==6.0.2 pyzmq==23.2.1 requests==2.32.3 retrying==1.3.4 s3fs==2025.3.0 scikit-learn==1.5.2 scipy==1.15.2 simplegeneric==0.8.1 six==1.17.0 sniffio==1.3.1 snowflake-connector-python==3.14.0 snowflake-ml-python==1.8.0 snowflake-snowpark-python==1.29.1 sortedcontainers==2.4.0 sqlparse==0.5.3 stack-data==0.6.3 threadpoolctl==3.6.0 tomlkit==0.13.2 tornado==6.4.2 traitlets==5.9.0 typing_extensions==4.13.0 tzdata==2025.2 tzlocal==5.3.1 urllib3==1.26.20 wcwidth==0.2.13 wrapt==1.17.2 xgboost==2.1.4 yarl==1.18.3