Skip to content

Commit

Permalink
lazy FineTuneService
Browse files Browse the repository at this point in the history
  • Loading branch information
anda-ren committed Nov 13, 2023
1 parent cb83c7f commit 26ca316
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
import net.jpountz.lz4.LZ4Factory;
import net.jpountz.lz4.LZ4SafeDecompressor;
import org.apache.commons.codec.binary.Hex;
import org.springframework.context.annotation.Lazy;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down Expand Up @@ -157,7 +158,7 @@ public ModelService(
TrashService trashService,
JobSpecParser jobSpecParser,
BlobService blobService,
FineTuneService fineTuneService
@Lazy FineTuneService fineTuneService
) {
this.modelMapper = modelMapper;
this.modelVersionMapper = modelVersionMapper;
Expand Down

0 comments on commit 26ca316

Please sign in to comment.