Hi all… I have a few process now converted into ta...
# ask-the-community
e
Hi all… I have a few process now converted into tasks (just added the decorator) but when I run the task takes a lot of time to complete compared when I run the process in a non-flyte environment. I set the same resources. Any ideas?
k
Hmm quantify lot of time
e
nonflyte takes 50 mins aprox. on Flyte environment takes 2 hours aprox
k
what kind of task you are running? model training? are you reading large files from s3?
e
@Kevin Su. Read large data sets from elastic search to then transform the data and store in another index. The existing process has many multiprocessing steps.
k
which version of flytekit you are running?
e
version = “1.2.0-b1”
k
we have a pr to add runtime metric in flytekit, so it will be easy to debug by using that. https://github.com/flyteorg/flytekit/pull/1581
just to confirm, you are using elastic search sdk to download data, not using awscli, right
e
correct
k
@Eduardo Matus also I think you should add enough cpus
And memory
Hmm, can you add a couple log lines, I would be curious and want to help
If at all it should go faster with more power
f
@Eduardo Matus what do you mean by a "non-flyte environment"? Still in containers on kubernetes though? And there on the same class of node/machine?
151 Views