Giter VIP home page Giter VIP logo

Comments (4)

chengduoZH avatar chengduoZH commented on May 23, 2024

@ccmeteorljh 为什么是多进程单卡?
没有设置环境变量(CUDA_VISIBLE_DEVICES)?

from benchmark.

ccmeteorljh avatar ccmeteorljh commented on May 23, 2024

@ccmeteorljh 为什么是多进程单卡?
没有设置环境变量(CUDA_VISIBLE_DEVICES)?

设置了,想试试多进程模式下单卡和单进程单卡下的速度对比如何,上面那个问题import一下就可以了

Traceback (most recent call last):
  File "train.py", line 785, in <module>
    train(args)
  File "train.py", line 703, in train
    token_num, predict, pyreader)
  File "train.py", line 534, in train_loop
    feed=feed_dict_list)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/parallel_executor.py", line 286, in run
    return_numpy=return_numpy)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/executor.py", line 640, in run
    return_numpy=return_numpy)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/paddle/fluid/executor.py", line 482, in _run_parallel
    "Feed a list of tensor, the list should be the same size as places"
ValueError: Feed a list of tensor, the list should be the same size as places

from benchmark.

QianShengWu avatar QianShengWu commented on May 23, 2024

设置了,想试试多进程模式下单卡和单进程单卡下的速度对比如何,上面那个问题import一下就可以了

老哥,你怎么解决的,求教,我也出现同样的问题

from benchmark.

chengduoZH avatar chengduoZH commented on May 23, 2024

@QianShengWu 目前还不支持多进程单卡模式

from benchmark.

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.