Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How much GPU memory is needed? #11

Open
JesusCoyotzi opened this issue Sep 14, 2020 · 1 comment
Open

How much GPU memory is needed? #11

JesusCoyotzi opened this issue Sep 14, 2020 · 1 comment

Comments

@JesusCoyotzi
Copy link

Hi there.
I was trying to run the demo. A got this nice error:

[e 0913 21:22:14.557574 60 executor.cc:442] 
=== display_memory_info ===
 total_cpu_ram: 7.658GB total_cuda_ram: 3.945GB
 hold_vars: 1639 lived_vars: 3180 lived_ops: 7531
 update queue: 1630/1630
 name: sfrl is_cuda: 1 used: 1.254GB(86.9%) unused: 194.2MB(13.1%) total: 1.443GB
 name: sfrl is_cuda: 1 used: 2.116GB(97.4%) unused: 56.98MB(2.56%) total: 2.172GB
 name: sfrl is_cuda: 0 used: 2.116GB(97.4%) unused: 56.98MB(2.56%) total: 2.172GB
 name: sfrl is_cuda: 0 used:   271KB(26.5%) unused:   753KB(73.5%) total:     1MB
 cpu&gpu: 5.788GB gpu: 3.615GB cpu: 2.173GB
===========================

[e 0913 21:22:14.557734 60 executor.cc:446] [Error] source file location: /home/jesus/.cache/jittor/default/g++/jit/_opkey0:broadcast_to_Tx:float32__DIM=7__BCAST=19__JIT:1__JIT_cuda:1__index_t:int32___opkey...hash:719812a59219cddf_op.cc

Apparently i ran out of RAM for this. Which is not unexpected I only have a measly 1050 at 4GB of RAM. But that got me wondering. What is your recommendation for GPU to run this? I want to know before i start looking for new video cards.

@Xu-Justin
Copy link

I have a similar implementation of this project and it requires 8GB of GPU memory.


If you need a CPU version, you could try mine. Yet, I'm not sure whether your CPU is sufficient to load.

Check this out: Xu-Justin/DeepFaceDrawing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants