Add package data for GPU rent and update CLI documentation
- Added package data configuration for the 'gpu_rent' package in pyproject.toml. - Updated README.md to include usage instructions for Windows and Unix launchers. - Enhanced CLI documentation in cli.md to reflect new commands and their functionalities. - Revised setup.md to clarify installation steps and environment setup. - Improved error handling and command descriptions in the CLI implementation. - Added new functions for model version handling and flavor resolution in the codebase. - Updated state management to include additional properties for better tracking.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from gpu_rent.bootstrap import bootstrap_script
|
||||
|
||||
|
||||
def test_bootstrap_script_is_native_swarmui():
|
||||
script = bootstrap_script()
|
||||
assert "docker.io" not in script
|
||||
assert "docker run" not in script
|
||||
assert "nvidia-container" not in script
|
||||
assert "/opt/swarmui" in script
|
||||
assert "/mnt/swarm_data" in script
|
||||
assert "launch-linux.sh --launch_mode none --host 127.0.0.1 --port 7801" in script
|
||||
assert "systemctl enable swarmui" in script
|
||||
assert "mkfs.ext4" in script
|
||||
assert "apt-get upgrade" not in script
|
||||
assert ".gpu-rent-ready" in script
|
||||
assert "src/BuiltinExtensions/ComfyUIBackend/DLNodes" in script
|
||||
Reference in New Issue
Block a user