towhee-io / towhee

Towhee is a framework that is dedicated to making neural data processing pipelines simple and fast.
https://towhee.io
Apache License 2.0
3.16k stars 246 forks source link

[Feature]: Allow pipeline to drop output node #2650

Closed jaelgu closed 1 year ago

jaelgu commented 1 year ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

Sometimes we need to combine pipelines, however all auto pipelines are RuntimePipeline, which is not allowed in concat. Can we allow a runtime pipeline to drop output node, which makes it a regular pipeline?

Describe the solution you'd like.

No response

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

junjiejiangjjj commented 1 year ago

https://towhee.readthedocs.io/en/latest/pipeline/usage.html#pipeline-act-as-node use it to combine pipelines

Chiiizzzy commented 1 year ago

Currently can be solved by pipeline-as-operator, will support disabling pre-load in the future to prevent duplicated loading of model in the future.