Fix the install of tf-nightly
PiperOrigin-RevId: 340943151 Change-Id: Id61013fd817745119c9f1e2b890306a7337e9090
This commit is contained in:
parent
0c36726bf2
commit
766883d694
@ -3,7 +3,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "f4TSNCvpENrW"
|
||||
},
|
||||
"source": [
|
||||
@ -13,22 +12,8 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "H0rKBV4uZacD"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# In TF2.4 jit_compile is called experimental_compile",
|
||||
"!pip install tf-nightly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"metadata": {
|
||||
"cellView": "form",
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "vamNSA0vEP-m"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -49,7 +34,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "e1oSi4lHFt3z"
|
||||
},
|
||||
"source": [
|
||||
@ -59,7 +43,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "b7noD9NjFRL-"
|
||||
},
|
||||
"source": [
|
||||
@ -79,7 +62,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "sDy5lSBd4BDE"
|
||||
},
|
||||
"source": [
|
||||
@ -90,10 +72,20 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"id": "ukTmcHYkwx8f"
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# In TF 2.4 jit_compile is called experimental_compile\n",
|
||||
"!pip install tf-nightly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "45kUPj5ZFrRa"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -105,7 +97,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "GZVNiRmTDV-5"
|
||||
},
|
||||
"source": [
|
||||
@ -114,10 +105,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "f37TSEGvGX4_"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -146,7 +135,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "lv7I-u_82v1S"
|
||||
},
|
||||
"source": [
|
||||
@ -155,10 +143,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "7O2NcEfG206Q"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -170,7 +156,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "x_ZehpZP-SfS"
|
||||
},
|
||||
"source": [
|
||||
@ -181,10 +166,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "ZbhJl_WvGa3g"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -206,7 +189,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "EZD1m_n1DxAF"
|
||||
},
|
||||
"source": [
|
||||
@ -216,7 +198,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "gukC2Hol3sFZ"
|
||||
},
|
||||
"source": [
|
||||
@ -225,10 +206,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "qe28bAHNHUG2"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -242,7 +221,6 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {
|
||||
"colab_type": "text",
|
||||
"id": "qgsKmz3n2UiW"
|
||||
},
|
||||
"source": [
|
||||
@ -251,10 +229,8 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 0,
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"colab": {},
|
||||
"colab_type": "code",
|
||||
"id": "_GxF6jTRHVuA"
|
||||
},
|
||||
"outputs": [],
|
||||
@ -269,9 +245,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"colab": {
|
||||
"collapsed_sections": [
|
||||
"f4TSNCvpENrW"
|
||||
],
|
||||
"collapsed_sections": [],
|
||||
"name": "Use XLA with tf.function",
|
||||
"provenance": [],
|
||||
"toc_visible": true
|
||||
|
Loading…
Reference in New Issue
Block a user