You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cuda Dockerfile - model produces garbage output on GPU (if layers offloaded to GPU) #597
Experienced similar issue, it returns stuff like content": "The\u0015\u0016\u0013\t\u0018!\u001d\u0019\u000e\u001f\u0005\u001e\u0011 ". Which is obviously too small for any normal utf-8 chars.
@afafw, The only meaningful word in your output - "The" probably came due to not all layers offloaded to GPU(s), am I correct?
Actually, that wasn't the case, I loaded all 35 layers into it. But I understand what you mean, since I did tried to load only part of network into gpu and it wasn't completely rubbish. It was just generating weird words.
Activity
pradhyumna85 commentedon Aug 15, 2023
@afafw, The only meaningful word in your output - "The" probably came due to not all layers offloaded to GPU(s), am I correct?
afafw commentedon Aug 15, 2023
Actually, that wasn't the case, I loaded all 35 layers into it. But I understand what you mean, since I did tried to load only part of network into gpu and it wasn't completely rubbish. It was just generating weird words.
afafw commentedon Aug 15, 2023
I think the key is also "ENV CUDA_DOCKER_ARCH=all" as I just saw your pull request.
pradhyumna85 commentedon Aug 15, 2023
@afafw, yeah I already fixed it, also raised a PR with the issue itself. You can check my PR, which is much shorter and cleaner.
Thank you anyway.
afafw commentedon Aug 15, 2023
Yeah, I just noticed it, I probably deleted this line
I saw it just after I send this, I thought I probably deleted this. I think your dockerfile probably works. As mine was simply building from source.
pradhyumna85 commentedon Aug 18, 2023
Fixed with the merge of PR #598