Skip to content

Refactoring prepare.py for cpu fallback#180

Open
Varun-sai-500 wants to merge 2 commits intoz-x-yang:mainfrom
Varun-sai-500:cpu_fallback#2
Open

Refactoring prepare.py for cpu fallback#180
Varun-sai-500 wants to merge 2 commits intoz-x-yang:mainfrom
Varun-sai-500:cpu_fallback#2

Conversation

@Varun-sai-500
Copy link
Contributor

I have replaced cuda with device logic, and dataparallel and autocast have been wrapped aroung in if/else for cpu fallback

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.

1 participant