acoustic-carpenter-78188
11/13/2023, 12:52 PM$ pyflyte run example.py training_workflow --hyperparameters '{"C": 0.1}'
2023-11-13 13:51:35,577395 ERROR {"asctime": "2023-11-13 13:51:35,577", "name": "flytekit", "levelname": "ERROR", "message": "Failed to convert outputs of task 'example.get_data' at position 0:\n [Errno 2] Failed to open local file base_task.py:552
'/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory"}
Failed with Unknown Exception <class 'TypeError'> Reason: Encountered error while executing workflow 'example.training_workflow':
Error encountered while executing 'training_workflow':
Failed to convert outputs of task 'example.get_data' at position 0:
[Errno 2] Failed to open local file '/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory
Encountered error while executing workflow 'example.training_workflow':
Error encountered while executing 'training_workflow':
Failed to convert outputs of task 'example.get_data' at position 0:
[Errno 2] Failed to open local file '/var/folders/7s/8m2jxgtx3qjfd2rd7hgkt22w0000gn/T/flyte-lga24ee9/raw/96539807f90c950386133827f5e44658/00000'. Detail: [errno 2] No such file or directory
The folders were not found, because flytectl writes the folders to the local directory with an incorrect file: prefix:
Screenshot 2023-11-13 at 13 52 04▾
pyflyte (like python example.py)
I am using zsh with macOS Somona 14.1, Python 3.11
flyteorg/flyte