Skip to content

import lightx2v error #686

@moveforever

Description

@moveforever
from lightx2v.pipeline import LightX2VPipeline

File "/root/autodl-tmp/lib/LightX2V/lightx2v/pipeline.py", line 15, in
from lightx2v.models.runners.qwen_image.qwen_image_runner import QwenImageRunner # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/autodl-tmp/lib/LightX2V/lightx2v/models/runners/qwen_image/qwen_image_runner.py", line 9, in
from lightx2v.models.input_encoders.hf.qwen25.qwen25_vlforconditionalgeneration import Qwen25_VLForConditionalGeneration_TextEncoder
File "/root/autodl-tmp/lib/LightX2V/lightx2v/models/input_encoders/hf/qwen25/qwen25_vlforconditionalgeneration.py", line 15, in
torch_device_module = getattr(torch, AI_DEVICE)
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions