Skip to content

Conversation

@IlyasMoutawwakil
Copy link
Member

@IlyasMoutawwakil IlyasMoutawwakil commented Aug 28, 2023

#36 didn't fully solve the CUDA_VISIBLE_DEVICES #27 issue because I ended up relying on torch for device handling and third party packages imported it anyways.
This should do it. I will also add a test later that checks CUDA_VISIBLE_DEVICES is respected when passed in config.
Edit: At the end it was mostly optimum.exporters that imported torch when TasksManager is imported.

@IlyasMoutawwakil IlyasMoutawwakil changed the title Moving config code to separate folders Moving all config code to separate files Aug 28, 2023
@IlyasMoutawwakil
Copy link
Member Author

IlyasMoutawwakil commented Aug 28, 2023

I found out my GPU and ORT Training tests (exit code) are not propagated to the workflow 😅 probably because they're launched through a script or docker. I'll fix them in another PR. I was launching them locally each time before pushing so I never noticed until now.

@IlyasMoutawwakil IlyasMoutawwakil changed the title Moving all config code to separate files Re: Major refactoring #36 Aug 28, 2023
@IlyasMoutawwakil IlyasMoutawwakil merged commit 323bfbe into main Aug 28, 2023
@IlyasMoutawwakil IlyasMoutawwakil deleted the cuda-visible-devices branch April 30, 2024 11:34
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

Successfully merging this pull request may close these issues.

2 participants