mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-13 06:45:26 -04:00
Keep the relocated upstream source importable, select CUDA 13 PyTorch wheels instead of the aarch64 CPU fallback, and decode reference audio without torchcodec, which has no Linux arm64 wheels. Assisted-by: Codex:gpt-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
32 lines
612 B
Makefile
32 lines
612 B
Makefile
.PHONY: fish-speech test-source-preparation
|
|
fish-speech: test-source-preparation
|
|
bash install.sh
|
|
|
|
test-source-preparation:
|
|
bash prepare-source_test.sh
|
|
|
|
.PHONY: run
|
|
run: fish-speech
|
|
@echo "Running fish-speech..."
|
|
bash run.sh
|
|
@echo "fish-speech run."
|
|
|
|
.PHONY: test-unit
|
|
test-unit:
|
|
python3 -m unittest -v prepare_upstream_test.py
|
|
bash run_test.sh
|
|
|
|
.PHONY: test
|
|
test: fish-speech test-unit
|
|
@echo "Testing fish-speech..."
|
|
bash test.sh
|
|
@echo "fish-speech tested."
|
|
|
|
.PHONY: protogen-clean
|
|
protogen-clean:
|
|
$(RM) backend_pb2_grpc.py backend_pb2.py
|
|
|
|
.PHONY: clean
|
|
clean: protogen-clean
|
|
rm -rf venv __pycache__
|