mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 20:22:49 +00:00
Fix a couple typos (#1451)
* Mixtral quantized instruct. * Fix a couple typos.
This commit is contained in:
@ -4,7 +4,8 @@ try:
|
||||
from .candle import *
|
||||
except ImportError as e:
|
||||
# If we are in development mode, or we did not bundle the DLLs, we try to locate them here
|
||||
# PyO3 wont give us any infomration about what DLLs are missing, so we can only try to load the DLLs and re-import the module
|
||||
# PyO3 wont give us any information about what DLLs are missing, so we can only try to load
|
||||
# the DLLs and re-import the module
|
||||
logging.warning("DLLs were not bundled with this package. Trying to locate them...")
|
||||
import os
|
||||
import platform
|
||||
|
@ -363,7 +363,7 @@ class ModuleList(Module):
|
||||
self.add_module(str(offset + i), module)
|
||||
return self
|
||||
|
||||
# remove forward alltogether to fallback on Module's _forward_unimplemented
|
||||
# remove forward altogether to fallback on Module's _forward_unimplemented
|
||||
|
||||
|
||||
class ModuleDict(Module):
|
||||
@ -480,4 +480,4 @@ class ModuleDict(Module):
|
||||
# that's too cumbersome to type correctly with overloads, so we add an ignore here
|
||||
self[m[0]] = m[1] # type: ignore[assignment]
|
||||
|
||||
# remove forward alltogether to fallback on Module's _forward_unimplemented
|
||||
# remove forward altogether to fallback on Module's _forward_unimplemented
|
||||
|
Reference in New Issue
Block a user