mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
colab debug
This commit is contained in:
2
model.py
2
model.py
@@ -2203,6 +2203,8 @@ class GenericHFTorchInferenceModel(HFTorchInferenceModel):
|
|||||||
|
|
||||||
# Get the model_type from the config or assume a model type if it isn't present
|
# Get the model_type from the config or assume a model type if it isn't present
|
||||||
try:
|
try:
|
||||||
|
print("LMP:", self.get_local_model_path())
|
||||||
|
print("M:", utils.koboldai_vars.model)
|
||||||
model_config = AutoConfig.from_pretrained(
|
model_config = AutoConfig.from_pretrained(
|
||||||
self.get_local_model_path() or utils.koboldai_vars.model,
|
self.get_local_model_path() or utils.koboldai_vars.model,
|
||||||
revision=utils.koboldai_vars.revision,
|
revision=utils.koboldai_vars.revision,
|
||||||
|
Reference in New Issue
Block a user