Skip to content

Update model.py#14

Open
nunombispo wants to merge 1 commit into
ai-forever:mainfrom
nunombispo:main
Open

Update model.py#14
nunombispo wants to merge 1 commit into
ai-forever:mainfrom
nunombispo:main

Conversation

@nunombispo

Copy link
Copy Markdown

Replace @torch.cuda.amp.autocast() with torch.autocast(device_type=self.device.type) for proper device recognition

Replace  @torch.cuda.amp.autocast() with torch.autocast(device_type=self.device.type) for proper device recognition
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