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

CUDA: Error- invalid ptx #68

Closed
AlexanderKozhevin opened this issue Jul 12, 2021 · 3 comments
Closed

CUDA: Error- invalid ptx #68

AlexanderKozhevin opened this issue Jul 12, 2021 · 3 comments

Comments

@AlexanderKozhevin
Copy link

Screenshot 2021-07-12 at 19 08 35

@Artyrm
Copy link

Artyrm commented Aug 5, 2021

I guess maybe it is connected with --fp16 use: triton-lang/triton#187 (comment)
But I can't figure out still how to disable it in this example.

@Artyrm
Copy link

Artyrm commented Aug 6, 2021

Yup.
If you're running ruGPT3XL_generate.ipynb just try to comment out this string in ru_gpts/src/xl_wrapper.py:

    # Fp16 conversion.
    model = FP16_Module(model)

    return model

Like that:

    # Fp16 conversion.
    # model = FP16_Module(model)

    return model

Worked for me.

From my understanding it is because of incompatibility of FP16 with some types of cards, to say Tesla P100 in my case.

UPD looks like I'm wrong - since fp16 work for me with Transformers. DK why it helps.

@king-menin
Copy link
Collaborator

Add fixes for last updates on colab for rugpt3xl

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

3 participants