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
This commit adds a new `prepare_examples` alias to the dev container
that users can use to setup all the dependencies for the examples. It
also updates the documentation.
Optionally, you can also start the [ComfyStream UI](../README.md#run-ui) to view the stream:
99
+
100
+
```sh
101
+
cd /workspace/comfystream/ui
102
+
npm run dev:https
103
+
```
104
+
105
+
### Running Example Workflows
106
+
107
+
To run example workflows, you need to download models and build TensorRT engines. You can do this from within the dev container by running the following command in the terminal:
108
+
109
+
```sh
110
+
prepare_examples
111
+
```
112
+
113
+
Alternatively, you can follow the steps below.
114
+
115
+
#### Download models
70
116
71
117
From within the **dev container**, download models to run the example workflows:
72
118
@@ -80,7 +126,7 @@ For more info about configuring model downloads, see [src/comfystream/scripts/RE
80
126
81
127
By following these steps, you should be able to set up and run your development container for ComfyStream efficiently.
82
128
83
-
### Building the DepthAnything Engine
129
+
####Building the DepthAnything Engine
84
130
85
131
After downloading models, it is necessary to compile TensorRT engines for the example workflow.
86
132
@@ -113,40 +159,6 @@ Alternatively, you may activate an environment manually with `conda activate com
113
159
114
160
> [!NOTE] For more information, see [Python environments in VS Code](https://code.visualstudio.com/docs/python/environments)
115
161
116
-
### Starting ComfyUI
117
-
118
-
Start ComfyUI:
119
-
120
-
```sh
121
-
cd /workspace/comfystream/ComfyUI
122
-
conda activate comfyui
123
-
python main.py --listen
124
-
```
125
-
126
-
When using TensorRT engine enabled workflows, you should include the `---disable-cuda-malloc` flag as shown below:
0 commit comments