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

Started a local Ray instance - MochiMultiGPUPipeline never loads the pipeline #84

Open
fbarretto opened this issue Nov 20, 2024 · 1 comment

Comments

@fbarretto
Copy link

fbarretto commented Nov 20, 2024

I've been trying to run this repo in a 4x H100 environment and the pipeline loading freezes

self.pipeline = MochiMultiGPUPipeline(
                text_encoder_factory = T5ModelFactory(),
                dit_factory = DitModelFactory(
                    model_path = f"{model_path}/dit.safetensors",
                    model_dtype = "bf16"),
                decoder_factory = DecoderModelFactory(
                    model_path = f"{model_path}/decoder.safetensors"),
                world_size = torch.cuda.device_count(),
                )
Attention mode: flash
INFO worker.py:1816 -- Started a local Ray instance. <-- it freezes here

I'm using

cuda 12.4.0
python 3.11
torch 2.4.1

And installing the repo with flash attention
pip install -e .[flash] --no-build-isolation

Any hints?

@fbarretto fbarretto changed the title Started a local Ray instance - never runs Started a local Ray instance - MochiMultiGPUPipeline never loads the pipeline Nov 20, 2024
@Lifedecoder
Copy link

use single gpu, debug will pass through the code of pipeline

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

2 participants