Giter Site home page Giter Site logo

无法使用GPU about docee HOT 6 CLOSED

WindSearcher avatar WindSearcher commented on July 29, 2024
无法使用GPU

from docee.

Comments (6)

Spico197 avatar Spico197 commented on July 29, 2024

您好,感谢对本项目的关注。您的图片没有上传完,看不到您的输出。能否提供一个完整的log?另外您看下这里第12行的环境变量是否为您所用卡的正确设置:

GPUS="1"
# GPUS=$(python wait.py --task_name="$TASK_NAME" --cuda=$GPU_SCOPE --wait="schedule" --req_gpu_num=$REQ_GPU_NUM)
echo "GPUS: $GPUS"
EPOCH_NUM=100
if [[ -z "$GPUS" ]]; then
echo "GPUS is empty, stop..."
# python send_message.py "Task $TASK_NAME not started due to empty gpu assigning, please check the log."
echo "Task $TASK_NAME not started due to empty gpu assigning, please check the log."
else
echo "GPU ready."
# python send_message.py "Task $TASK_NAME started."
echo "Task $TASK_NAME started."
CUDA_VISIBLE_DEVICES=${GPUS} python -u run_dee_task.py \
--use_bert=False \

from docee.

WindSearcher avatar WindSearcher commented on July 29, 2024

您好,感谢对本项目的关注。您的图片没有上传完,看不到您的输出。能否提供一个完整的log?另外您看下这里第12行的环境变量是否为您所用卡的正确设置:

GPUS="1"
# GPUS=$(python wait.py --task_name="$TASK_NAME" --cuda=$GPU_SCOPE --wait="schedule" --req_gpu_num=$REQ_GPU_NUM)
echo "GPUS: $GPUS"
EPOCH_NUM=100
if [[ -z "$GPUS" ]]; then
echo "GPUS is empty, stop..."
# python send_message.py "Task $TASK_NAME not started due to empty gpu assigning, please check the log."
echo "Task $TASK_NAME not started due to empty gpu assigning, please check the log."
else
echo "GPU ready."
# python send_message.py "Task $TASK_NAME started."
echo "Task $TASK_NAME started."
CUDA_VISIBLE_DEVICES=${GPUS} python -u run_dee_task.py \
--use_bert=False \

本项目运行:
image
image

其它项目运行:
image

from docee.

Spico197 avatar Spico197 commented on July 29, 2024

您好,感谢您的反馈。我想先确认一下:

  1. 服务器上卡1可不可用(cuda:1
  2. 切换成bash启动是否可行:bash scripts/run_ptpcg.sh

from docee.

WindSearcher avatar WindSearcher commented on July 29, 2024

您好,感谢您的反馈。我想先确认一下:

  1. 服务器上卡1可不可用(cuda:1
  2. 切换成bash启动是否可行:bash scripts/run_ptpcg.sh

万分感谢您,我的卡号应该是0

from docee.

Spico197 avatar Spico197 commented on July 29, 2024

好嘞您再试试,可以等跑起来了再关issue。后续问题欢迎继续留言讨论~

from docee.

WindSearcher avatar WindSearcher commented on July 29, 2024

好嘞您再试试,可以等跑起来了再关issue。后续问题欢迎继续留言讨论~

好的,感谢大佬

from docee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.