chilly-agent-24526
02/13/2023, 4:03 PMflyte demo start
) on my VPS?broad-monitor-993
02/13/2023, 4:47 PMflyte demo
cluster on your VPS and schedule workflows on there… @thankful-minister-83577 @freezing-boots-56761 is there any additional stuff to be aware of if you want to run a demo (sandbox) cluster in this fashion?
you can also follow the single cluster deployment guide to create your own Flyte cluster (which cloud provider are you using?).chilly-agent-24526
02/13/2023, 5:10 PMfreezing-boots-56761
freezing-boots-56761
chilly-agent-24526
02/13/2023, 7:17 PM(flyte) ubuntu@instance-20230102-1221:~/dev/test_flyte$ pyflyte run example.py training_workflow \
--hyperparameters '{"C": 0.1}'
Traceback (most recent call last):
File "/home/ubuntu/mambaforge/envs/flyte/bin/pyflyte", line 5, in <module>
from flytekit.clis.sdk_in_container.pyflyte import main
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/site-packages/flytekit/__init__.py", line 165, in <module>
from flytekit.core.base_sql_task import SQLTask
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/site-packages/flytekit/core/base_sql_task.py", line 4, in <module>
from flytekit.core.base_task import PythonTask, TaskMetadata
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/site-packages/flytekit/core/base_task.py", line 26, in <module>
from flytekit.configuration import SerializationSettings
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/site-packages/flytekit/configuration/__init__.py", line 473, in <module>
@dataclass(init=True, repr=True, eq=True, frozen=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/dataclasses.py", line 1211, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/dataclasses.py", line 959, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/mambaforge/envs/flyte/lib/python3.11/dataclasses.py", line 816, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'flytekit.configuration.S3Config'> for field s3 is not allowed: use default_factory
freezing-boots-56761
freezing-boots-56761
high-accountant-32689
02/13/2023, 7:26 PMchilly-agent-24526
02/13/2023, 10:09 PM