Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Repository
60472f9d2b03822e9e771d9a4a4885e2496c5537
Switch branch/tag
text-generation-inference
server
text_generation
models
causal_lm.py
Find file
Blame
History
Permalink
fix(server): Check for device type correctly when determining initial padding (#16)
· 686cc667
Nick Hill
authored
Dec 30, 2022
AFAIK there is no torch device type called "gpu".
686cc667
causal_lm.py
16.6 KB
Edit
Web IDE
Replace causal_lm.py
×
Attach a file by drag & drop or
click to upload
Commit message
Replace causal_lm.py
Replace file
Cancel
A new branch will be created in your fork and a new merge request will be started.