Closed projects-g closed 9 months ago
I am running a Debian system, with python 3.10.8.
When I try to load the model,
translator = Translator( SEAMLESSM4T_MODEL_CARD_NAME, "vocoder_36langs", torch.device(device), dtype=torch.float32 )
I run into OS Error: Value too large for defined data type as the OS has max limits for path lengths and os.open(path) simply fails.
OS Error: Value too large for defined data type
os.open(path)
Thefile:// proceeds to download from the hub even if the file is physically present at the local location which I confirmed with os.path.exists.
file://
os.path.exists
Supplying a user given directory to download and load models would solve these problems.
Installing the lib in editable mode fixed the problem for me
I am running a Debian system, with python 3.10.8.
When I try to load the model,
I run into
OS Error: Value too large for defined data type
as the OS has max limits for path lengths andos.open(path)
simply fails.The
file://
proceeds to download from the hub even if the file is physically present at the local location which I confirmed withos.path.exists
.Supplying a user given directory to download and load models would solve these problems.