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

Session crashed on colab #7

Closed
bitsnaps opened this issue Dec 31, 2023 · 4 comments
Closed

Session crashed on colab #7

bitsnaps opened this issue Dec 31, 2023 · 4 comments

Comments

@bitsnaps
Copy link

Hi,

Have you guys managed to make it works on T4 colab?

P.S. It crashes multiple times even with offload_per_layer = 5 as mentioned in the comment.
image

@dvmazur
Copy link
Owner

dvmazur commented Dec 31, 2023

Hey! Just tried running the notebook (in the offload_per_layer = 5 setting) and everything works for me. Have you tinkered with the original notebook in any way? If not, try restarting the session and running it again starting with the model initialization cell.

@lavawolfiee
Copy link
Collaborator

lavawolfiee commented Dec 31, 2023

Hey!

Have you managed to solve this issue? If no, can you please provide some more information:

  1. On which cell exactly did the notebook crush with offload_per_layer = 4?
  2. How many of RAM and GPU VRAM did you have in Google Colab?

Note that our demo notebook should run normally in Google Colab with offload_per_layer = 4, but will crush sometimes with offload_per_layer = 5. The latter option is made for local run with low VRAM.

@RDvibe
Copy link

RDvibe commented Dec 31, 2023

hqq_aten package not installed. HQQBackend.ATEN backend will not work unless you install the hqq_aten lib in hqq/kernels.

@dvmazur
Copy link
Owner

dvmazur commented Dec 31, 2023

hqq_aten package not installed. HQQBackend.ATEN backend will not work unless you install the hqq_aten lib in hqq/kernels.

Hqq_aten is not required as we have custom triton kernels for GEMV.

@dvmazur dvmazur closed this as completed Jan 5, 2024
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

5 participants
@bitsnaps @dvmazur @lavawolfiee @RDvibe and others