Comments (3)
change use_fp16=False
in for sample_latents function, the speed i better on CPU for fp32, **this is not a root cause fix for low usage CPU.
from shap-e.
Having a similar issue, it takes hours to sample from the 300M model using CPU as a result. Is there a smaller model we can access or some other fix?
from shap-e.
OMG use_fp16=False improves sampling speed dramatically! THX
- 2 times faster sampling on gpu
- 64 times faster sampling on cpu, with 20 steps you can make shapes for 10 minutes
anybody can explain why this setting is true by default? and why it works like this (imo sampling should be faster when fp16 precision is used, nor fp32 :/)
from shap-e.
Related Issues (20)
- Easy Tutorial? HOT 3
- TypeError: 'type' object is not subscriptable
- Image to 3d: Results always look like a cube square or shape confined to a cube
- Problems with encode_model HOT 3
- Join discord of 3d modeling HOT 1
- Can I decide the Object size? HOT 2
- About the saved obj mesh files. HOT 3
- How to control number of 3D model faces? HOT 3
- Conditioning on text AND image at the same time?
- ModuleNotFoundError: No module named 'torch' HOT 1
- RuntimeError: Not compiled with GPU support
- βStrβ object has no attribute device
- RuntimeError in sample_image_to_3d.ipnb HOT 2
- Encoder can only fit 1 obj?
- need setup.py adding pytorch3d by default installation HOT 2
- How to render images with white background? HOT 1
- When will Shap-e be added to Openai's API?
- how to create obj(not per-vertex colored) legacy and material (mtl) file and texture map files from the obj?? HOT 1
- Extremely weird bug like easter egg with the very prompt "apple"
- RuntimeError: Not compiled with GPU support
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 shap-e.