This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# define hashes | |
GIT_HASH=0a7a9d10 | |
QUILT_HASH=3722a498 | |
DOCKER_HASH=sha256:8a4f4123c92a7fe2e8ca4c404094ab95dc1fb868ad077d2e084ba4082a5a29c1 | |
# pull image | |
DOCKER_IMAGE=quiltdata/pytorch-detectron2-demo@${DOCKER_HASH} | |
docker pull ${DOCKER_IMAGE} | |
# run image (interactively for illustration) | |
nvidia-docker run -it \ | |
--ulimit memlock=-1 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# define hashes | |
GIT_HASH=0a7a9d10 | |
QUILT_HASH=3722a498 | |
DOCKER_HASH=sha256:8a4f4123c92a7fe2e8ca4c404094ab95dc1fb868ad077d2e084ba4082a5a29c1 | |
# pull image | |
DOCKER_IMAGE=quiltdata/pytorch-detectron2-demo@${DOCKER_HASH} | |
docker pull ${DOCKER_IMAGE} | |
# run image (interactively for illustration) | |
nvidia-docker run -it \ | |
--ulimit memlock=-1 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def binop(fun: int, x: int, y: int) -> int: | |
val = (x << 1) + y | |
return (fun >> val) & 1 | |
possible = set() | |
# h(x, g(y, z)) | |
for h in range(16): | |
for g in range(16): | |
outputs = 0 | |
for n in range(8): |
OlderNewer