Closed amisevsk closed 1 month ago
To work around this issue for now, avoid specifying paths that contain subdirectories. If you have the directory structure
./my-model
|-- foo/
| |-- foo.bin
|-- bar/
| |-- bar.bin
|-- model.bin
it should be safe to pack it using model parts:
model:
name: my-model
path: my-model/
parts:
- name: foo
path: my-model/foo/
- name: bar
path: my-model/bar/
Describe the bug Modelkits packed on Windows end up using tarballs with windows-style paths (i.e. using
\
as the path separator). When unpacking such models on a non-Windows machine (where/
is the path separator), directories are not detected and result in filenames instead of directories, e.g.my-model\my-file.bin
as a filename)To Reproduce
Version nightly
Additional context N/A