Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed May 23, 2024
1 parent 886dd54 commit 71ba100
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
6 changes: 0 additions & 6 deletions llm/axolotl/axolotl-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,3 @@ run: |
envs:
HF_TOKEN: # TODO: Fill with your own huggingface token, or use --env to pass.






6 changes: 0 additions & 6 deletions llm/axolotl/axolotl-spot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,4 @@ run: |
envs:
HF_TOKEN: # TODO: Fill with your own huggingface token, or use --env to pass.
BUCKET: # TODO: Fill with your unique bucket name, or use --env to pass.






4
5 changes: 3 additions & 2 deletions sky/skylet/attempt_skylet.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ def restart_skylet():
shell=True,
check=False)
subprocess.run(
# Activate python environment first to make sure skylet can find the
# cloud SDK for autostopping.
# We have made sure that `attempt_skylet.py` is executed with the
# skypilot runtime env activated, so that skylet can access the cloud
# CLI tools.
f'nohup {constants.SKY_PYTHON_CMD} -m sky.skylet.skylet'
' >> ~/.sky/skylet.log 2>&1 &',
shell=True,
Expand Down
2 changes: 0 additions & 2 deletions sky/skylet/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@
'bash Miniconda3-Linux-x86_64.sh -b && '
'eval "$(~/miniconda3/bin/conda shell.bash hook)" && conda init && '
'conda config --set auto_activate_base true && '
# Use $(echo ~) instead of ~ to avoid the error "no such file or directory".
# Also, not using $HOME to avoid the error HOME variable not set.
f'conda activate base; }}; '
'grep "# >>> conda initialize >>>" ~/.bashrc || '
'{ conda init && source ~/.bashrc; };'
Expand Down
2 changes: 1 addition & 1 deletion tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ def test_kubernetes_storage_mounts():
[
'docker:nvidia/cuda:11.8.0-devel-ubuntu18.04',
'docker:ubuntu:18.04',
# Test latest image with python 3.11 installed by default.
# Test image with python 3.11 installed by default.
'docker:continuumio/miniconda3:24.1.2-0',
# Test python>=3.12 where SkyPilot should automatically create a separate
# conda env for runtime with python 3.10.
Expand Down

0 comments on commit 71ba100

Please sign in to comment.