Comments (2)
I have tested a new environment (torch2.2.2+cu118), and used the newest xformers.
You can use the offcial method to get the newest version.
# cuda 11.8 version
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
Here are my steps:
# python.version //3.8
# print(torch.__version__) //2.2.2+cu118
git clone https://github.com/thu-ml/CRM.git
cd CRM
pip install -r requirements.txt
pip install ninja
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
pip install git+https://github.com/NVlabs/nvdiffrast
# other package(forget)
I made a docker image in CodeWithGPU platform, Here are the page: Page Link.
It is under reviewing and will take two days.
docker pull registry.cn-beijing.aliyuncs.com/codewithgpu2/thu-ml-crm:x00G39kpFb
Along the way, I also encountered some strange things:
-
I found the
.pth
and.bin
files will be storaged in the./.cache/huggingface/hub/model*
, it is difficult for me to move them directly. -
I can not run the code
python run.py "imgfile"
in juypter, it will raise errors aboutConnection with huggingface.co
, but I can run this code in the terminal.
from crm.
My testing environment is torch==1.13.0+cu117. Maybe you can try torch 1.x? I am not sure whether will torch 2.x work.
from crm.
Related Issues (20)
- Upscaled RBG and CCM ,Tile-Based generation HOT 8
- How do you render an image from flexicube geometry? HOT 1
- Why can't I successfully download the weights file?
- 请您把项目给清晰些,不要霍霍别人 HOT 2
- 关于demo的lego-style HOT 1
- environment problem HOT 1
- 显存最低要求是多少?8GB报错内存不足 HOT 1
- Could you share the filter list of Objaverse?
- problems about the random seed in the code HOT 2
- CUDA out of memory
- gradio app.py error HOT 2
- Multi GPUs
- Seeking Clarification on VAE and CRM Performance in CCM Diffusion HOT 1
- Hi, image as guide
- Is there any plan to release training script? HOT 4
- RuntimeError: Ninja is required to load C++ extensions HOT 4
- version error HOT 2
- checkpoint loading size mismatch HOT 9
- training code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crm.