Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does CogVideoX1.5-5B still not support http-server? #462

Open
Chenxwi opened this issue Feb 28, 2025 · 0 comments
Open

Does CogVideoX1.5-5B still not support http-server? #462

Chenxwi opened this issue Feb 28, 2025 · 0 comments

Comments

@Chenxwi
Copy link

Chenxwi commented Feb 28, 2025

I had no problem running CogVideoX1.5-5B using the example script, So I'm going to run it using http-server, but the error message indicates that it is not supported yet.

When I check the file http-server/host.py, There is no CogVideoX1.5-5B in the pipeline_map.

But I found that there was pipeline_cogvideox.py in xfuser/piplines, Then I manually insert the pipeline_cogvideox.py into pipeline_map in http-service/host.py, like this:

Image

It still didn't work, error message as follows:

TypeError: CogVideoXPipeline.__call__() got an unexpected keyword argument 'use_resolution_binning'

envs info:

CUDA:12.6
GPU: A40
python: 3.11.10
torch: 2.4.0

The config.json

{
    "nproc_per_node": 1,
    "model": "/mnt/pdd/xDiT/models/CogVideoX1.5-5B",
    "height": 768,
    "width": 1360,
    "num_frames": 17,
    "ulysses_degree": 1,
    "ring_degree": 1,
    "pipefusion_parallel_degree": 1,
    "enable_tiling": false
}

Am I running CogVideo inference wrong with http-server? Or is the cogvideo pipeline not finished?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant