idslme / idsl_mint Goto Github PK
View Code? Open in Web Editor NEWA Deep Learning Framework to Interpret Raw Mass Spectrometry (m/z) Data
A Deep Learning Framework to Interpret Raw Mass Spectrometry (m/z) Data
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!
I have downloaded and ran your code from GitHub in various environments (Colab, GC, AWS), however, when we change the yaml file to use the GPU server it throws an error specifying problems with the triton library. This is the error:
ValueError: Pointer argument (at 2) cannot be accessed from Triton (cpu tensor?)
Please note, that I have made sure that we are using a GPU server (already checked and confirmed with using nvidia-smi command) and have modified the related YAML file that the device is “cuda”. I have also checked the training file to ensure everything is passed on to the specified device.
Do you have any insights on why this issue comes up? I have tested the code on the CPU and modified the YAML file to work with a CPU and that works fine. The issue only arises when using a GPU server and specifying the device as cuda.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.