<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AI Archives | Clever Cloud</title>
	<atom:link href="https://stagingv6.cleverapps.io/blog/tag/ai/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>From Code to Product</description>
	<lastBuildDate>Fri, 25 Oct 2024 07:42:52 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>AI Archives | Clever Cloud</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Spécial Devoxx Maroc 2024 &#8211; 1/2</title>
		<link>https://stagingv6.cleverapps.io/podcast/special-devoxx-maroc-2024-1-2/</link>
					<comments>https://stagingv6.cleverapps.io/podcast/special-devoxx-maroc-2024-1-2/#respond</comments>
		
		<dc:creator><![CDATA[Horacio Gonzalez]]></dc:creator>
		<pubDate>Fri, 25 Oct 2024 07:42:50 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Devoxx Maroc]]></category>
		<guid isPermaLink="false">https://stagingv6.cleverapps.io/?post_type=podcast&#038;p=14512</guid>

					<description><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" fetchpriority="high" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1368x770.jpg 1368w" sizes="(max-width: 1920px) 100vw, 1920px" /></p><!-- wp:paragraph -->
<p>Animé par Horacio Gonzalez - @LostInBrittany <br>Épisode enregistré le 2 octobre 2024 à Marrakech</p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/Q5ZAMj1RPdU" target="_blank" rel="noreferrer noopener">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Les invités</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:00:16 : Sébastien BLANC (@sebi2706) Staff Developer Advocate @ Aiven</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:11:19 : Badr El HAOURI (@badrelhouari) Chairman @ Devoxx Morocco</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:22:06 : Eléa PETTON (@EleaPetton) Machine Learning Engineer @ OVH Cloud</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:29:43 : Raphaël SEMETEYS (@RaphaelSemeteys) Architecte, DevRel, expert open source @ Wordline</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:38:40 : Yassine BENABBAS (@yostane) Teacher, and Software Development Community Advocate at Worldline @ Wordline&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:45:00 : Natalie GODEC (@ouvessvit) Senior Cloud Architect @ Zencore</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Liens vers les talks</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Coming soon...</p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2024/10/119-1368x770.jpg 1368w" sizes="(max-width: 1920px) 100vw, 1920px" /></p><!-- wp:paragraph -->
<p>Animé par Horacio Gonzalez - @LostInBrittany <br>Épisode enregistré le 2 octobre 2024 à Marrakech</p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/Q5ZAMj1RPdU" target="_blank" rel="noreferrer noopener">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Les invités</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:00:16 : Sébastien BLANC (@sebi2706) Staff Developer Advocate @ Aiven</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:11:19 : Badr El HAOURI (@badrelhouari) Chairman @ Devoxx Morocco</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:22:06 : Eléa PETTON (@EleaPetton) Machine Learning Engineer @ OVH Cloud</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:29:43 : Raphaël SEMETEYS (@RaphaelSemeteys) Architecte, DevRel, expert open source @ Wordline</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:38:40 : Yassine BENABBAS (@yostane) Teacher, and Software Development Community Advocate at Worldline @ Wordline&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:45:00 : Natalie GODEC (@ouvessvit) Senior Cloud Architect @ Zencore</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Liens vers les talks</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Coming soon...</p>
<!-- /wp:paragraph -->]]></content:encoded>
					
					<wfw:commentRss>https://stagingv6.cleverapps.io/podcast/special-devoxx-maroc-2024-1-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="http://assets.clever-cloud.com/podcast/fr/Message_a_caractere_informatique_119.mp3" length="86597772" type="audio/mpeg" />

			</item>
		<item>
		<title>Deploy llama, mistral, openchat or your own model on Clever Cloud</title>
		<link>https://stagingv6.cleverapps.io/blog/engineering/2023/11/27/deploy-llama-mistral-openchat-or-your-own-model-on-clever-cloud/</link>
		
		<dc:creator><![CDATA[David Legrand]]></dc:creator>
		<pubDate>Mon, 27 Nov 2023 09:16:24 +0000</pubDate>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[AI]]></category>
		<guid isPermaLink="false">https://stagingv6.cleverapps.io/?p=11185</guid>

					<description><![CDATA[<p><img width="900" height="355" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="bannier which illustrate how to deploy AI on Clever Cloud" decoding="async" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng.png 900w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng-300x118.png 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng-768x303.png 768w" sizes="(max-width: 900px) 100vw, 900px" /></p><!-- wp:paragraph -->
<p><strong>If AI has been in the news recently, it's mainly through large language models (LLMs), which require substantial computing power for training or inference. Thus, it's common to see developers using them via turnkey APIs, as we did in <a href="https://stagingv6.cleverapps.io/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/">a previous article</a>. But this is changing thanks to more open and efficient models and tools, which you can easily deploy on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Indeed, while our platform was designed for a variety of uses, we always paid particular attention to its flexibility and the freedom it gave our customers. This means they can easily exploit it to address new markets, with minimum effort spent on adaptation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To confirm this, we recently tried to deploy open source AI models such as those derived from LLaMA and Mistral. Their particularity is that they exist in lightweight versions, which don't necessarily require a GPU to run. As a result, they can be hosted as simple Clever Cloud applications, as long as they have been allocated enough memory.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Let's ollama (with a web UI) !</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To do it, we've chosen to use <a href="https://github.com/jmorganca/ollama" target="_blank" rel="noreferrer noopener">ollama</a>, an MIT-licensed project that lets you download models from <a href="https://ollama.ai/library" target="_blank" rel="noreferrer noopener">a registry</a>, or even <a href="https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md" target="_blank" rel="noreferrer noopener">your own</a>. It works as a server that communicates via an API, and is very easy to host on our infrastructures.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li><a href="https://api.clever-cloud.com/v2/session/signup">Create a Clever Cloud account</a>&nbsp;(and get 20 euros in credits)</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>To get started, you’ll need a Clever Cloud account. You can create the application and follow the next steps using our web interface,&nbsp;<a href="https://console.clever-cloud.com/">the Console</a>, but also through our open source CLI:&nbsp;<a href="https://github.com/CleverCloud/clever-tools" target="_blank" rel="noreferrer noopener">Clever Tools</a>. That’s what we’ll describe below.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We’ll assume that your machine is running&nbsp;<a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git" target="_blank" rel="noreferrer noopener">git</a>&nbsp;and a recent version of&nbsp;<a href="https://nodejs.org/en/learn/getting-started/how-to-install-nodejs" target="_blank" rel="noreferrer noopener">Node.js</a>. If you haven’t yet installed Clever Tools on your system, type (with system administrator rights, or&nbsp;<code>sudo</code>&nbsp;if necessary):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">npm i -g clever-tools
clever login</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once logged in, you can check that everything has gone smoothly with the following command:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">clever profile</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Next, we create a Clever Cloud application using Node.js. It will install ollama to download and run our models, adding a web interface (<a href="https://github.com/ivanfioravanti/chatbot-ollama" target="_blank" rel="noreferrer noopener">chatbot-ollama</a>, also under MIT license) that will allow us to query the server from any browser, run from a computer or a simple smartphone.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"wide","id":11237,"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image alignwide size-full"><a href="https://cdn.clever-cloud.com/uploads/2023/11/sans-titre-scaled.webp" target="_blank" rel="noreferrer noopener"><img src="https://cdn.clever-cloud.com/uploads/2023/11/sans-titre-scaled.webp" alt="Chatbot Ollama" class="wp-image-11237" title="Chatbot Ollama"/></a></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>This solution also offers local storage of chats in the browser. It therefore requires no database, but offers an import/export function. You can also choose between different models, set some of their parameters, configure system instructions, various prompts, and so on.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">mkdir myollama && cd myollama
git init
curl -L https://github.com/ivanfioravanti/chatbot-ollama/archive/refs/heads/main.tar.gz | tar -xz --strip-components=1

clever create -t node myollama && clever scale --flavor L
clever env set CC_POST_BUILD_HOOK "npx next telemetry disable && npm run build"
clever env set CC_PRE_BUILD_HOOK "./ollama_setup.sh"
clever env set CC_PRE_RUN_HOOK "./ollama_start.sh"

echo "orca-mini" > models.list
echo "mistral" >> models.list
echo "codellama" >> models.list</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The code above creates the application. We add a file containing the list of models we wish to fetch during startup. We've chosen an L instance, the minimum size for loading such models into memory. We also declare several environment variables for running scripts to install ollama, start the server and disable telemetry for the Next.js framework used to build the web interface after the dependencies have been installed.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Now add some scripts</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our application is almost ready. We still have to create two executable files:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">touch ollama_setup.sh && chmod +x ollama_setup.sh
touch ollama_start.sh && chmod +x ollama_start.sh</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><code>ollama_setup.sh</code> download the ollama binary and the models from our list. Open it with your favorite editor and insert the following content:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">#!/bin/bash

# We define the folder (in $PATH), where the ollama binary will be placed
BIN_DIR=${HOME}/.local/bin
mkdir -p ${BIN_DIR} 

ollama_start() {
    echo "Downloading and launching ollama..."
    curl -Ls https://ollama.ai/download/ollama-linux-amd64 -o ${BIN_DIR}/ollama
    chmod +x ${BIN_DIR}/ollama
    ollama serve &> /dev/null &
    echo -e "Finished: \033[32m✔\033[0m\n"
}

get_models() {
    MODELS_FILE="models.list"
    MODELS_DEFAULT="orca-mini"

    # We check if the models file exists
    if [ ! -f ${MODELS_FILE} ]; then
        echo "File ${MODELS_FILE} not found, ${MODELS_DEFAULT} used by default."
        echo ${MODELS_DEFAULT} > ${MODELS_FILE}
    fi

    # Loop through each line and pull model
    while IFS= read -r line; do
        echo "Pulling ${line} model..."
        ollama pull "${line}" > /dev/null 2>&1
        echo -e "Finished: \033[32m✔\033[0m\n"

    done < ${MODELS_FILE}
}

# We start ollama, and wait for it to respond
ollama_start
if [ $? -ne 0 ]; then
    echo -e "\nError during ollama setup."
    exit 1
fi

count=0
MAX_TIME=10

while ! pgrep -x "ollama" > /dev/null; do
    if [ ${count} -lt ${MAX_TIME} ]; then
        sleep 1
        count=$((count+1))
    else
        echo "Application 'ollama' did not launch within 10 seconds."
        exit 1
    fi
done

get_models
if [ $? -ne 0 ]; then
    echo -e "\nError during models downloading."
    exit 1
fi
</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This code may seem a little long, but that's mainly because we've made it modular, logging only successful steps and any errors.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><code>ollama_start.sh</code> detects whether the ollama server is already present before starting the web interface. If it isn't, we launch it in the background (we'll see why below).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Open it with your favorite editor and insert the following content:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">if ! pgrep -f "ollama" > /dev/null; then
    # If 'ollama' is not running, start it in the background
    ollama serve &
    echo "Application 'ollama' started."
else
    # If 'ollama' is already running
    echo "'ollama' application is already running."
fi
</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once these two files have been created, we can deploy the application:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">git add . && git commit -m "Init application"
clever deploy
clever domain</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>You'll then see the domain to access it (which you can customize).</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Cache and quick (re)start</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Using Clever Cloud not only means deploying such an application easily, with logs and monitoring, and being able to instantly change its horizontal and/or vertical scaling. It also means being able to turn it into an image ready for a fast redeployment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In fact, every application we host is stored as an archive just before dependencies are installed. This means it can be stopped and restarted in this form, so we don't have to re-download the models every time. To do this, simply specify the folders to be added to the archive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">clever env set CC_OVERRIDE_BUILDCACHE "/:../.ollama/:../.local/bin/"
clever restart --without-cache --follow</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The application will restart, but this time it will take the built web interface, ollama and models from its cache, as the <code>CC_PRE_BUILD_HOOK</code> and <code>CC_PRE_BUILD_HOOK</code> steps are not executed. This is one of the reasons why we need to make sure that we start the ollama server with <code>CC_PRE_RUN_HOOK</code>, but check that this hasn't already been done in a deployment where it is used to download models before running them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once this step is complete, you can stop the application and restart it whenever you like - it'll be much faster from now on. And you'll only be charged for the time you use it, by the second. If you wish to modify the list of models to use, do so in the dedicated file. A git push will be enough to rebuild the new cache.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash"># Stop/Restart the application
clever stop
clever restart

# After a modification in models.list, git push to recreate the cache
git add models.list && git commit -m "New models" 
clever deploy</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>You'll find the files you need for this project in this <a href="https://github.com/CleverCloud/ollama-chat-deploy" target="_blank" rel="noreferrer noopener">GitHub repository</a>, with the environment variables ready to import (<code>clever env import &lt; .env</code>). </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if you want to push things further, deploy other models and tools for your applications that require more power and/or GPUs, <a href="https://stagingv6.cleverapps.io/fr/contact/">let us know!</a></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="900" height="355" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="bannier which illustrate how to deploy AI on Clever Cloud" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng.png 900w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng-300x118.png 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/deployiaonccpng-768x303.png 768w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p><!-- wp:paragraph -->
<p><strong>If AI has been in the news recently, it's mainly through large language models (LLMs), which require substantial computing power for training or inference. Thus, it's common to see developers using them via turnkey APIs, as we did in <a href="https://stagingv6.cleverapps.io/blog/features/2023/10/11/deploy-a-custom-chatgpt-based-on-php/">a previous article</a>. But this is changing thanks to more open and efficient models and tools, which you can easily deploy on Clever Cloud.</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Indeed, while our platform was designed for a variety of uses, we always paid particular attention to its flexibility and the freedom it gave our customers. This means they can easily exploit it to address new markets, with minimum effort spent on adaptation.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To confirm this, we recently tried to deploy open source AI models such as those derived from LLaMA and Mistral. Their particularity is that they exist in lightweight versions, which don't necessarily require a GPU to run. As a result, they can be hosted as simple Clever Cloud applications, as long as they have been allocated enough memory.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Let's ollama (with a web UI) !</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To do it, we've chosen to use <a href="https://github.com/jmorganca/ollama" target="_blank" rel="noreferrer noopener">ollama</a>, an MIT-licensed project that lets you download models from <a href="https://ollama.ai/library" target="_blank" rel="noreferrer noopener">a registry</a>, or even <a href="https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md" target="_blank" rel="noreferrer noopener">your own</a>. It works as a server that communicates via an API, and is very easy to host on our infrastructures.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li><a href="https://api.clever-cloud.com/v2/session/signup">Create a Clever Cloud account</a>&nbsp;(and get 20 euros in credits)</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>To get started, you’ll need a Clever Cloud account. You can create the application and follow the next steps using our web interface,&nbsp;<a href="https://console.clever-cloud.com/">the Console</a>, but also through our open source CLI:&nbsp;<a href="https://github.com/CleverCloud/clever-tools" target="_blank" rel="noreferrer noopener">Clever Tools</a>. That’s what we’ll describe below.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>We’ll assume that your machine is running&nbsp;<a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git" target="_blank" rel="noreferrer noopener">git</a>&nbsp;and a recent version of&nbsp;<a href="https://nodejs.org/en/learn/getting-started/how-to-install-nodejs" target="_blank" rel="noreferrer noopener">Node.js</a>. If you haven’t yet installed Clever Tools on your system, type (with system administrator rights, or&nbsp;<code>sudo</code>&nbsp;if necessary):</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">npm i -g clever-tools
clever login</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once logged in, you can check that everything has gone smoothly with the following command:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">clever profile</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Next, we create a Clever Cloud application using Node.js. It will install ollama to download and run our models, adding a web interface (<a href="https://github.com/ivanfioravanti/chatbot-ollama" target="_blank" rel="noreferrer noopener">chatbot-ollama</a>, also under MIT license) that will allow us to query the server from any browser, run from a computer or a simple smartphone.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"wide","id":11237,"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image alignwide size-full"><a href="https://cdn.clever-cloud.com/uploads/2023/11/sans-titre-scaled.webp" target="_blank" rel="noreferrer noopener"><img src="https://cdn.clever-cloud.com/uploads/2023/11/sans-titre-scaled.webp" alt="Chatbot Ollama" class="wp-image-11237" title="Chatbot Ollama"/></a></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>This solution also offers local storage of chats in the browser. It therefore requires no database, but offers an import/export function. You can also choose between different models, set some of their parameters, configure system instructions, various prompts, and so on.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">mkdir myollama && cd myollama
git init
curl -L https://github.com/ivanfioravanti/chatbot-ollama/archive/refs/heads/main.tar.gz | tar -xz --strip-components=1

clever create -t node myollama && clever scale --flavor L
clever env set CC_POST_BUILD_HOOK "npx next telemetry disable && npm run build"
clever env set CC_PRE_BUILD_HOOK "./ollama_setup.sh"
clever env set CC_PRE_RUN_HOOK "./ollama_start.sh"

echo "orca-mini" > models.list
echo "mistral" >> models.list
echo "codellama" >> models.list</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The code above creates the application. We add a file containing the list of models we wish to fetch during startup. We've chosen an L instance, the minimum size for loading such models into memory. We also declare several environment variables for running scripts to install ollama, start the server and disable telemetry for the Next.js framework used to build the web interface after the dependencies have been installed.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Now add some scripts</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Our application is almost ready. We still have to create two executable files:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">touch ollama_setup.sh && chmod +x ollama_setup.sh
touch ollama_start.sh && chmod +x ollama_start.sh</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p><code>ollama_setup.sh</code> download the ollama binary and the models from our list. Open it with your favorite editor and insert the following content:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">#!/bin/bash

# We define the folder (in $PATH), where the ollama binary will be placed
BIN_DIR=${HOME}/.local/bin
mkdir -p ${BIN_DIR} 

ollama_start() {
    echo "Downloading and launching ollama..."
    curl -Ls https://ollama.ai/download/ollama-linux-amd64 -o ${BIN_DIR}/ollama
    chmod +x ${BIN_DIR}/ollama
    ollama serve &> /dev/null &
    echo -e "Finished: \033[32m✔\033[0m\n"
}

get_models() {
    MODELS_FILE="models.list"
    MODELS_DEFAULT="orca-mini"

    # We check if the models file exists
    if [ ! -f ${MODELS_FILE} ]; then
        echo "File ${MODELS_FILE} not found, ${MODELS_DEFAULT} used by default."
        echo ${MODELS_DEFAULT} > ${MODELS_FILE}
    fi

    # Loop through each line and pull model
    while IFS= read -r line; do
        echo "Pulling ${line} model..."
        ollama pull "${line}" > /dev/null 2>&1
        echo -e "Finished: \033[32m✔\033[0m\n"

    done < ${MODELS_FILE}
}

# We start ollama, and wait for it to respond
ollama_start
if [ $? -ne 0 ]; then
    echo -e "\nError during ollama setup."
    exit 1
fi

count=0
MAX_TIME=10

while ! pgrep -x "ollama" > /dev/null; do
    if [ ${count} -lt ${MAX_TIME} ]; then
        sleep 1
        count=$((count+1))
    else
        echo "Application 'ollama' did not launch within 10 seconds."
        exit 1
    fi
done

get_models
if [ $? -ne 0 ]; then
    echo -e "\nError during models downloading."
    exit 1
fi
</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>This code may seem a little long, but that's mainly because we've made it modular, logging only successful steps and any errors.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><code>ollama_start.sh</code> detects whether the ollama server is already present before starting the web interface. If it isn't, we launch it in the background (we'll see why below).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Open it with your favorite editor and insert the following content:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">if ! pgrep -f "ollama" > /dev/null; then
    # If 'ollama' is not running, start it in the background
    ollama serve &
    echo "Application 'ollama' started."
else
    # If 'ollama' is already running
    echo "'ollama' application is already running."
fi
</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>Once these two files have been created, we can deploy the application:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">git add . && git commit -m "Init application"
clever deploy
clever domain</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>You'll then see the domain to access it (which you can customize).</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Cache and quick (re)start</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Using Clever Cloud not only means deploying such an application easily, with logs and monitoring, and being able to instantly change its horizontal and/or vertical scaling. It also means being able to turn it into an image ready for a fast redeployment.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In fact, every application we host is stored as an archive just before dependencies are installed. This means it can be stopped and restarted in this form, so we don't have to re-download the models every time. To do this, simply specify the folders to be added to the archive:</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash">clever env set CC_OVERRIDE_BUILDCACHE "/:../.ollama/:../.local/bin/"
clever restart --without-cache --follow</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>The application will restart, but this time it will take the built web interface, ollama and models from its cache, as the <code>CC_PRE_BUILD_HOOK</code> and <code>CC_PRE_BUILD_HOOK</code> steps are not executed. This is one of the reasons why we need to make sure that we start the ollama server with <code>CC_PRE_RUN_HOOK</code>, but check that this hasn't already been done in a deployment where it is used to download models before running them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once this step is complete, you can stop the application and restart it whenever you like - it'll be much faster from now on. And you'll only be charged for the time you use it, by the second. If you wish to modify the list of models to use, do so in the dedicated file. A git push will be enough to rebuild the new cache.</p>
<!-- /wp:paragraph -->

<!-- wp:html -->
<pre class="wp-block-code"><code class="language-bash"># Stop/Restart the application
clever stop
clever restart

# After a modification in models.list, git push to recreate the cache
git add models.list && git commit -m "New models" 
clever deploy</code></pre>
<!-- /wp:html -->

<!-- wp:paragraph -->
<p>You'll find the files you need for this project in this <a href="https://github.com/CleverCloud/ollama-chat-deploy" target="_blank" rel="noreferrer noopener">GitHub repository</a>, with the environment variables ready to import (<code>clever env import &lt; .env</code>). </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And if you want to push things further, deploy other models and tools for your applications that require more power and/or GPUs, <a href="https://stagingv6.cleverapps.io/fr/contact/">let us know!</a></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Les IA s&#8217;entraînent offshore pour générer des malwares à destination des sangliers</title>
		<link>https://stagingv6.cleverapps.io/podcast/les-ia-sentrainent-offshore-pour-generer-des-malwares-a-destination-des-sangliers/</link>
					<comments>https://stagingv6.cleverapps.io/podcast/les-ia-sentrainent-offshore-pour-generer-des-malwares-a-destination-des-sangliers/#respond</comments>
		
		<dc:creator><![CDATA[Jean-Baptiste Kaiser]]></dc:creator>
		<pubDate>Fri, 10 Nov 2023 15:01:50 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[generative ai]]></category>
		<category><![CDATA[IA]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[react]]></category>
		<category><![CDATA[WebGPU]]></category>
		<guid isPermaLink="false">https://stagingv6.cleverapps.io/?post_type=podcast&#038;p=11126</guid>

					<description><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Bannière MACI 95" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1368x770.jpg 1368w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/97YFVapFnKw">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p>Animé par Jean-Baptiste KAISER  - @ArendSyl<br>avec la participation de : <br>- Guillaume ASSIER : @GuillaumeAssier<br>- Eloi DEMOLIS :  @Wonshtrum<br>- Sylvain WALLEZ : @bluxte </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Épisode enregistré le 7 novembre 2023 </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://stagingv6.cleverapps.io/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Chapitrage et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:01:24 Executive Order sur l’IA <a href="https://bsky.app/profile/dashishka.bsky.social/post/3kd25ppdlek2l">https://bsky.app/profile/dashishka.bsky.social/post/3kd25ppdlek2l</a><br><a href="https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/">https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:07:03 Platforme d’entrainement d’IA en pleine mer <a href="https://www.numerama.com/tech/1547042-pour-echapper-aux-regulations-sur-lia-une-entreprise-veut-creer-un-etat-en-pleine-mer.html">https://www.numerama.com/tech/1547042-pour-echapper-aux-regulations-sur-lia-une-entreprise-veut-creer-un-etat-en-pleine-mer.html</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:12:01 Adoption de WebGPU (and “Rust is the defacto standard for graphics in Rust”) <a href="https://www.youtube.com/watch?v=CklvTsKogTg">https://www.youtube.com/watch?v=CklvTsKogTg</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:22:15 Alternant chez Orange le jour, dev de malwares la nuit<br><a href="https://www.zdnet.fr/actualites/alternant-chez-orange-cyberdefense-le-jour-developpeur-de-programmes-malveillants-la-nuit-39962084.htm">https://www.zdnet.fr/actualites/alternant-chez-orange-cyberdefense-le-jour-developpeur-de-programmes-malveillants-la-nuit-39962084.htm</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:28:43 React serveur<br><a href="https://twitter.com/manekinekko/status/1717957681359495449">https://twitter.com/manekinekko/status/1717957681359495449</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:36:27 ChatGPT Builder<br><a href="https://openai.com/blog/introducing-gpts
">https://openai.com/blog/introducing-gpts<br></a><a href="https://twitter.com/heyBarsee/status/1721792544814588141">https://twitter.com/heyBarsee/status/1721792544814588141</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:46:50 Text to 3D generative AI<br><a href="https://research.nvidia.com/labs/dir/magic3d/">https://research.nvidia.com/labs/dir/magic3d/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:51:28 #sanglicam<br><a href="https://twitter.com/hashtag/sanglicam?f=live">https://twitter.com/hashtag/sanglicam?f=live</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:56:42 Musique de fin<br>Eloi (6-10) : OOGIE BOOGIE'S SONG | The Nightmare Before Christmas | VoicePlay A Cappella Cover  : <a href="https://www.youtube.com/watch?v=EbxkOntz2SA">https://www.youtube.com/watch?v=EbxkOntz2SA</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Bannière MACI 95" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/11/95-1368x770.jpg 1368w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/97YFVapFnKw">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p>Animé par Jean-Baptiste KAISER  - @ArendSyl<br>avec la participation de : <br>- Guillaume ASSIER : @GuillaumeAssier<br>- Eloi DEMOLIS :  @Wonshtrum<br>- Sylvain WALLEZ : @bluxte </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Épisode enregistré le 7 novembre 2023 </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://stagingv6.cleverapps.io/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Chapitrage et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:01:24 Executive Order sur l’IA <a href="https://bsky.app/profile/dashishka.bsky.social/post/3kd25ppdlek2l">https://bsky.app/profile/dashishka.bsky.social/post/3kd25ppdlek2l</a><br><a href="https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/">https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:07:03 Platforme d’entrainement d’IA en pleine mer <a href="https://www.numerama.com/tech/1547042-pour-echapper-aux-regulations-sur-lia-une-entreprise-veut-creer-un-etat-en-pleine-mer.html">https://www.numerama.com/tech/1547042-pour-echapper-aux-regulations-sur-lia-une-entreprise-veut-creer-un-etat-en-pleine-mer.html</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:12:01 Adoption de WebGPU (and “Rust is the defacto standard for graphics in Rust”) <a href="https://www.youtube.com/watch?v=CklvTsKogTg">https://www.youtube.com/watch?v=CklvTsKogTg</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:22:15 Alternant chez Orange le jour, dev de malwares la nuit<br><a href="https://www.zdnet.fr/actualites/alternant-chez-orange-cyberdefense-le-jour-developpeur-de-programmes-malveillants-la-nuit-39962084.htm">https://www.zdnet.fr/actualites/alternant-chez-orange-cyberdefense-le-jour-developpeur-de-programmes-malveillants-la-nuit-39962084.htm</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:28:43 React serveur<br><a href="https://twitter.com/manekinekko/status/1717957681359495449">https://twitter.com/manekinekko/status/1717957681359495449</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:36:27 ChatGPT Builder<br><a href="https://openai.com/blog/introducing-gpts
">https://openai.com/blog/introducing-gpts<br></a><a href="https://twitter.com/heyBarsee/status/1721792544814588141">https://twitter.com/heyBarsee/status/1721792544814588141</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:46:50 Text to 3D generative AI<br><a href="https://research.nvidia.com/labs/dir/magic3d/">https://research.nvidia.com/labs/dir/magic3d/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:51:28 #sanglicam<br><a href="https://twitter.com/hashtag/sanglicam?f=live">https://twitter.com/hashtag/sanglicam?f=live</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:56:42 Musique de fin<br>Eloi (6-10) : OOGIE BOOGIE'S SONG | The Nightmare Before Christmas | VoicePlay A Cappella Cover  : <a href="https://www.youtube.com/watch?v=EbxkOntz2SA">https://www.youtube.com/watch?v=EbxkOntz2SA</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
					<wfw:commentRss>https://stagingv6.cleverapps.io/podcast/les-ia-sentrainent-offshore-pour-generer-des-malwares-a-destination-des-sangliers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="http://assets.clever-cloud.com/podcast/fr/Message_a_caractere_informatique_95.mp3" length="84329636" type="audio/mpeg" />

			</item>
		<item>
		<title>Depuis Anvers, le mistral emporte l&#8217;IA dans une java binaire</title>
		<link>https://stagingv6.cleverapps.io/podcast/depuis-anvers-le-mistral-emporte-lia-dans-une-java-binaire/</link>
					<comments>https://stagingv6.cleverapps.io/podcast/depuis-anvers-le-mistral-emporte-lia-dans-une-java-binaire/#respond</comments>
		
		<dc:creator><![CDATA[Quentin Adam]]></dc:creator>
		<pubDate>Fri, 06 Oct 2023 13:38:36 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Devoxx]]></category>
		<category><![CDATA[Mistral 7B]]></category>
		<guid isPermaLink="false">https://stagingv6.cleverapps.io/?post_type=podcast&#038;p=10505</guid>

					<description><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="bannière de l&#039;épisode 91" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1368x770.jpg 1368w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/8V8035UBT30">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p><br>Animé par Quentin ADAM </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>avec la participation de :</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>Sun Tan - @<em>_sunix</em></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Horacio Gonzalez - @lostinbritany</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Sebastien Blanc - @sebi2706</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://stagingv6.cleverapps.io/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Timecode et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:00:16 - Présentation des participants<br>00:03:38 - Devoxx Belgique<br>00:13:01 - IA everywhere, Java et le binaire<br>00:39:12 - Broadcom et vmware<br>00:43:45 - MISTRAL 7B premier modèle ouvert d'AI<br><a href="https://www.usine-digitale.fr/article/la-start-up-francaise-mistral-ai-devoile-mistral-7b-son-grand-modele-de-langage-open-source.N2176022">https://www.usine-digitale.fr/article/la-start-up-francaise-mistral-ai-devoile-mistral-7b-son-grand-modele-de-langage-open-source.N2176022</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>OVHcloud s’équipe en GPU nouvelle génération : <a href="https://www.lemagit.fr/actualites/366553735/VDI-rasterisation-IA-OVHcloud-sequipe-en-GPU-nouvelle-generation">https://www.lemagit.fr/actualites/366553735/VDI-rasterisation-IA-OVHcloud-sequipe-en-GPU-nouvelle-generation</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:51:15 - L’iA et le numérique comme tremplin politique :<br><a href=" https://www.wired.com/story/what-openai-really-wants/"> https://www.wired.com/story/what-openai-really-wants/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>01:10:59 - Musique de fin : Music Thylacine - Vivaldi (and 74 musicians) (Official Video) <a href="https://www.youtube.com/watch?v=3zyVu8xn60I">https://www.youtube.com/watch?v=3zyVu8xn60I</a></p>
<!-- /wp:paragraph -->]]></description>
										<content:encoded><![CDATA[<p><img width="1920" height="1080" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="bannière de l&#039;épisode 91" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91.jpg 1920w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-300x169.jpg 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1024x576.jpg 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-768x432.jpg 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1536x864.jpg 1536w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2023/10/91-1368x770.jpg 1368w" sizes="auto, (max-width: 1920px) 100vw, 1920px" /></p><!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://youtu.be/8V8035UBT30">Voir sur Youtube</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph -->
<p><br>Animé par Quentin ADAM </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>avec la participation de :</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>Sun Tan - @<em>_sunix</em></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Horacio Gonzalez - @lostinbritany</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Sebastien Blanc - @sebi2706</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>👋  Venez discuter avec nous sur <a href="https://twitter.com/clever_cloudFR" target="_blank" rel="noreferrer noopener">@clever_cloudFR</a> pour nous dire ce que vous avez pensé de ce nouvel épisode.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>➡️  Pour découvrir ou réécouter d’anciens épisodes&nbsp;<a href="https://stagingv6.cleverapps.io/fr/podcast/">c’est par ici</a>&nbsp;!</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 class="wp-block-heading">Timecode et liens</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>00:00:16 - Présentation des participants<br>00:03:38 - Devoxx Belgique<br>00:13:01 - IA everywhere, Java et le binaire<br>00:39:12 - Broadcom et vmware<br>00:43:45 - MISTRAL 7B premier modèle ouvert d'AI<br><a href="https://www.usine-digitale.fr/article/la-start-up-francaise-mistral-ai-devoile-mistral-7b-son-grand-modele-de-langage-open-source.N2176022">https://www.usine-digitale.fr/article/la-start-up-francaise-mistral-ai-devoile-mistral-7b-son-grand-modele-de-langage-open-source.N2176022</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>OVHcloud s’équipe en GPU nouvelle génération : <a href="https://www.lemagit.fr/actualites/366553735/VDI-rasterisation-IA-OVHcloud-sequipe-en-GPU-nouvelle-generation">https://www.lemagit.fr/actualites/366553735/VDI-rasterisation-IA-OVHcloud-sequipe-en-GPU-nouvelle-generation</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>00:51:15 - L’iA et le numérique comme tremplin politique :<br><a href=" https://www.wired.com/story/what-openai-really-wants/"> https://www.wired.com/story/what-openai-really-wants/</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>01:10:59 - Musique de fin : Music Thylacine - Vivaldi (and 74 musicians) (Official Video) <a href="https://www.youtube.com/watch?v=3zyVu8xn60I">https://www.youtube.com/watch?v=3zyVu8xn60I</a></p>
<!-- /wp:paragraph -->]]></content:encoded>
					
					<wfw:commentRss>https://stagingv6.cleverapps.io/podcast/depuis-anvers-le-mistral-emporte-lia-dans-une-java-binaire/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="http://assets.clever-cloud.com/podcast/fr/Message_a_caractere_informatique_91.mp3" length="104275250" type="audio/mpeg" />

			</item>
		<item>
		<title>Clever Grid: Using GPUs has never been so simple</title>
		<link>https://stagingv6.cleverapps.io/blog/features/2019/07/08/gpu-machine-learning-with-clevergrid/</link>
		
		<dc:creator><![CDATA[Laurent Doguin]]></dc:creator>
		<pubDate>Mon, 08 Jul 2019 15:35:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[cuda]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[ML]]></category>
		<category><![CDATA[runtime]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2019/07/08/gpu-machine-learning-with-clevergrid/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1.png 1400w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-300x116.png 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-1024x395.png 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-768x296.png 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-1368x528.png 1368w" sizes="auto, (max-width: 1400px) 100vw, 1400px" /></p><p>Today the Clever Cloud team is happy to release <a href="https://www.clevergrid.io">Clever Grid</a>, our new GPUs as a Service offering. Because we think life should be as easy for data scientists as it is for developers when it comes to running code.</p>
<span id="more-2959"></span>

<p><strong>TL;DR</strong></p>
<ul>
<li>No hidden cost starting from 0.42 euros an hour</li>
<li>Billed by the minute</li>
<li>Datacenter located in Europe to comply with GDPR</li>
<li>up to 4 GeForce GTX1070 on the same machine</li>
<li>Fully automated setup with CUDA, Tensorflow, Keras and more</li>
</ul>
<p>That&#39;s right, the level of automation given to developers using Clever Cloud is now available for Data Scientist too! <strong>No more tedious CUDA driver setup, no more dependency hell, you can focus on what matters</strong>: your code. And it&#39;s just a git push away. Try it now on <a href="https://dashboard.clevergrid.io">dashboard.clevergrid.io</a>! Note that Clever Grid login is compatible with your Clever Cloud account, but we&#39;ll detail this below.</p>
<blockquote>
<p>0.42 euros an hour […] with 8 CPU, 1 GPU (Nvidia GeForce GTX1070), 6GB of Ram and 250GB of storage space</p>
</blockquote>
<p>But by now you should be wondering, how much is it going to cost me? It starts at 10 euros a day, billed by the minute. That&#39;s 0.42 euros per hour. And what do you get for this low starting price? You get a VM with 8 CPU, 1 GPU (GeForce GTX1070), 6GB of Ram and 250GB of storage space. And our Datacenters are located in Europe so you can comply with GDPR!</p>
<p>Here&#39;s our complete pricing list, please keep in mind that this is the only thing you will pay. There are no hidden costs, no additional bandwith fees and the like.</p>
<img alt="Clever Grid price list" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-grid-pricelist.png"/>

<p>You will be able to choose the size of the VM you want when creating the application. But first you need to give it a name, a description and choose its type. We have six different ways of running your code. You can use Python, Java or Docker as runner or webapp. Basically a runner starts, executes your scripts and stops. It&#39;s great to train your models. A webapp is the more traditional way of deploying applications on Clever Cloud. It&#39;s as its name indicates a web application.</p>
<p>As usual with Clever Cloud you can start your application by pushing your code to a git remote branch we provide upon application creation. Or you can start from one of our template and start editing the code from the dashboard. We currently provide a template to automatically run a Jupyter notebook or to train a style transfer model.</p>
<video width="100%" autoplay loop>
  <source src="//assets.clever-cloud.com/website/blog/quickdemo-clevergrid-30s.mp4" type="video/mp4" />
  <source src="//assets.clever-cloud.com/website/blog/quickdemo-clevergrid-30s.webm" type="video/ogg" />
</video>

<p>And if you are already a Clever Cloud user, know that everything is available from the Clever Cloud console as well. Clever Grid is basically a new Web Console written from scratch using Vue.js and our public API, allowing you to deploy only in Zones where GPUs are available. Keep in mind that VM disks are stateless, if your need to keep your data, use persistent storage like Clever Cloud Cellar, a S3-like storage service (free up to 100MB).</p>
<p>We hope you will enjoy using Clever Grid to innovate faster with Machine Learning and Artificial Intelligence. And always remember that ethics is super important in science!</p>
<p><strong>PS:</strong> You can find our ready-to-go demos <a href="https://github.com/CleverCloud?utf8=%E2%9C%93&amp;q=clevergrid">here on Github</a>. Check the <a href="https://stagingv6.cleverapps.io/doc/clever-cloud-overview/clevergrid-machine-learning/">documentation of Clever Grid</a> for installation instructions.</p>
]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" srcset="https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1.png 1400w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-300x116.png 300w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-1024x395.png 1024w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-768x296.png 768w, https://staging-cc-assetsv6.cellar-c2.services.clever-cloud.com/uploads/2021/08/clevercloud-clevergrid-1-1368x528.png 1368w" sizes="auto, (max-width: 1400px) 100vw, 1400px" /></p><p>Today the Clever Cloud team is happy to release <a href="https://www.clevergrid.io">Clever Grid</a>, our new GPUs as a Service offering. Because we think life should be as easy for data scientists as it is for developers when it comes to running code.</p>
<span id="more-2959"></span>

<p><strong>TL;DR</strong></p>
<ul>
<li>No hidden cost starting from 0.42 euros an hour</li>
<li>Billed by the minute</li>
<li>Datacenter located in Europe to comply with GDPR</li>
<li>up to 4 GeForce GTX1070 on the same machine</li>
<li>Fully automated setup with CUDA, Tensorflow, Keras and more</li>
</ul>
<p>That&#39;s right, the level of automation given to developers using Clever Cloud is now available for Data Scientist too! <strong>No more tedious CUDA driver setup, no more dependency hell, you can focus on what matters</strong>: your code. And it&#39;s just a git push away. Try it now on <a href="https://dashboard.clevergrid.io">dashboard.clevergrid.io</a>! Note that Clever Grid login is compatible with your Clever Cloud account, but we&#39;ll detail this below.</p>
<blockquote>
<p>0.42 euros an hour […] with 8 CPU, 1 GPU (Nvidia GeForce GTX1070), 6GB of Ram and 250GB of storage space</p>
</blockquote>
<p>But by now you should be wondering, how much is it going to cost me? It starts at 10 euros a day, billed by the minute. That&#39;s 0.42 euros per hour. And what do you get for this low starting price? You get a VM with 8 CPU, 1 GPU (GeForce GTX1070), 6GB of Ram and 250GB of storage space. And our Datacenters are located in Europe so you can comply with GDPR!</p>
<p>Here&#39;s our complete pricing list, please keep in mind that this is the only thing you will pay. There are no hidden costs, no additional bandwith fees and the like.</p>
<img alt="Clever Grid price list" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-grid-pricelist.png"/>

<p>You will be able to choose the size of the VM you want when creating the application. But first you need to give it a name, a description and choose its type. We have six different ways of running your code. You can use Python, Java or Docker as runner or webapp. Basically a runner starts, executes your scripts and stops. It&#39;s great to train your models. A webapp is the more traditional way of deploying applications on Clever Cloud. It&#39;s as its name indicates a web application.</p>
<p>As usual with Clever Cloud you can start your application by pushing your code to a git remote branch we provide upon application creation. Or you can start from one of our template and start editing the code from the dashboard. We currently provide a template to automatically run a Jupyter notebook or to train a style transfer model.</p>
<video width="100%" autoplay loop>
  <source src="//assets.clever-cloud.com/website/blog/quickdemo-clevergrid-30s.mp4" type="video/mp4" />
  <source src="//assets.clever-cloud.com/website/blog/quickdemo-clevergrid-30s.webm" type="video/ogg" />
</video>

<p>And if you are already a Clever Cloud user, know that everything is available from the Clever Cloud console as well. Clever Grid is basically a new Web Console written from scratch using Vue.js and our public API, allowing you to deploy only in Zones where GPUs are available. Keep in mind that VM disks are stateless, if your need to keep your data, use persistent storage like Clever Cloud Cellar, a S3-like storage service (free up to 100MB).</p>
<p>We hope you will enjoy using Clever Grid to innovate faster with Machine Learning and Artificial Intelligence. And always remember that ethics is super important in science!</p>
<p><strong>PS:</strong> You can find our ready-to-go demos <a href="https://github.com/CleverCloud?utf8=%E2%9C%93&amp;q=clevergrid">here on Github</a>. Check the <a href="https://stagingv6.cleverapps.io/doc/clever-cloud-overview/clevergrid-machine-learning/">documentation of Clever Grid</a> for installation instructions.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
