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
Motivation: Why do you think this is important?
Currently, if we have extra files like env, generated tar, and Large CSV for testing then pyflyte includes those files in the package for fast register. In this case size of the source increases and now if you execute the task then you will see an error
[1/1] currentAttempt done. Last Error: USER::Pod failed. No message received from kubernetes.
[wpf0byvhic-n0-0] terminated with exit code (1). Reason [OOMKilled]. Message:
ta_proxy.py", line 123, in get_data
proxy.download(remote_path, local_path)
File "/opt/venv/lib/python3.8/site-packages/flytekit/interfaces/data/s3/s3proxy.py", line 159, in download
return _update_cmd_config_and_execute(cmd)
File "/opt/venv/lib/python3.8/site-packages/flytekit/interfaces/data/s3/s3proxy.py", line 44, in _update_cmd_config_and_execute
return _subprocess.check_call(cmd, env=env)
File "/opt/venv/lib/python3.8/site-packages/flytekit/tools/subprocess.py", line 25, in check_call
raise Exception(
Exception: Called process exited with error code: -9. Stderr dump:
b''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/bin/pyflyte-fast-execute", line 8, in <module>
sys.exit(fast_execute_task_cmd())
File "/opt/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/venv/lib/python3.8/site-packages/flytekit/bin/entrypoint.py", line 490, in fast_execute_task_cmd
_download_distribution(additional_distribution, dest_dir)
File "/opt/venv/lib/python3.8/site-packages/flytekit/tools/fast_registration.py", line 100, in download_distribution
_data_proxy.Data.get_data(additional_distribution, destination)
File "/opt/venv/lib/python3.8/site-packages/flytekit/interfaces/data/data_proxy.py", line 125, in get_data
raise _user_exception.FlyteAssertion(
flytekit.common.exceptions.user.FlyteAssertion: Failed to get data from s3://test/v16-fasta07781c2ea2446c22115febe25d3c704.tar.gz to /root (recursive=False).
Original exception: Called process exited with error code: -9. Stderr dump:
b''
.
Here the issue is the size of the source, If you delete all those extra files then your size will reduce and it will work, But pyflyte currently do not have any mechanism to identify those files
Goal: What should the final outcome look like, ideally?
user will have a file in his project dir i.e. .flyteignore. It's similar to .gitignore, .dockerignore. Pyflyte will use this file to exclude all extra files that are mention in .flyteignore
Describe alternatives you've considered
NA
[Optional] Propose: Link/Inline OR Additional context
If you have ideas about the implementation please propose the change. If inline keep it short, if larger then you link to an external document.
The text was updated successfully, but these errors were encountered:
Motivation: Why do you think this is important?
Currently, if we have extra files like
env
, generated tar, and Large CSV for testing then pyflyte includes those files in the package for fast register. In this case size of the source increases and now if you execute the task then you will see an errorHere the issue is the size of the source, If you delete all those extra files then your size will reduce and it will work, But pyflyte currently do not have any mechanism to identify those files
Goal: What should the final outcome look like, ideally?
user will have a file in his project dir i.e.
.flyteignore
. It's similar to .gitignore, .dockerignore. Pyflyte will use this file to exclude all extra files that are mention in.flyteignore
Describe alternatives you've considered
[Optional] Propose: Link/Inline OR Additional context
If you have ideas about the implementation please propose the change. If inline keep it short, if larger then you link to an external document.
The text was updated successfully, but these errors were encountered: