Giter Club home page Giter Club logo

Comments (6)

roy7 avatar roy7 commented on June 21, 2024

Try

gzip train.0
parse.py train

Parse I think will check for the number and expect the .gz on its own.

from leela-zero.

marcocalignano avatar marcocalignano commented on June 21, 2024

Next problem I have

name: GeForce GTX 760 major: 3 minor: 0 memoryClockRate(GHz): 1.0845
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.92GiB

and I get this :

2017-11-14 21:29:51.688804: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_0_bfc) ran out of memory trying to allocate 227.25MiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.

2017-11-14 21:29:51.692699: W tensorflow/stream_executor/cuda/cuda_dnn.cc:2223]

2017-11-14 21:29:51.693036: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_0_bfc) ran out of memory trying to allocate 227.25MiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.

from leela-zero.

ssj-gz avatar ssj-gz commented on June 21, 2024

I had to halve the BATCH_SIZE in training/tf/parse.py (set it to 128) to avoid (I think?) that error on my GTX 950. I may have had to lower per_process_gpu_memory_fraction a little, too.

from leela-zero.

marcocalignano avatar marcocalignano commented on June 21, 2024

Thanks it works now! even if 224.638 pos/s I guess is not that good

from leela-zero.

gcp avatar gcp commented on June 21, 2024

I may have had to lower per_process_gpu_memory_fraction a little, too.

You can probably use larger batches if you set it higher, not lower. TensorFlow defaults to using 100% of GPU RAM but this is annoying if you want to run leelaz at the same time, so I changed the default to 75%.

If you lower the batch size, you should lower the learning rate in MomentumOptimizer a bit, by a factor of sqrt() the factor you lowered the batch size with.

from leela-zero.

roy7 avatar roy7 commented on June 21, 2024

@marcocalignano Is this issue ready to close? :)

from leela-zero.

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.