File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ func TestLoadModel(t *testing.T) {
112112
113113 resp , err := client .LoadModel (context .Background (), & pb.ModelOptions {
114114 ModelFile : mainModelPath ,
115+ ModelPath : modelDir ,
115116 Options : []string {
116117 "text_encoder_model:Qwen3-Embedding-0.6B-Q8_0.gguf" ,
117118 "dit_model:acestep-v15-turbo-Q8_0.gguf" ,
@@ -151,6 +152,7 @@ func TestSoundGeneration(t *testing.T) {
151152 // Load models
152153 loadResp , err := client .LoadModel (context .Background (), & pb.ModelOptions {
153154 ModelFile : mainModelPath ,
155+ ModelPath : modelDir ,
154156 Options : []string {
155157 "text_encoder_model:Qwen3-Embedding-0.6B-Q8_0.gguf" ,
156158 "dit_model:acestep-v15-turbo-Q8_0.gguf" ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func (a *AceStepCpp) Load(opts *pb.ModelOptions) error {
2424 lmModel := opts .ModelFile
2525
2626 // Get the base directory from ModelFile for resolving relative paths
27- baseDir := filepath . Dir ( lmModel )
27+ baseDir := opts . ModelPath
2828
2929 var textEncoderModel , ditModel , vaeModel string
3030
You can’t perform that action at this time.
0 commit comments