Skip to content

Conversation

@john-sp
Copy link
Member

@john-sp john-sp commented Oct 4, 2025

Simple Dockerfile. Does not support downloading networks, nor is any network provided.

Example usage

docker build -t lc0 .

# Interactive mode:
docker run -gpus all -it -v /local/weights:/chess/weights lc0 --weights=/chess/weights/BT4-1740.pb.gz

## Training mode:
docker run --gpus all d lc0 -e TRAINING=true -e TRAINING_USER=foo -e TRAINING_PASSWORD=bar

Deepseek aided in the creation of this file, I have verified that everything is working.

@john-sp
Copy link
Member Author

john-sp commented Oct 4, 2025

Docker vs native give different outputs for best move. Draft until I figure out why

@john-sp john-sp marked this pull request as draft October 4, 2025 19:25
@john-sp john-sp marked this pull request as ready for review October 4, 2025 19:58
@john-sp
Copy link
Member Author

john-sp commented Oct 4, 2025

I tested more, 744706 seems odd, but BT4, T1 and 768x15x24h-t82-swa-7464000 are identical docker and native. As does. I am confident that it is fine

@borg323
Copy link
Member

borg323 commented Nov 14, 2025

I tested more, 744706 seems odd, but BT4, T1 and 768x15x24h-t82-swa-7464000 are identical docker and native.

Was this tested with the cuda or the cudnn backend? Of the tested nets only 744706 actually uses the cudnn code paths, so that might be a clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants