Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/next/pages/features/compute-server.tsx
Views: 687
/*1* This file is part of CoCalc: Copyright © 2023 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/4import { Layout } from "antd";56import { Icon } from "@cocalc/frontend/components/icon";7import Content from "components/landing/content";8import Footer from "components/landing/footer";9import Head from "components/landing/head";10import Header from "components/landing/header";11import Info from "components/landing/info";12import Pitch from "components/landing/pitch";13import SignIn from "components/landing/sign-in";14import { Paragraph, Text, Title } from "components/misc";15import { Customize } from "lib/customize";16import withCustomize from "lib/with-customize";17import runningComputeServer from "public/features/running-compute-server.png";18import ComputeServerCreate from "public/features/create-compute-server.png";19import ComputeServerSelector from "public/features/compute-server-select.png";20import A from "components/misc/A";21import ComputeServerTemplates from "components/landing/compute-server-templates";22import Videos from "components/videos";2324const VIDEOS = [25{26id: "7fzLd6HD-Qs",27title: "Using Anaconda and Python with a GPU on a compute server on CoCalc",28},29{ id: "OMN1af0LUcA", title: "Using OpenWebUI and Ollama On CoCalc" },30{ id: "JG6jm6yv_KE", title: "PyTorch with a GPU on CoCalc" },31{ id: "NkNx6tx3nu0", title: "Running On-Prem Compute Servers on CoCalc" },32{33id: "Uwn3ngzXD0Y",34title: "JAX Quickstart on CoCalc using a GPU (or on CPU)",35},36];3738export const component = "Compute Servers";39export const title = `Enhance your Projects with ${component}`;40export const logo = "servers";4142export default function ComputeServer({ customize }) {43const { computeServersEnabled, siteName } = customize;44if (!computeServersEnabled) {45return <div>Compute Servers are not enabled on this server.</div>;46}47return (48<Customize value={customize}>49<Head title={title} />50<Layout>51<Header page="features" subPage="compute-server" />52<Layout.Content>53<div style={{ textAlign: "center", margin: "15px 0" }}>54<ComputeServerTemplates />55</div>56<Content57landing58startup={component}59body={<Icon name={logo} style={{ fontSize: "128px" }} />}60title={61<>62Enhance your Projects with{" "}63<A href="https://doc.cocalc.com/compute_server.html">64{component}65</A>66</>67}68subtitleBelow={true}69subtitle={70<div>71Extend your project's compute capabilities far beyond the bounds72of its underlying compute environment. Read{" "}73<A href="https://doc.cocalc.com/compute_server.html">74the documentation75</A>76.77</div>78}79image={runningComputeServer}80alt={"A Running Compute Server with an H100 GPU"}81caption={82<div style={{ marginTop: "10px" }}>83Compute servers enhance your CoCalc project84</div>85}86/>87<Pitch88col1={89<>90<Title level={2}>Versatility</Title>91<Paragraph>92Configure the remote compute servers exactly to your needs93</Paragraph>94<Paragraph>95<ul>96<li>97<Text strong>GPU's</Text>: select one or more powerful98GPUs for your selected machine, including H100's for about99$2/hour.100</li>101<li>102<Text strong>CPU</Text>: you can not only select the103number of CPU cores, but also the type of processor, with104support for both x86_64 and ARM.105</li>106<li>107<Text strong>Memory</Text>: depending on the type of108machine, select from a huge range of possible memory109configurations, exceeding 1000 GB.110</li>111<li>112<Text strong>Disk</Text>: configure the size and speed of113the provisioned disk114</li>115<li>116<Text strong>Shared Cloud Disk</Text>: mount a single117shared cloud filesystem across your compute servers118</li>119<li>120<Text strong>Hosting</Text>: choose a subdomain, in order121to host web applications, VS Code, JupyterLab, R IDE,122Pluto, and more.123</li>124</ul>125</Paragraph>126</>127}128col2={129<>130<Title level={2}>131<A href="https://github.com/sagemathinc/cocalc-howto#readme">132Use cases133</A>134</Title>135<Paragraph>136<ul>137<li>138Use the{" "}139<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/colab.md">140Google Colab Software Environment with a GPU141</A>142</li>143<li>144<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/pytorch.md">145Use the official PyTorch image with a GPU146</A>147</li>148<li>149<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/mathematica.md">150Use the Mathematica Jupyter Kernel151</A>152</li>153<li>154<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/ollama.md">155Use Ollama with a nice web UI to run Large Language156Models using GPUs157</A>158</li>159<li>160Use a large number of CPUs and RAM to run resource161intensive computations in parallel using R, SageMath, etc.162</li>163<li>164Run your own custom{" "}165<A href="https://github.com/sagemathinc/cocalc-docker/blob/master/docs/cocalc.com.md">166CoCalc server167</A>{" "}168or{" "}169<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/SageMathCell.md">170Sage Cell Server171</A>{" "}172anywhere in the world.173</li>174<li>175<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/README.md">176Many more applications...177</A>178</li>179</ul>180<Videos videos={VIDEOS} />181</Paragraph>182</>183}184/>185186<Info.Heading description={"More details about compute servers"}>187Compute Server Functionality188</Info.Heading>189190<Info191title="Seamless Integration"192icon="sync"193image={ComputeServerSelector}194anchor="a-integration"195alt="Select compute server"196wide197>198<Paragraph>199{siteName} makes switching between the local compute environment200and the remote compute server very easy.201</Paragraph>202<Paragraph>203The files in your project are synchronized with the compute204server, which eliminates any headaches provisioning storage and205transferring files back and forth.206</Paragraph>207<Paragraph>208As part of configuring the remote server, you can tune which209folders are excluded from synchronization, select additional210scratch storage space, and also configure the size of the remote211storage disk.212</Paragraph>213<Paragraph>214At the end of using the compute machine, you can either stop it to215preserve the data, or delete it to save the cost of keeping the216stored files around. You can also store data longterm in our{" "}217<A href="https://doc.cocalc.com/cloud_file_system.html">218Cloud Filesystem219</A>220.221</Paragraph>222</Info>223224<Info225title="Versatile Configuration"226icon="servers"227image={ComputeServerCreate}228anchor="a-create"229alt="Configuring compute server"230wide231>232<Paragraph>233You can create servers with over 10TB of RAM, over 400 cores, and234up to 65TB of disk space.235</Paragraph>236<Paragraph>237You can choose from a wide range of GPU's: T4, L4, L40, A100,238H100, RTX 4000, 5000, and 6000!239</Paragraph>240<Paragraph>241Many preconfigured software stacks are available, including242PyTorch, Tensorflow, Google Colab, CUDA, SageMath, Julia, and R.243</Paragraph>244<Paragraph>245You can easily compare prices in different regions across the246world, and get the best spot instance deals, or select low CO2247data centers. Compute servers have a cached networked filesystem,248so you can take advantage of much better global rates, rather than249being stuck in one region.250</Paragraph>251<Paragraph>252You can dynamically enlarge your disk at any time, even while the253server is running, and the OS will automatically enlarge the254available space.255</Paragraph>256</Info>257<SignIn />258</Layout.Content>259<Footer />260</Layout>261</Customize>262);263}264265export async function getServerSideProps(context) {266return await withCustomize({ context });267}268269270