Spaces:
Configuration error
Configuration error
Download backend/python/diffusers/Makefile from Baraaqasem/Chat: direct link, hf CLI and curl.
- Browser
- Download file 904 Bytes
-
https://huggingface.co/spaces/Baraaqasem/Chat/resolve/main/backend/python/diffusers/Makefile
- Command line
-
hf download hf://spaces/Baraaqasem/Chat/backend/python/diffusers/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Baraaqasem/Chat/resolve/main/backend/python/diffusers/Makefile
904 Bytes
| export CONDA_ENV_PATH = "diffusers.yml" | |
| ifeq ($(BUILD_TYPE), hipblas) | |
| export CONDA_ENV_PATH = "diffusers-rocm.yml" | |
| endif | |
| # Intel GPU are supposed to have dependencies installed in the main python | |
| # environment, so we skip conda installation for SYCL builds. | |
| # https://github.com/intel/intel-extension-for-pytorch/issues/538 | |
| ifneq (,$(findstring sycl,$(BUILD_TYPE))) | |
| export SKIP_CONDA=1 | |
| endif | |
| diffusers: protogen | |
| bash install.sh | |
| run: protogen | |
| @echo "Running diffusers..." | |
| bash run.sh | |
| @echo "Diffusers run." | |
| test: protogen | |
| bash test.sh | |
| protogen: backend_pb2_grpc.py backend_pb2.py | |
| protogen-clean: | |
| $(RM) backend_pb2_grpc.py backend_pb2.py | |
| backend_pb2_grpc.py backend_pb2.py: | |
| python3 -m grpc_tools.protoc -I../.. --python_out=. --grpc_python_out=. backend.proto | |
| clean: protogen-clean | |
| rm -rf venv __pycache__ |