Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ chat_sat.py
File
chat_sat.py
SwissArmyTransformer/examples/mixtral-8x7b/chat_sat.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
argparse
3
from
sat.model.mixins
import
CachedAutoregressiveMixin
4
from
sat.quantization.kernels
import
quantize
Callers
nothing calls this directly
Calls
15
get_model_parallel_world_size
Function · 0.90
quantize
Function · 0.90
stream_filling_sequence
Function · 0.90
get_model_parallel_rank
Function · 0.90
filling_sequence
Function · 0.90
CachedAutoregressiveMixin
Class · 0.85
chat_history_to_prompt
Function · 0.85
BaseStrategy
Class · 0.85
get
Method · 0.80
add_mixin
Method · 0.80
append
Method · 0.80
print
Function · 0.50
Tested by
no test coverage detected