This file contains 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 typing import Optional | |
from dagster import AssetExecutionContext, ConfigurableResource, Definitions, InitResourceContext, asset | |
from ray.autoscaler.sdk import create_or_update_cluster, run_on_cluster, teardown_cluster | |
class RayClusterResource(ConfigurableResource): | |
cluster_config: str |
This file contains 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
[Profile] | |
Device = evdev/0/8Bitdo SN30 Pro | |
Buttons/A = `TR2`|SOUTH | |
Buttons/B = TR|EAST | |
Buttons/- = SELECT | |
Buttons/+ = START | |
Buttons/Home = MODE | |
IR/Up = TL&`Axis 3-` | |
IR/Down = TL&`Axis 3+` | |
IR/Left = TL&`Axis 2-` |
This file contains 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
- id: 'port-forward' | |
name: 'gcr.io/cloud-builders/docker' | |
args: [ | |
'run', | |
'-itd', | |
'--network-alias', 'ml-pipeline.local', | |
'-e', 'CLOUDSDK_COMPUTE_ZONE=${_KF_ZONE}', | |
'-e', 'CLOUDSDK_CONTAINER_CLUSTER=${_KF_CLUSTER}', | |
'-e', 'CLOUDSDK_CORE_PROJECT=${_KF_PROJECT}', | |
'-p', '8888:8888', |
This file contains 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 __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type | |
import getpass | |
import logging | |
import logging.config | |
import os | |
import socket | |
try: |
This file contains 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
#!/usr/bin/env bash | |
PROJECT=$1 | |
INSTANCE_NAME=$2 | |
MACHINE_TYPE=${3:-n1-standard-4} | |
ZONE=${4:-us-central1-c} | |
NUM_GPUS=${5:-1} | |
gcloud compute --project ${PROJECT} instances create ${INSTANCE_NAME} \ | |
--zone ${ZONE} \ |
This file contains 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
Traceback (most recent call last): | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 284, in _execute | |
response = task() | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 357, in <lambda> | |
lambda: self.create_worker().do_instruction(request), request) | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 597, in do_instruction | |
return getattr(self, request_type)( | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 628, in process_bundle | |
bundle_processor = self.bundle_processor_cache.get( | |
File "/venv/lib/python3.8/site-packages/apache_beam/runners/worker/sdk_worker.py", line 458, in get |
This file contains 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
layer filters size input output | |
0 conv 32 3 x 3 / 1 416 x 416 x 3 -> 416 x 416 x 32 | |
1 conv 64 3 x 3 / 2 416 x 416 x 32 -> 208 x 208 x 64 | |
2 conv 32 1 x 1 / 1 208 x 208 x 64 -> 208 x 208 x 32 | |
3 conv 64 3 x 3 / 1 208 x 208 x 32 -> 208 x 208 x 64 | |
4 Shortcut Layer: 1 | |
5 conv 128 3 x 3 / 2 208 x 208 x 64 -> 104 x 104 x 128 | |
6 conv 64 1 x 1 / 1 104 x 104 x 128 -> 104 x 104 x 64 | |
7 conv 128 3 x 3 / 1 104 x 104 x 64 -> 104 x 104 x 128 | |
8 Shortcut Layer: 5 |
This file contains 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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "AWS CloudFormation template to deploy jenkins/nginx.", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type" : "String", |
This file contains 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
# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ | |
# Firmware v1.37 - http://support.8bitdo.com/ | |
input_driver = "dinput" | |
input_device = "Bluetooth Wireless Controller " | |
input_device_display_name = "8Bitdo SN30 Pro" | |
# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. | |
# Hex vid:pid = 2DC8:6101 -> Decimal vid:pid = 11720:24833 | |
# input_vendor_id = "11720" |
This file contains 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
input_device = "DragonRise Inc. Generic USB Joystick " | |
input_driver = "udev" | |
input_l_btn = "6" | |
input_l_btn_label = "L" | |
input_load_state_btn = "6" | |
input_r_btn = "7" | |
input_r_btn_label = "R" | |
input_save_state_btn = "7" |
NewerOlder