Skip to content

Commit

Permalink
temporarily disable intel ci (ModelCloud#391)
Browse files Browse the repository at this point in the history
* fix list empty

* Update release.yml

* Update release.yml

* disable amd

* force amd
  • Loading branch information
CSY-ModelCloud authored Sep 19, 2024
1 parent 44b9df7 commit d51585c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,22 @@ jobs:
echo "Error: Unexpected result - $response"
exit 1
fi
tag="amd"
echo "Runner tag: $tag"
amd_online=0
intel_online=0
ip=""
response=$(curl -s --head --fail --max-time 5 http://${INTEL_SERVER}/gpu/status) || response="error"
if echo "$response" | grep "200 OK" > /dev/null; then
echo "Intel server is online. Set IP to $INTEL_SERVER"
ip=${INTEL_SERVER}
intel_online=1
else
echo "Intel server is offline."
fi
# response=$(curl -s --head --fail --max-time 5 http://${INTEL_SERVER}/gpu/status) || response="error"
# if echo "$response" | grep "200 OK" > /dev/null; then
# echo "Intel server is online. Set IP to $INTEL_SERVER"
# ip=${INTEL_SERVER}
# intel_online=1
# else
# echo "Intel server is offline."
# fi
response=$(curl -s --head --fail --max-time 5 http://${AMD_SERVER}/gpu/status) || response="error"
if echo "$response" | grep "200 OK" > /dev/null; then
Expand Down

0 comments on commit d51585c

Please sign in to comment.