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
| #Base image: https://gist.github.com/WizardlyBump17/bd1d8e1d1ad5918dd8dbf126c87d1e01 built with Python 3.11 | |
| FROM localhost/intel-gpu-driver-minimal-python3.11 | |
| RUN apt update \ | |
| && apt upgrade -y \ | |
| && apt install -y \ | |
| git \ | |
| libze-intel-gpu1 \ | |
| libze-dev \ | |
| intel-ocloc |
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
| #Base image: https://gist.github.com/WizardlyBump17/f1dd5d219861779c18cc3dd33f2575a1 | |
| FROM localhost/intel-gpu-driver-minimal | |
| #To change the Python version, use `--build-arg PYTHON_VERSION=<version>` when building | |
| ARG PYTHON_VERSION=3.11 | |
| RUN apt update \ | |
| && apt upgrade -y \ | |
| && add-apt-repository -y ppa:deadsnakes/ppa \ | |
| && apt install -y \ | |
| wget \ |
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
| #Base image: hhttps://gist.github.com/WizardlyBump17/f8a36f0197f7d2bdad957a2a0046d023 | |
| FROM localhost/intel-gpu-driver-minimal-oneapi | |
| #The libze-intel-gpu1 package is needed for the `export ONEAPI_DEVICE_SELECTOR=level_zero:0`, otherwise nothing will work | |
| RUN apt update \ | |
| && apt upgrade -y \ | |
| && apt install -y libze-intel-gpu1 \ | |
| && add-apt-repository -y ppa:deadsnakes/ppa \ | |
| && apt install -y \ | |
| python3.11 |
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
| #base image built from https://gist.github.com/WizardlyBump17/f1dd5d219861779c18cc3dd33f2575a1 | |
| FROM localhost/intel-gpu-driver-minimal | |
| RUN apt update \ | |
| && apt upgrade -y \ | |
| && apt install -y \ | |
| wget \ | |
| build-essential | |
| RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ |
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
| FROM docker.io/ubuntu:24.04 | |
| RUN apt update | |
| RUN apt upgrade -y | |
| RUN apt install -y software-properties-common | |
| RUN add-apt-repository -y ppa:kobuk-team/intel-graphics | |
| #add libze-intel-gpu1 if you want to run stuff like Ollama and use `export ONEAPI_DEVICE_SELECTOR=level_zero:0` | |
| RUN apt install -y \ |
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
| FROM docker.io/intel/intel-extension-for-pytorch:2.7.10-xpu | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| RUN apt update && apt upgrade -y | |
| RUN apt install -y \ | |
| libgl1 \ | |
| python3-tk | |
| RUN git clone https://github.com/WizardlyBump17/kohya_ss --recurse-submodules | |
| WORKDIR kohya_ss |
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
| help() { | |
| echo "Usage: ./$0 [project] [version] [output]" | |
| exit 0 | |
| } | |
| check_command() { | |
| if ! [ -x "$(command -v $1)" ]; then | |
| echo "The $1 command is not available. Install the package related to it and run this script again." | |
| exit 1 | |
| fi |
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
| import java.util.Arrays; | |
| public class Coord { | |
| public static void main(String[] args) { | |
| int x = (int) -Math.pow(2, 32); | |
| int y = (int) Math.pow(2, 23) - 1; | |
| int z = (int) Math.pow(2, 32); | |
| int chunkX = x >> 4; |
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
| package com.wizardlybump17.tests.generic; | |
| import lombok.NonNull; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Scanner; | |
| public class Bomba1e2 { |
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
| [General] | |
| Name=Profile name | |
| [Output] | |
| Mode=Advanced | |
| FilenameFormatting=%CCYY-%MM-%DD %hh-%mm-%ss | |
| DelayEnable=false | |
| DelaySec=20 | |
| DelayPreserve=true | |
| Reconnect=true |
NewerOlder