Spaces:
Running
on
A100
Running
on
A100
File size: 1,260 Bytes
745e016 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# ACE-Step-1.5
## Installation
This project uses [uv](https://github.com/astral-sh/uv) for dependency management.
### Install uv
```bash
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
```
### Install Project Dependencies
```bash
# Sync all dependencies
uv sync
```
### Run the Project
```bash
# Simplest way - run directly with uv
uv run acestep
# Run with parameters
uv run acestep --port 7860 --server-name 0.0.0.0 --share
# Or use the full module path
uv run python -m acestep.acestep_v15_pipeline
# Just Run profiling
uv run profile_inference.py
# Or activate the virtual environment first
source .venv/bin/activate # Linux/macOS
# or
.venv\Scripts\activate # Windows
acestep
```
Available parameters:
- `--port`: Server port (default: 7860)
- `--server-name`: Server address (default: 127.0.0.1, use 0.0.0.0 to listen on all interfaces)
- `--share`: Create a public share link
- `--debug`: Enable debug mode
## Development
Add new dependencies:
```bash
# Add runtime dependencies
uv add package-name
# Add development dependencies
uv add --dev package-name
```
Update dependencies:
```bash
uv sync --upgrade
``` |