Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hpcaitech/ColossalAI
/ test_drafter.py
File
test_drafter.py
tests/test_infer/test_drafter.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
pytest
2
import
torch
3
from
transformers
import
AutoTokenizer, LlamaConfig, LlamaForCausalLM
4
Callers
nothing calls this directly
Calls
3
test_drafter
Function · 0.85
test_spec_dec
Function · 0.70
from_pretrained
Method · 0.45
Tested by
no test coverage detected