Spark-Notebooks / on_startup.sh
lhoestq's picture
lhoestq HF Staff
update to py3.12, use uv and add hf-mount
64d005b
raw
history blame contribute delete
386 Bytes
#!/bin/bash
# Write some commands here that will run on root user before startup.
# For example, to clone transformers and install it in dev mode:
# git clone https://github.com/huggingface/transformers.git
# cd transformers && pip install -e ".[dev]"
# Install hf-mount
INSTALL_DIR=/usr/local/bin
curl -fsSL https://raw.githubusercontent.com/huggingface/hf-mount/main/install.sh | sh