diffusers
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: imaiguo
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 9.15 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Debian环境部署
设置代理环境 ```bash
export httpproxy=192.168.2.199:58591 export httpsproxy=192.168.2.199:58591 ```
```bash
pip install --upgrade diffusers sudo apt-get -y install cuda-toolkit-12-3 ```
设置python虚拟环境 ```bash
sudo apt install python3-venv python3-pip mkdir /opt/Data/PythonVenv cd /opt/Data/PythonVenv python3 -m venv Diffusers source /opt/Data/PythonVenv/Diffusers/bin/activate ```
部署推理环境 ```bash
pip install --upgrade diffusers -i https://pypi.tuna.tsinghua.edu.cn/simple pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install accelerate transformers==4.33.2 -i https://pypi.tuna.tsinghua.edu.cn/simple pip install jupyter notebook -i https://pypi.tuna.tsinghua.edu.cn/simple ```
```python from diffusers import DiffusionPipeline import torch
pipeline = DiffusionPipeline.frompretrained("/opt/Data/THUDM/MagicAnimate/stable-diffusion-v1-5", torchdtype=torch.float16) pipeline.to("cuda") pipeline("An image of a squirrel in Picasso style").images[0] ```
启动丘比特 ```bash
jupyter notebook jupyter notebook --no-browser --port 7000 --ip=192.168.2.200 ```
Owner
- Name: AiGuo
- Login: imaiguo
- Kind: user
- Location: Nanjing
- Company: R&D
- Website: https://ephraim.site
- Repositories: 32
- Profile: https://github.com/imaiguo
Citation (CITATION.cff)
cff-version: 1.2.0
title: 'Diffusers: State-of-the-art diffusion models'
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Patrick
family-names: von Platen
- given-names: Suraj
family-names: Patil
- given-names: Anton
family-names: Lozhkov
- given-names: Pedro
family-names: Cuenca
- given-names: Nathan
family-names: Lambert
- given-names: Kashif
family-names: Rasul
- given-names: Mishig
family-names: Davaadorj
- given-names: Thomas
family-names: Wolf
repository-code: 'https://github.com/huggingface/diffusers'
abstract: >-
Diffusers provides pretrained diffusion models across
multiple modalities, such as vision and audio, and serves
as a modular toolbox for inference and training of
diffusion models.
keywords:
- deep-learning
- pytorch
- image-generation
- hacktoberfest
- diffusion
- text2image
- image2image
- score-based-generative-modeling
- stable-diffusion
- stable-diffusion-diffusers
license: Apache-2.0
version: 0.12.1