Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ bfloat16
Method
bfloat16
examples/pytorch/gpt/utils/gpt_decoder.py:380–383 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
378
return
self
379
380
def
bfloat16(self):
381
self.weight.bfloat16()
382
self._initialize_model(force_init=True)
383
return
self
384
385
386
class
GptContextDecoder(FtModuleBase):
Callers
nothing calls this directly
Calls
2
_initialize_model
Method · 0.95
bfloat16
Method · 0.45
Tested by
no test coverage detected