question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Other gpu support

See original GitHub issue

Hello, from the notebook I can see that pre-compiled are available only for T4, P100 and V100 gpus:

s = getoutput('nvidia-smi')
if 'T4' in s:
  gpu = 'T4'
elif 'P100' in s:
  gpu = 'P100'
elif 'V100' in s:
  gpu = 'V100'

What. about other gpu like K80? Thanks.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
TheLastBencommented, Sep 30, 2022

if you have the K80 and want to add it to the supported list, run :

!pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers

after around 40min, and the installation is done, navigate to /usr/local/lib/python3.7/dist-packages/xformers

save the two files : “_C_flashattention.so” and “_C.so”, upload them to any host and send me the link and I will integrate them in the Colab for K80 users.

the files might not show in the colab explorer, so you will have to rename them

!cp /usr/local/lib/python3.7/dist-packages/xformers/_C.so /usr/local/lib/python3.7/dist-packages/xformers/C.py

!cp /usr/local/lib/python3.7/dist-packages/xformers/_C_flashattention.so /usr/local/lib/python3.7/dist-packages/xformers/C_flashattention.py
2reactions
TheLastBencommented, Oct 25, 2022

Sorry, I completely forgot about it, I’ll add it as soon as I’m done with the new Dreambooth method

Read more comments on GitHub >

github_iconTop Results From Across the Web

CUDA GPUs - Compute Capability - NVIDIA Developer
Learn more about your GPU compute capability and CUDA-enabled desktops, notebooks, workstations, and supercomputers.
Read more >
What are other GPU companies besides Nvidia or AMD?
Your question is based on a major misunderstanding. · Zotac, Asus, MSI, etc, are not GPU manufacturers, they are Graphics Card manufacturers/assemblers/board ...
Read more >
How to Choose a Graphics Card 2022 - Newegg Insider
Another resource to help you choose a GPU and graphics card are the games and applications you want to run. Most will list...
Read more >
How To Keep Your GPU From Sagging (6 Effective Ways)
You can use these mechanisms to secure the GPU and keep it from sagging. There are two types of GPU support braces: vertical...
Read more >
Uses for GPUs: 4 Reasons Other Than Gaming
GPUs can be used for video editing, 3D graphics rendering, and much more. With a high processing throughput, GPUs can process more data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found