Skip to content

Error training on GPU #2

@Sajjadkhani

Description

@Sajjadkhani

I am trying to train the MS2FP model exactly based on the demo colab and input data from repo. Training works with cpu. Also prediction works with GPU. However when I try training with GPU I get the following error:
Pointer argument (at 2) cannot be accessed from Triton (cpu tensor?)

It runs without error until the following line in this file: IDSL_MINT-main/IDSL_MINT/MS2FP/MS2FP_Model.py:
Source = self.PeakEmbedding(MZ_Tokens, INT).permute(1, 0, 2)

Do you have any idea what can be the problem?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions