Update loader.py
This commit is contained in:
parent
1ef7c9507d
commit
44617ea268
1 changed files with 3 additions and 3 deletions
|
|
@ -593,10 +593,10 @@ class FastModel(FastBaseModel):
|
|||
"os.environ['TRITON_F32_DEFAULT'] = 'ieee';"
|
||||
elif "gpt-oss" in lowered_model_name:
|
||||
os.environ["UNSLOTH_DISABLE_STATIC_GENERATION"] = "1"
|
||||
# CCE fails on Tesla T4
|
||||
# OutOfResources: out of resource: shared memory, Required: 98304, Hardware limit: 65536. Reducing block sizes or `num_stages`
|
||||
os.environ["UNSLOTH_ENABLE_CCE"] = "0"
|
||||
if not load_in_4bit:
|
||||
# CCE fails on Tesla T4
|
||||
# OutOfResources: out of resource: shared memory, Required: 98304, Hardware limit: 65536. Reducing block sizes or `num_stages`
|
||||
os.environ["UNSLOTH_ENABLE_CCE"] = "0"
|
||||
# Only upcast MoE biases for MXFP4, not BnB
|
||||
os.environ["UNSLOTH_FORCE_CUSTOM_DTYPE"] = \
|
||||
"all;None;None;"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue