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

How to effectively test if gdrcopy is enabled using Real world ML workload ? #292

Open
pandyamarut opened this issue Jan 31, 2024 · 2 comments
Labels

Comments

@pandyamarut
Copy link

pandyamarut commented Jan 31, 2024

I have successfully installed gdrcopy on my host and completed its tests. Afterwards, I launched a container running my language model application, with a focus on profiling the loading of the model from the local disk. I am looking for methods to confirm whether gdrcopy is active when my application is running. Since I am new to this, I would appreciate any guidance on how to verify the operation of gdrcopy in this context.

@pandyamarut pandyamarut changed the title How to effectively test gdrcopy is enable using Real world ML workload ? How to effectively test if gdrcopy is enabled using Real world ML workload ? Jan 31, 2024
@pakmarkthub
Copy link
Collaborator

Hi @pandyamarut,
Based on your question, my guess is that your application does not use GDRCopy directly. Probably you want to confirm that a library (e.g., UCX, NCCL) is properly utilizing GDRCopy? One way to do so is to export the environment variables below and rerun your application. If GDRCopy is used, you should see some output lines from GDRCopy.

export GDRCOPY_ENABLE_LOGGING=1
export GDRCOPY_LOG_LEVEL=1

@dhayanesh
Copy link

dhayanesh commented Apr 23, 2024

@pandyamarut where you able to verify whether your application is utilizing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants