3 min to read
This guide provides detailed instructions for installing and running the DeepSeek Janus-Pro 7B model on a Linux/Ubuntu system using ComfyUI. Follow these steps to ensure a successful setup.
Before starting the installation, ensure your system meets the following requirements:
Open your terminal and run the following commands to install Git, Python, and pip:
sudo apt update
sudo apt install git python3 python3-pip
If you need a specific version of Python (e.g., Python 3.10), you can install it with:
sudo apt install python3.10 python3.10-distutils
To utilize your NVIDIA GPU, install PyTorch with CUDA support. Run the following command:
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
Next, clone the ComfyUI repository from GitHub:
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
Inside the ComfyUI directory, install all required dependencies by running:
pip install -r requirements.txt
Using ComfyUI Manager:
python3 app.py
in the terminal.Manual Installation:
If you prefer manual installation, download the Janus-Pro plugin from its GitHub repository. Extract it into the ComfyUI/plugins
directory.
To access certain models, you may need to create an account on Hugging Face.
Search for "Janus-Pro-7B" on Hugging Face. Click on the model repository link and download all necessary files (typically .bin, .json, and configuration files).
Create a folder structure in your ComfyUI directory as follows:
📁 ComfyUI
├── 📁 models
│ ├── 📁 Janus-Pro
│ └── 📁 Janus-Pro-7B
│ ├── config.json
│ ├── preprocessor_config.json
│ ├── processor_config.json
│ ├── pytorch_model-00001-of-00002.bin
│ ├── pytorch_model-00002-of-00002.bin
│ ├── pytorch_model.bin.index.json
│ ├── special_tokens_map.json
│ ├── tokenizer.json
│ └── tokenizer_config.json
Ensure that all downloaded files are placed in their respective directories.
After setting up everything, you can launch ComfyUI:
python3 app.py
This will start a local server, typically accessible at http://localhost:8188
.
http://localhost:8188
.You can use a command in the prompt area like this:
generate_image(prompt="a futuristic cityscape", num_images=4)
This command will generate four images based on your prompt.
For further assistance or updates:
By following these detailed steps, you should be able to successfully install and run DeepSeek Janus-Pro 7B on your Linux/Ubuntu machine using ComfyUI!
Connect with top remote developers instantly. No commitment, no risk.
Tags
Discover our most popular articles and guides
Running Android emulators on low-end PCs—especially those without Virtualization Technology (VT) or a dedicated graphics card—can be a challenge. Many popular emulators rely on hardware acceleration and virtualization to deliver smooth performance.
The demand for Android emulation has soared as users and developers seek flexible ways to run Android apps and games without a physical device. Online Android emulators, accessible directly through a web browser.
Discover the best free iPhone emulators that work online without downloads. Test iOS apps and games directly in your browser.
Top Android emulators optimized for gaming performance. Run mobile games smoothly on PC with these powerful emulators.
The rapid evolution of large language models (LLMs) has brought forth a new generation of open-source AI models that are more powerful, efficient, and versatile than ever.
ApkOnline is a cloud-based Android emulator that allows users to run Android apps and APK files directly from their web browsers, eliminating the need for physical devices or complex software installations.
Choosing the right Android emulator can transform your experience—whether you're a gamer, developer, or just want to run your favorite mobile apps on a bigger screen.
The rapid evolution of large language models (LLMs) has brought forth a new generation of open-source AI models that are more powerful, efficient, and versatile than ever.