Skip to content

add vm + benchmark scripts for confidential compute#18

Open
ti3x wants to merge 1 commit intomainfrom
cc_benchmark
Open

add vm + benchmark scripts for confidential compute#18
ti3x wants to merge 1 commit intomainfrom
cc_benchmark

Conversation

@ti3x
Copy link
Contributor

@ti3x ti3x commented Feb 5, 2026

No description provided.

Copy link

@waqas-anonymco waqas-anonymco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scripts look good to me. Added few minor points.

if [ -z "$HF_TOKEN" ]; then
echo "HF_TOKEN is not set. Please enter your Hugging Face token:"
read -s HF_TOKEN
echo "HF_TOKEN set: $HF_TOKEN"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't log $HF_TOKEN on screen.

"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don't need do call update again here.

# Exit immediately if a command exits with a non-zero status.
set -e

# Parse command-line arguments

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add sudo apt upgrade -y to this script as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants