Giter Site home page Giter Site logo

Comments (3)

ratsgo avatar ratsgo commented on August 19, 2024

도커 컨테이너에서 실행하신건가요?
환경 정보를 적어주시면 검토해보겠습니다.

from embedding.

ratsgo avatar ratsgo commented on August 19, 2024

아직 환경 정보를 모르긴 하지만, 해결책 세 가지 제안드립니다. 셋 중 하나를 택해 진행하시면 됩니다.

(1) 도커 컨테이너 사용을 추천드립니다 : 사용 방법은 이곳이나 도서를 참고하시면 됩니다.

(2) 혹시 도커 컨테이너를 사용하지 않고, 높은 버전의 텐서플로를 사용 중이시라면 아래처럼 해보시면 어떨까 싶습니다.
본 레파지토리가 사용하는 텐서 버전은 1.12.0입니다. 참고하셔요.

import tensorflow as tf
if tf.VERSION.startswith('1.13'):
    from tensorflow.python.ops import nccl_ops as nccl
else:
    from tensorflow.contrib import nccl

(3) tune_utils.py에서 멀티 지피유, nccl을 사용하는 모델은 XLNet뿐입니다.
따라서 BERT만 파인 튜닝하신다고 한다면 nccl 관련 에러가 나는 부분은 무시하시고 진행하셔도 됩니다.

from embedding.

indexxlim avatar indexxlim commented on August 19, 2024

도커를 사용하지 않아서 그랬나봅니다 감사합니다.

from embedding.

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.