1515 "cd bitsandbytes && cmake -DCOMPUTE_BACKEND=cpu -S . && make && pip --no-cache install . " ,
1616 ]
1717 )
18- .add_local_dir ("hivemind" , remote_path = "/root/hivemind /hivemind" )
19- .add_local_file ("requirements.txt" , remote_path = "/root/hivemind /requirements.txt" )
20- .add_local_file ("requirements-dev.txt" , remote_path = "/root/hivemind /requirements-dev.txt" )
21- .add_local_file ("requirements-docs.txt" , remote_path = "/root/hivemind /requirements-docs.txt" )
22- .add_local_file ("setup.py" , remote_path = "/root/hivemind /setup.py" )
23- .add_local_file ("pyproject.toml" , remote_path = "/root/hivemind /pyproject.toml" )
24- .add_local_dir ("tests" , remote_path = "/root/hivemind /tests" )
18+ .add_local_dir ("hivemind" , remote_path = "/root/project /hivemind" )
19+ .add_local_file ("requirements.txt" , remote_path = "/root/project /requirements.txt" )
20+ .add_local_file ("requirements-dev.txt" , remote_path = "/root/project /requirements-dev.txt" )
21+ .add_local_file ("requirements-docs.txt" , remote_path = "/root/project /requirements-docs.txt" )
22+ .add_local_file ("setup.py" , remote_path = "/root/project /setup.py" )
23+ .add_local_file ("pyproject.toml" , remote_path = "/root/project /pyproject.toml" )
24+ .add_local_dir ("tests" , remote_path = "/root/project /tests" )
2525)
2626
2727# Create an image with golang and other system dependencies
4141 "cd bitsandbytes && cmake -DCOMPUTE_BACKEND=cpu -S . && make && pip --no-cache install . " ,
4242 ]
4343 )
44- .add_local_dir ("hivemind" , remote_path = "/root/hivemind /hivemind" )
45- .add_local_file ("requirements.txt" , remote_path = "/root/hivemind /requirements.txt" )
46- .add_local_file ("requirements-dev.txt" , remote_path = "/root/hivemind /requirements-dev.txt" )
47- .add_local_file ("requirements-docs.txt" , remote_path = "/root/hivemind /requirements-docs.txt" )
48- .add_local_file ("setup.py" , remote_path = "/root/hivemind /setup.py" )
49- .add_local_file ("pyproject.toml" , remote_path = "/root/hivemind /pyproject.toml" )
50- .add_local_dir ("tests" , remote_path = "/root/hivemind /tests" )
44+ .add_local_dir ("hivemind" , remote_path = "/root/project /hivemind" )
45+ .add_local_file ("requirements.txt" , remote_path = "/root/project /requirements.txt" )
46+ .add_local_file ("requirements-dev.txt" , remote_path = "/root/project /requirements-dev.txt" )
47+ .add_local_file ("requirements-docs.txt" , remote_path = "/root/project /requirements-docs.txt" )
48+ .add_local_file ("setup.py" , remote_path = "/root/project /setup.py" )
49+ .add_local_file ("pyproject.toml" , remote_path = "/root/project /pyproject.toml" )
50+ .add_local_dir ("tests" , remote_path = "/root/project /tests" )
5151)
5252
5353
6464
6565
6666def setup_environment (* , build_p2pd = False ):
67- os .chdir ("/root/hivemind " )
67+ os .chdir ("/root/project " )
6868
6969 if build_p2pd :
7070 install_cmd = [
@@ -77,7 +77,7 @@ def setup_environment(*, build_p2pd=False):
7777 "--no-use-pep517" ,
7878 ]
7979 else :
80- install_cmd = ["pip" , "install" , "-e" , "." , "--no-use-pep517" ]
80+ install_cmd = ["pip" , "install" , "-e" , "." ]
8181
8282 subprocess .run (install_cmd , check = True )
8383
0 commit comments