Skip to content

CUDA OOM. #2

@waitfor-night

Description

@waitfor-night

Can the pre-trained model be replaced with a more lightweight one? Or I'd like to know approximately how much GPU memory is required to run this project.

#! /bin/bash
environs="WORLD_SIZE=3 RANK=0 LOCAL_RANK=0 LOCAL_WORLD_SIZE=3"

运行命令

run_cmd="$environs python -m torch.distributed.run
--nproc_per_node=3
mtv/sample_video.py --base ./configs/cogvideox_5b.yaml ./configs/inference.yaml
--seed $RANDOM --input-file $1 --output-dir $2"

echo ${run_cmd}
eval ${run_cmd}

echo "DONE on hostname"

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