Skip to content

[TIP] To run the script #34

@WhaSukGO

Description

@WhaSukGO

1. Docker

$ docker run --gpus all -it --name torch_container --shm-size=32G nvcr.io/nvidia/pytorch:25.04-py3

# Install python3.9 python3.9-pip python3.9-venv 
$ apt-get update
$ apt install software-properties-common
...

2. python 3.9.* is mandatory

  • Some packages are strictly available on python3.9.*

3. Add two packages in the requirements.txt

  • huggingface-hub==0.25.2
  • typeguard
# requirements.txt
huggingface-hub==0.25.2
typeguard
gradio
rm_anime_bg
...
  • The lastest huggingface-hub cached_downloaded is deprecated in the latest huggingface-hub.

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