Skip to content

Model loading fails silently on Python 3.12 with PyTorch Nightly #21

@Liux100720

Description

@Liux100720

Hello, the node is failing to load the joycaption-beta-one model on my system.

My Environment:

  • OS: Linux
  • GPU: NVIDIA GeForce RTX 5070 Ti
  • Python Version: 3.12.3
  • PyTorch Version: Latest Nightly Build (torch-2.9.0+cu128 or similar)
  • Transformers Version: Latest (4.57.1 or similar)

The Problem:
When I queue a prompt, the terminal shows "Loading checkpoint shards: 0%" and then the prompt immediately finishes in about 1.5 seconds. The node in the UI shows the error: "Error loading model: 'JC_Models' object has no attribute 'model'".

Important Details:

  • This happens in both normal GPU mode and in CPU-only mode (--cpu).
  • All my model files and paths are correct. The model shards are fully downloaded.
  • My Python environment has been fully updated to resolve all other issues (setuptools, etc.).

This seems to be a code-level incompatibility between the node and the latest versions of the core AI libraries required for modern hardware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions