This Gist serves the sole purpose of condensing the Ray documentation in regards to Ray Core, Tune and RLlib. It was originally written for my personal use: as some quick notes to skim through. Moreover, the code is heavily if not entirely based on the Documentation snippets which can be found here
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
#!/bin/bash | |
mkdir -p $HOME/diego-install | |
cd $HOME/diego-install | |
# Installing utilities | |
echo "--------------------------------------------------------------------" | |
echo "> Updating apt" | |
sudo apt update | |
echo "--------------------------------------------------------------------" |
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
use ropey::{Rope, RopeSlice}; | |
use serde::{Deserialize, Serialize}; | |
use std::fmt; | |
use thiserror::Error; | |
use tower_lsp::lsp_types::{Position, TextDocumentContentChangeEvent}; | |
use tree_sitter::{InputEdit, Parser, Point, Tree}; | |
pub struct TextDocument { | |
pub rope: Rope, | |
pub tree: Option<Tree>, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.